[wp-trac] [WordPress Trac] #54397: e2e timeout errors: waiting for selection `.components-snackbar`

WordPress Trac noreply at wordpress.org
Tue Nov 9 12:10:16 UTC 2021


#54397: e2e timeout errors: waiting for selection `.components-snackbar`
------------------------------+------------------------------
 Reporter:  hellofromTonya    |       Owner:  (none)
     Type:  task (blessed)    |      Status:  new
 Priority:  normal            |   Milestone:  Awaiting Review
Component:  Build/Test Tools  |     Version:
 Severity:  normal            |  Resolution:
 Keywords:                    |     Focuses:
------------------------------+------------------------------

Comment (by justinahinon):

 This happens very randomly (at least on local env). I've run the test up
 to 20 times, `for i in {1..20}; do npm run test:e2e -- tests/e2e/specs
 /edit-posts.test.js; done` and had only one failure.

 @isabel_brison in the
 [https://github.com/WordPress/gutenberg/blob/9fed001f068c048a0e1b601cc9d94cdee0b22b76/packages
 /e2e-test-utils/src/publish-post.js#L19 publishPost()] function, could we
 wait for the content in the body panel instead of the snack bar? See
 https://cln.sh/Jsm9GY.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/54397#comment:5>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list