Skip to content

Commit d55c91e

Browse files
committed
Update packages/kit/test/apps/basics/test/client.test.js
1 parent 445a0bc commit d55c91e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/kit/test/apps/basics/test/client.test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1512,7 +1512,7 @@ test.describe('Shallow routing', () => {
15121512
await expect(page.locator('[data-testid=count]')).toHaveText('count: 0'); // Ensure count is not bumped
15131513

15141514
await page.goBack();
1515-
await expect(page.locator('p')).toHaveText('foo: nope');
1515+
await expect(page.locator('[data-testid=foo]')).toHaveText('foo: nope');
15161516
await expect(page.locator('[data-testid=count]')).toHaveText('count: nope');
15171517
});
15181518
});

0 commit comments

Comments
 (0)