Skip to content

Commit 6403847

Browse files
authored
Merge pull request #2169 from oasisprotocol/lw/fix-flaky
Fix flaky test - sync 44 accounts in 10 tabs
2 parents a1f258d + 932892d commit 6403847

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

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