Skip to content

Commit 932892d

Browse files
author
lukaw3d
committed
Fix flaky test - sync 44 accounts in 10 tabs
1 parent a1f258d commit 932892d

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

.changelog/2169.trivial.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Fix flaky test - sync 44 accounts in 10 tabs

playwright/tests/syncTabs.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -287,7 +287,7 @@ test.describe('syncTabs', () => {
287287
})
288288
await test.step('Test syncing actions to 10 tabs', async () => {
289289
await page.getByTestId('network-selector').click()
290-
await page.getByRole('menuitem', { name: 'Mainnet' }).click()
290+
await page.getByRole('menuitem', { name: 'Mainnet' }).click({ timeout: 10_000 })
291291
for (const tab of context.pages()) {
292292
await expect(tab.getByTestId('network-selector')).toHaveText('Mainnet')
293293
}

0 commit comments

Comments
 (0)