[wp-trac] [WordPress Trac] #56044: E2E tests are failing silently

WordPress Trac noreply at wordpress.org
Wed Jun 22 17:41:43 UTC 2022


#56044: E2E tests are failing silently
------------------------------+------------------------------
 Reporter:  desrosj           |       Owner:  (none)
     Type:  defect (bug)      |      Status:  new
 Priority:  normal            |   Milestone:  Awaiting Review
Component:  Build/Test Tools  |     Version:
 Severity:  normal            |  Resolution:
 Keywords:                    |     Focuses:
------------------------------+------------------------------

Comment (by desrosj):

 I included a link to the most recent workflow run in the ticket
 description, but in case this ticket outlasts the 90 day log retention
 limit, here are the variations of errors being returned:


 {{{
 PASS tests/e2e/specs/edit-posts.test.js (22.74 s)
   ● Console
     console.error
       Failed to load resource: the server responded with a status of 404
 (Not Found)
       119 |
       120 |             // eslint-disable-next-line no-console
     > 121 |             console[ logFunction ]( text );
           |             ^
       122 |     } );
       123 | }
       124 |
       at config/bootstrap.js:121:3
       at ../../node_modules/puppeteer-core/vendor/mitt/src/index.ts:88:75
           at Array.map (<anonymous>)
       at Object.emit (../../node_modules/puppeteer-
 core/vendor/mitt/src/index.ts:88:56)
       at Page.emit (../../node_modules/puppeteer-
 core/src/common/EventEmitter.ts:102:18)
       at Page._onLogEntryAdded (../../node_modules/puppeteer-
 core/src/common/Page.ts:781:12)
       at ../../node_modules/puppeteer-core/src/common/Page.ts:575:49
       at ../../node_modules/puppeteer-core/vendor/mitt/src/index.ts:88:75
 }}}


 {{{
 PASS tests/e2e/specs/profile/applications-passwords.test.js
 ● Console
     console.error
       Failed to load resource: the server responded with a status of 409
 (Conflict)
       119 |
       120 |             // eslint-disable-next-line no-console
     > 121 |             console[ logFunction ]( text );
           |             ^
       122 |     } );
       123 | }
       124 |
       at config/bootstrap.js:121:3
       at ../../node_modules/puppeteer-core/vendor/mitt/src/index.ts:88:75
           at Array.map (<anonymous>)
       at Object.emit (../../node_modules/puppeteer-
 core/vendor/mitt/src/index.ts:88:56)
       at Page.emit (../../node_modules/puppeteer-
 core/src/common/EventEmitter.ts:102:18)
       at Page._onLogEntryAdded (../../node_modules/puppeteer-
 core/src/common/Page.ts:781:12)
       at ../../node_modules/puppeteer-core/src/common/Page.ts:575:49
       at ../../node_modules/puppeteer-core/vendor/mitt/src/index.ts:88:75
 }}}

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


More information about the wp-trac mailing list