File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ test.describe('Create Command', () => {
1212 await expect ( createCommandSection . locator ( 'code' ) ) . toContainText ( / c r e a t e v i t e / i)
1313
1414 // Link to create-vite should be present (uses sr-only text, so check attachment not visibility)
15- await expect ( page . locator ( 'a[href="/create-vite"]' ) ) . toBeAttached ( )
15+ await expect ( page . locator ( 'a[href="/create-vite"]' ) . first ( ) ) . toBeAttached ( )
1616 } )
1717
1818 test ( '/next - should show create command (shared maintainer, same repo)' , async ( {
@@ -28,7 +28,7 @@ test.describe('Create Command', () => {
2828 await expect ( createCommandSection . locator ( 'code' ) ) . toContainText ( / c r e a t e n e x t - a p p / i)
2929
3030 // Link to create-next-app should be present (uses sr-only text, so check attachment not visibility)
31- await expect ( page . locator ( 'a[href="/create-next-app"]' ) ) . toBeAttached ( )
31+ await expect ( page . locator ( 'a[href="/create-next-app"]' ) . first ( ) ) . toBeAttached ( )
3232 } )
3333
3434 test ( '/nuxt - should show create command (same maintainer, same org)' , async ( {
You can’t perform that action at this time.
0 commit comments