[wp-trac] [WordPress Trac] #58592: E2E tests: Investigate inconsistent navigation timeouts
WordPress Trac
noreply at wordpress.org
Thu Jun 22 08:08:25 UTC 2023
#58592: E2E tests: Investigate inconsistent navigation timeouts
------------------------------+---------------------
Reporter: joemcgill | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: 6.3
Component: Build/Test Tools | Version:
Severity: normal | Resolution:
Keywords: | Focuses:
------------------------------+---------------------
Comment (by talldanwp):
Gutenberg puppeteer e2e tests also started failing at some point. A
similar timeout issue.
After bisecting, it seems to be this commit that's causing the issue:
https://github.com/WordPress/wordpress-
develop/commit/8d702842ce2c7dbb457624b8d66fe0536e1a8b48
I noticed that if I change `page.waitForNavigation( { waitUntil:
'networkidle0' } ),` to `page.waitForNavigation(),`, then the test will
pass, so possibly the change in the PR interferes with how Puppeteer
detects network idle? I'm not entirely sure.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/58592#comment:6>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list