[wp-trac] [WordPress Trac] #52860: Ignore jquery migrate console warnings when running e2e tests

WordPress Trac noreply at wordpress.org
Wed Jun 9 01:08:32 UTC 2021


#52860: Ignore jquery migrate console warnings when running e2e tests
--------------------------------------+---------------------
 Reporter:  isabel_brison             |       Owner:  (none)
     Type:  defect (bug)              |      Status:  new
 Priority:  normal                    |   Milestone:  5.8
Component:  Build/Test Tools          |     Version:
 Severity:  normal                    |  Resolution:
 Keywords:  has-patch has-unit-tests  |     Focuses:
--------------------------------------+---------------------

Comment (by isabel_brison):

 There's a couple uses of `$.isFunction()` in Twenty Seventeen, and the
 rest of the warnings are coming from jQuery UI. The warnings also appear
 in the browser console when running a dev environment though, so we won't
 miss them if we remove them from the e2e tests. And the benefit of
 removing them is the test results become much more readable, as all the
 warnings are currently being output after each test.

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


More information about the wp-trac mailing list