test: Series navigation test
This commit is contained in:
parent
56e6efc795
commit
7d9fe36140
|
@ -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/");
|
||||
});
|
Loading…
Reference in New Issue