Skip to content

Commit 268a8b1

Browse files
pksjcejonrohan
andauthored
Fix flaky test for SelectPanel vrt (#6623)
Co-authored-by: Jon Rohan <yes@jonrohan.codes>
1 parent 95b52ac commit 268a8b1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

e2e/components/SelectPanel.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ test.describe('SelectPanel', () => {
139139
await page.keyboard.press('Enter')
140140
}
141141

142-
expect(await page.screenshot({animations: 'disabled'})).toMatchSnapshot(
142+
expect(await page.screenshot({animations: 'disabled', caret: 'hide'})).toMatchSnapshot(
143143
`SelectPanel-Default-responsive-width-light-full-screen-on-narrow--true.png`,
144144
)
145145
})
@@ -159,7 +159,7 @@ test.describe('SelectPanel', () => {
159159
await page.keyboard.press('Enter')
160160
}
161161

162-
expect(await page.screenshot({animations: 'disabled'})).toMatchSnapshot(
162+
expect(await page.screenshot({animations: 'disabled', caret: 'hide'})).toMatchSnapshot(
163163
`SelectPanel-features--with-notice-light.png`,
164164
)
165165
})

0 commit comments

Comments
 (0)