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 01871a3 commit b661d9eCopy full SHA for b661d9e
packages/kit/test/apps/options-2/src/routes/+page.svelte
@@ -7,4 +7,4 @@
7
<p data-testid="base">base: {base}</p>
8
<p data-testid="assets">assets: {assets}</p>
9
10
-<a href="{base}/hello">Go to /hello</a>
+<a href="{base}/hello" data-testid="link">Go to /hello</a>
packages/kit/test/apps/options-2/test/test.js
@@ -49,7 +49,7 @@ test.describe('paths', () => {
49
}) => {
50
await page.goto('/basepath');
51
expect(new URL(page.url()).pathname).toBe('/basepath/');
52
- await clicknav('[href="/basepath/hello"]');
+ await clicknav('[data-testid="link"]');
53
expect(new URL(page.url()).pathname).toBe('/basepath/hello');
54
});
55
0 commit comments