Skip to content

Commit

Permalink
Code Quality: Fix flakey canvas keys karma test (#13224)
Browse files Browse the repository at this point in the history
  • Loading branch information
ayushnirwal committed Apr 25, 2023
1 parent 7034860 commit 8c11bc3
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,9 @@ describe('Canvas Keyboard Shortcuts', () => {
await fixture.events.click(
fixture.screen.getByRole('option', { name: /^"Fade In" Effect$/ })
);

// Synthetic delay to make the dropdown behave correctly
await fixture.events.sleep(200);
// click to close
await fixture.events.click(effectChooser, { clickCount: 1 });
const duration = fixture.screen.getByLabelText('Duration');
Expand Down

0 comments on commit 8c11bc3

Please sign in to comment.