[wp-trac] [WordPress Trac] #60109: E2E test failures in the 6.2 branch

WordPress Trac noreply at wordpress.org
Tue Dec 19 16:30:15 UTC 2023


#60109: E2E test failures in the 6.2 branch
------------------------------+-----------------------------
 Reporter:  desrosj           |      Owner:  (none)
     Type:  defect (bug)      |     Status:  new
 Priority:  normal            |  Milestone:  Awaiting Review
Component:  Build/Test Tools  |    Version:  6.2
 Severity:  normal            |   Keywords:
  Focuses:                    |
------------------------------+-----------------------------
 In the 6.2 branch, there are currently some E2E test failures related to
 testing the installation, activation, deactivation, etc. of the Gutenberg
 plugin.


 {{{
 FAIL tests/e2e/specs/gutenberg-plugin.test.js
   ● Gutenberg plugin › should activate

     No node found for selector: .install-now[data-slug="gutenberg"]

        8 | describe( 'Gutenberg plugin', () => {
        9 |      beforeAll( async () => {
     > 10 |              await installPlugin( 'gutenberg' );
          |              ^
       11 |      } );
       12 |
       13 |      afterAll( async () => {

       at assert (../../node_modules/puppeteer-
 core/src/common/assert.ts:23:21)
       at DOMWorld.click (../../node_modules/puppeteer-
 core/src/common/DOMWorld.ts:461:11)
           at runMicrotasks (<anonymous>)
       at installPlugin (../../node_modules/@wordpress/e2e-test-
 utils/build/@wordpress/e2e-test-utils/src/install-plugin.js:22:2)
       at specs/gutenberg-plugin.test.js:10:3


   ● Test suite failed to run

     No node found for selector: tr[data-slug="gutenberg"] .delete a

       12 |
       13 |      afterAll( async () => {
     > 14 |              await uninstallPlugin( 'gutenberg' );
          |              ^
       15 |      } );
       16 |
       17 |      it( 'should activate', async () => {

       at assert (../../node_modules/puppeteer-
 core/src/common/assert.ts:23:21)
       at DOMWorld.click (../../node_modules/puppeteer-
 core/src/common/DOMWorld.ts:461:11)
           at runMicrotasks (<anonymous>)
           at async Promise.all (index 1)
       at uninstallPlugin (../../node_modules/@wordpress/e2e-test-
 utils/build/@wordpress/e2e-test-utils/src/uninstall-plugin.js:19:2)
       at specs/gutenberg-plugin.test.js:14:3
 }}}

 It's not clear what caused this to start happening about a week ago
 ([https://github.com/WordPress/wordpress-develop/actions/runs/7216197941
 first occurrence]).

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/60109>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list