[wp-trac] [WordPress Trac] #52607: Investigate why the ms-excluded test group fails when run on its own

WordPress Trac noreply at wordpress.org
Thu Feb 25 11:11:13 UTC 2021


#52607: Investigate why the ms-excluded test group fails when run on its own
-----------------------------------------------+------------------------
 Reporter:  johnbillion                        |       Owner:  (none)
     Type:  defect (bug)                       |      Status:  new
 Priority:  normal                             |   Milestone:  5.8
Component:  Build/Test Tools                   |     Version:
 Severity:  normal                             |  Resolution:
 Keywords:  needs-unit-tests has-patch commit  |     Focuses:  multisite
-----------------------------------------------+------------------------

Comment (by SergeyBiryukov):

 In [changeset:"50433" 50433]:
 {{{
 #!CommitTicketReference repository="" revision="50433"
 Tests: Reset current screen after setting it to `dashboard` in
 `add_submenu_page()` tests.

 This avoids polluting other tests and allows the `ms-excluded` test group
 to successfully run on its own.

 Props johnbillion, SergeyBiryukov.
 See #52607.
 }}}

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


More information about the wp-trac mailing list