mirror of
https://github.com/laurent22/joplin.git
synced 2026-06-18 20:16:34 +02:00
Chore: Mobile: Increase test timeout to try to fix CI failure (#10552)
This commit is contained in:
+3
-2
@@ -240,8 +240,9 @@ describe('PluginStates.installed', () => {
|
|||||||
expect(updateButton).toBeVisible();
|
expect(updateButton).toBeVisible();
|
||||||
await user.press(updateButton);
|
await user.press(updateButton);
|
||||||
|
|
||||||
// After updating, the update button should read "updated"
|
// After updating, the update button should read "updated". Use a large
|
||||||
const updatedButton = await screen.findByRole('button', { name: 'Updated', disabled: true, timeout: 8000 });
|
// 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();
|
expect(updatedButton).toBeVisible();
|
||||||
|
|
||||||
// Should be marked as updated.
|
// Should be marked as updated.
|
||||||
|
|||||||
Reference in New Issue
Block a user