Skip to content

Commit 2f25a25

Browse files
committed
Increase count
1 parent 502853f commit 2f25a25

File tree

1 file changed

+2
-2
lines changed
  • packages/story-editor/src/components/floatingMenu/karma

1 file changed

+2
-2
lines changed

packages/story-editor/src/components/floatingMenu/karma/utils.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ export async function tabToCanvasFocusContainer(focusContainer, fixture) {
2121

2222
// tab until focus reaches the canvas container
2323
let count = 0;
24-
while (count < 20) {
24+
while (count < 25) {
2525
// eslint-disable-next-line no-await-in-loop -- need to await key press
2626
await fixture.events.keyboard.press('tab');
2727

@@ -32,7 +32,7 @@ export async function tabToCanvasFocusContainer(focusContainer, fixture) {
3232
count++;
3333
}
3434

35-
if (count >= 20) {
35+
if (count >= 25) {
3636
throw new Error('Could not find focus container.');
3737
}
3838
}

0 commit comments

Comments
 (0)