[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
Wed Oct 20 00:31:26 UTC 2021


#48978: Add a new test case for E2E test (Show admin bar if user logged in)
-------------------------------------+-------------------------
 Reporter:  hideokamoto              |       Owner:  (none)
     Type:  enhancement              |      Status:  new
 Priority:  normal                   |   Milestone:  5.9
Component:  Build/Test Tools         |     Version:
 Severity:  normal                   |  Resolution:
 Keywords:  has-patch needs-testing  |     Focuses:  javascript
-------------------------------------+-------------------------

Comment (by isabel_brison):

 Ran the tests locally and they are working well.

 One minor typo: "Should not ''show'' admin bar"

 And we should move these tests to a separate "admin-bar.test.js" file (or
 some similar name). "Hello World" was essentially a dummy test to make
 sure the e2e setup was working correctly; now that we have actual tests in
 there we could even remove it altogether :)

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


More information about the wp-trac mailing list