Skip to content

Commit

Permalink
test(sanity): update timeout to avoid slow test from being flaky (#7969)
Browse files Browse the repository at this point in the history
  • Loading branch information
RitaDias authored Dec 6, 2024
1 parent 7e4bc57 commit d6dde60
Showing 1 changed file with 8 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -39,10 +39,17 @@ const DEFAULT_DECORATORS = [

test.describe('Portable Text Input', () => {
test.describe('Decorators', () => {
test('Render default decorators with keyboard shortcuts', async ({mount, page}) => {
test('Render default decorators with keyboard shortcuts', async ({
mount,
page,
browserName,
}) => {
// avoid flakiness to make sure the test has the best chance despite being slow
test.slow()

// For now, only test in Chromium due to flakiness in Firefox and WebKit
test.skip(browserName !== 'chromium')

const {
getModifierKey,
getFocusedPortableTextEditor,
Expand Down

0 comments on commit d6dde60

Please sign in to comment.