Skip to content

Commit

Permalink
Chore: Mobile: Increase test timeout to try to fix CI failure (#10552)
Browse files Browse the repository at this point in the history
  • Loading branch information
personalizedrefrigerator authored Jun 11, 2024
1 parent 940739c commit 7ee5cad
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -240,8 +240,9 @@ describe('PluginStates.installed', () => {
expect(updateButton).toBeVisible();
await user.press(updateButton);

// After updating, the update button should read "updated"
const updatedButton = await screen.findByRole('button', { name: 'Updated', disabled: true, timeout: 8000 });
// After updating, the update button should read "updated". Use a large
// timeout because updating plugins can be slow, particularly in CI.
const updatedButton = await screen.findByRole('button', { name: 'Updated', disabled: true, timeout: 16000 });
expect(updatedButton).toBeVisible();

// Should be marked as updated.
Expand Down

0 comments on commit 7ee5cad

Please sign in to comment.