Skip to content

Commit 09f7371

Browse files
committed
test: tweak more
1 parent 134106c commit 09f7371

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1062,6 +1062,7 @@ function defineTest(f: Fixture) {
10621062
'color',
10631063
'rgb(0, 0, 0)',
10641064
)
1065+
await page.waitForTimeout(100)
10651066
editor.reset()
10661067
await expect(page.getByTestId('css-module-server')).toHaveCSS(
10671068
'color',
@@ -1122,6 +1123,7 @@ function defineTest(f: Fixture) {
11221123
await expect(serverCard).toHaveCSS('color', 'rgb(0, 0, 0)')
11231124
await expect(clientCard).toHaveCSS('color', 'rgb(0, 0, 0)')
11241125

1126+
await page.waitForTimeout(100)
11251127
editor.reset()
11261128
await expect(serverCard).toHaveCSS('color', 'rgb(255, 165, 0)')
11271129
await expect(clientCard).toHaveCSS('color', 'rgb(255, 165, 0)')

0 commit comments

Comments
 (0)