Skip to content

Commit 10b3279

Browse files
authored
Merge pull request #2120 from oasisprotocol/mz/specTimeout
Increase analytics spec timeout
2 parents 5349d19 + e0de956 commit 10b3279

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

.changelog/2120.trivial.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Increase analytics spec timeout

playwright/tests/analytics.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ test.describe('analytics', () => {
129129
document.body.appendChild(link)
130130
})
131131
await page.getByRole('link', { name: 'link-to-local-explorer' }).click()
132-
await expect(page.getByText('Latest Blocks')).toBeVisible({ timeout: 10000 })
132+
await expect(page.getByText('Latest Blocks')).toBeVisible({ timeout: 50000 })
133133
await expect(page.evaluate(() => document.referrer)).resolves.toContain('https://wallet.oasis.io')
134134
await page.waitForTimeout(100)
135135
expect(getMatomoRequests().length).toBeGreaterThanOrEqual(3) // Tracked, possibly twice due to React StrictMode

0 commit comments

Comments
 (0)