Skip to content
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion e2e/components/ActionMenu.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,12 @@
await page.getByRole('button', {name: buttonName}).click()
}
}
await expect(page).toHaveScreenshot(`ActionMenu.${story.title}.${theme}${suffix}.png`)
await expect(page).toHaveScreenshot(`ActionMenu.${story.title}.${theme}${suffix}.png`, {
style:

Check failure on line 102 in e2e/components/ActionMenu.test.ts

View workflow job for this annotation

GitHub Actions / type-check (react-18)

Object literal may only specify known properties, and 'style' does not exist in type 'PageAssertionsToHaveScreenshotOptions'.

Check failure on line 102 in e2e/components/ActionMenu.test.ts

View workflow job for this annotation

GitHub Actions / type-check (react-19)

Object literal may only specify known properties, and 'style' does not exist in type 'PageAssertionsToHaveScreenshotOptions'.
story.title === 'Dev: Within Dialog'
? '[data-component="ActionMenu.Button"] [data-component="text"] { visibility: hidden !important; }'
: undefined,
})
})
}
})
Expand Down
Loading