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 c64c0da commit 656ff32Copy full SHA for 656ff32
packages/kit/test/apps/basics/test/client.test.js
@@ -1636,7 +1636,7 @@ test.describe('Shallow routing', () => {
1636
await expect(page.locator('[data-testid=count]')).toHaveText('count: 0'); // Ensure count is not bumped
1637
1638
await page.goBack();
1639
- await expect(page.locator('p')).toHaveText('foo: nope');
+ await expect(page.locator('[data-testid=foo]')).toHaveText('foo: nope');
1640
await expect(page.locator('[data-testid=count]')).toHaveText('count: nope');
1641
});
1642
0 commit comments