From fedb40603459d173135c3cc165a3e86f0e1abb66 Mon Sep 17 00:00:00 2001 From: Serghei Iakovlev Date: Sat, 28 Sep 2024 10:11:02 +0200 Subject: Use more natural path to feeds --- tests/feed-atom.spec.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'tests/feed-atom.spec.js') diff --git a/tests/feed-atom.spec.js b/tests/feed-atom.spec.js index 4e62c2f..7a26a60 100644 --- a/tests/feed-atom.spec.js +++ b/tests/feed-atom.spec.js @@ -6,7 +6,7 @@ const jsdom = require('jsdom'); const { JSDOM } = jsdom; test('atom feed has correct updated field', async ({ page }) => { - await page.goto('/feeds/feed.atom.xml'); + await page.goto('/atom.xml'); // Get the content of the page const content = await page.content(); @@ -32,7 +32,7 @@ test('atom feed has correct updated field', async ({ page }) => { }); test('atom feed has correct author information', async ({ page }) => { - await page.goto('/feeds/feed.atom.xml'); + await page.goto('/atom.xml'); // Get the content of the page const content = await page.content(); @@ -71,7 +71,7 @@ test('atom feed has correct author information', async ({ page }) => { }); test('atom feed entries have correct published and updated fields', async ({ page }) => { - await page.goto('/feeds/feed.atom.xml'); + await page.goto('/atom.xml'); // Get the content of the page const content = await page.content(); -- cgit v1.2.3