summaryrefslogtreecommitdiffstats
path: root/tests/feed-rss.spec.js
diff options
context:
space:
mode:
Diffstat (limited to 'tests/feed-rss.spec.js')
-rw-r--r--tests/feed-rss.spec.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/feed-rss.spec.js b/tests/feed-rss.spec.js
index 2927140..0fec35c 100644
--- a/tests/feed-rss.spec.js
+++ b/tests/feed-rss.spec.js
@@ -44,7 +44,7 @@ test('rss feed has correct author information', async ({ page }) => {
const { window } = dom;
// Get the dc:creator element
- const creatorElement = window.document.querySelector('rss > dc\\:creator');
+ const creatorElement = window.document.getElementsByTagName('dc:creator')[0];
// Check if the dc:creator element exists
expect(creatorElement).not.toBeNull();