Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixes e2e test failures via console log exception to handle temp `wpn…
…once` error (#19532) * Adds console log exception to handle temp wp nonce error > [DOM] Found 2 elements with non-unique id #_wpnonce: (More info: https://goo.gl/9p2vKq) This error was getting logged to console when running e2e tests locally and causing my tests to fail. It’s a known issue with WordPress: https://core.trac.wordpress.org/ticket/23165. This commit adds a new condition to console log exception handling to ensure console logs containing this message are ignored and do not trigger test failures. See also https://wordpress.slack.com/archives/C02QB2JS7/p1578578973183100 * Refactor to make test for console msg more resilient and tollerant
- Loading branch information