We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 502853f commit 2f25a25Copy full SHA for 2f25a25
packages/story-editor/src/components/floatingMenu/karma/utils.js
@@ -21,7 +21,7 @@ export async function tabToCanvasFocusContainer(focusContainer, fixture) {
21
22
// tab until focus reaches the canvas container
23
let count = 0;
24
- while (count < 20) {
+ while (count < 25) {
25
// eslint-disable-next-line no-await-in-loop -- need to await key press
26
await fixture.events.keyboard.press('tab');
27
@@ -32,7 +32,7 @@ export async function tabToCanvasFocusContainer(focusContainer, fixture) {
32
count++;
33
}
34
35
- if (count >= 20) {
+ if (count >= 25) {
36
throw new Error('Could not find focus container.');
37
38
0 commit comments