[wp-trac] [WordPress Trac] #48978: Add a new test case for E2E test (Show admin bar if user logged in)

WordPress Trac noreply at wordpress.org
Thu Jun 19 21:52:44 UTC 2025


#48978: Add a new test case for E2E test (Show admin bar if user logged in)
-------------------------------------------------+-------------------------
 Reporter:  hideokamoto                          |       Owner:  (none)
     Type:  defect (bug)                         |      Status:  assigned
 Priority:  normal                               |   Milestone:  Future
                                                 |  Release
Component:  Build/Test Tools                     |     Version:
 Severity:  normal                               |  Resolution:
 Keywords:  has-patch has-unit-tests 2nd-        |     Focuses:  javascript
  opinion                                        |
-------------------------------------------------+-------------------------
Changes (by SirLouen):

 * keywords:  needs-testing has-patch changes-requested has-unit-tests =>
     has-patch has-unit-tests 2nd-opinion


Comment:

 I can't see a whole new file and unit test just to test this.

 e2e tests are super-costly in terms of resources

 I would rather add this test inside another relevan ttest (there are a
 good amount of tests that can test this) or at minimum I would add it
 inside the file of another existing test.

 I've been unable to find which are the recommended guidelines for e2e on
 WP project.

 Maybe Gutenberg active members can give you some guidance about this
 cc @Mamaduka @wildworks

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


More information about the wp-trac mailing list