Skip to content

Commit cc64af8

Browse files
committed
test: tweak skip
1 parent 04e4eb1 commit cc64af8

File tree

1 file changed

+8
-6
lines changed

1 file changed

+8
-6
lines changed

packages/plugin-rsc/e2e/starter.test.ts

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -151,13 +151,15 @@ function defineTest(f: Fixture, variant?: 'no-ssr') {
151151
)
152152
})
153153

154-
testNoJs('css @nojs', async ({ page }) => {
154+
test.describe(() => {
155155
test.skip(variant === 'no-ssr')
156156

157-
await page.goto(f.url())
158-
await expect(page.locator('.read-the-docs')).toHaveCSS(
159-
'color',
160-
'rgb(136, 136, 136)',
161-
)
157+
testNoJs('css @nojs', async ({ page }) => {
158+
await page.goto(f.url())
159+
await expect(page.locator('.read-the-docs')).toHaveCSS(
160+
'color',
161+
'rgb(136, 136, 136)',
162+
)
163+
})
162164
})
163165
}

0 commit comments

Comments
 (0)