1
0
mirror of https://github.com/laurent22/joplin.git synced 2025-01-23 18:53:36 +02:00

Chore: Mobile: Increase test timeout to try to fix CI failure (#10552)

This commit is contained in:
Henry Heino 2024-06-10 23:49:57 -07:00 committed by GitHub
parent 940739ce12
commit 7ee5cad21e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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.