diff --git a/tests/series-tags.spec.ts b/tests/series-tags.spec.ts new file mode 100644 index 0000000..b2dc6eb --- /dev/null +++ b/tests/series-tags.spec.ts @@ -0,0 +1,9 @@ +import { expect, test } from '@playwright/test'; + +test('Navigate in series', async ({ page }) => { + await page.goto('/post'); + await page.getByText('Placeholder 2').click(); + await expect(page).toHaveURL("/post/placeholder2/"); + await page.getByText('Placeholder 1').click(); + await expect(page).toHaveURL("/post/placeholder1/"); +});