We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d75268c commit 471e75eCopy full SHA for 471e75e
packages/kit/test/apps/basics/test/client.test.js
@@ -1512,7 +1512,7 @@ test.describe('Shallow routing', () => {
1512
await expect(page.locator('[data-testid=count]')).toHaveText('count: 0'); // Ensure count is not bumped
1513
1514
await page.goBack();
1515
- await expect(page.locator('p')).toHaveText('foo: nope');
+ await expect(page.locator('[data-testid=foo]')).toHaveText('foo: nope');
1516
await expect(page.locator('[data-testid=count]')).toHaveText('count: nope');
1517
});
1518
0 commit comments