[wp-trac] [WordPress Trac] #58592: E2E tests: Investigate inconsistent navigation timeouts
WordPress Trac
noreply at wordpress.org
Wed Jun 28 10:45:32 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: has-patch has-unit-tests | Focuses:
--------------------------------------+---------------------
Comment (by Clorith):
In [changeset:"56089" 56089]:
{{{
#!CommitTicketReference repository="" revision="56089"
Build/Test Tools: Switch frame container when testing block editor output.
When the block editor is rendered, the editor content is wrapped inside an
iframe tag; The tool used to run End to End (E2E) tests, Puppeteer, puts
all such frames into separate containers, but the initial test was
checking if the parent page had a given selector, which was leading to
timeout failures. By actively switching the container to the iframe
wrapper,and setting it as the active context, it helps ensure the expected
selectors can be found, and its content can be verrified.
See #58592.
Props joemcgill, SergeyBiryukov, talldanwp, oglekler, Clorith.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/58592#comment:11>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list