We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent dbb19c5 commit aaf9772Copy full SHA for aaf9772
test/development/pages-dir/client-navigation/index.test.ts
@@ -6,6 +6,7 @@ import {
6
waitFor,
7
check,
8
retry,
9
+ getRedboxTotalErrorCount,
10
} from 'next-test-utils'
11
import webdriver, { BrowserInterface } from 'next-webdriver'
12
import path from 'path'
@@ -1395,6 +1396,11 @@ describe('Client Navigation', () => {
1395
1396
})
1397
},
1398
1399
+ await retry(async () => {
1400
+ expect(await getRedboxTotalErrorCount(browser)).toBe(
1401
+ isReact18 ? 3 : 1
1402
+ )
1403
+ })
1404
await expect(browser).toDisplayRedbox(`
1405
{
1406
"count": ${isReact18 ? 3 : 1},
0 commit comments