Tests: Fix npm tests on macOS #30672
Annotations
2 errors and 1 warning
Run E2E tests:
tests/e2e/specs/dashboard.test.js#L211
TimeoutError: Navigation timeout of 30000 ms exceeded
at /home/runner/work/wordpress-develop/wordpress-develop/node_modules/puppeteer-core/src/common/LifecycleWatcher.ts:211:18
at FrameManager.waitForFrameNavigation (/home/runner/work/wordpress-develop/wordpress-develop/node_modules/puppeteer-core/src/common/FrameManager.ts:239:19)
at Frame.waitForNavigation (/home/runner/work/wordpress-develop/wordpress-develop/node_modules/puppeteer-core/src/common/FrameManager.ts:795:12)
at Page.waitForNavigation (/home/runner/work/wordpress-develop/wordpress-develop/node_modules/puppeteer-core/src/common/Page.ts:1833:12)
at async Promise.all (index 0)
at loginUser (/home/runner/work/wordpress-develop/wordpress-develop/node_modules/@wordpress/e2e-test-utils/build/@wordpress/e2e-test-utils/src/login-user.js:30:2)
at switchUserToAdmin (/home/runner/work/wordpress-develop/wordpress-develop/node_modules/@wordpress/e2e-test-utils/build/@wordpress/e2e-test-utils/src/switch-user-to-admin.js:16:2)
at trashAllPosts (/home/runner/work/wordpress-develop/wordpress-develop/node_modules/@wordpress/e2e-test-utils/build/@wordpress/e2e-test-utils/src/posts.js:22:2)
at Object.<anonymous> (/home/runner/work/wordpress-develop/wordpress-develop/tests/e2e/specs/dashboard.test.js:9:3)
|
Run E2E tests
Process completed with exit code 1.
|
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c, actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c, actions/upload-artifact@0b7f8abb1508181956e8e162db84b466c27e18ce. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Loading