Add Playwright e2e test for Cloudinary setup wizard #1171
Annotations
7 errors, 1 warning, and 1 notice
|
Run E2E tests
Process completed with exit code 1.
|
|
Run E2E tests:
tests/e2e/utils/wizard.js#L111
2) [chromium] › tests/e2e/wizard-setup.spec.js:119:2 › Cloudinary wizard setup (WPP-1201) › persists connection state so the wizard does not reappear
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: CLOUDINARY_E2E_URL env var must be set to a valid cloudinary:// connection string before running the wizard e2e spec.
at utils/wizard.js:111
109 | const url = process.env.CLOUDINARY_E2E_URL;
110 | if ( ! url || ! url.startsWith( 'cloudinary://' ) ) {
> 111 | throw new Error(
| ^
112 | 'CLOUDINARY_E2E_URL env var must be set to a valid cloudinary:// connection string before running the wizard e2e spec.'
113 | );
114 | }
at getCloudinaryUrlFromEnv (/home/runner/work/cloudinary_wordpress/cloudinary_wordpress/tests/e2e/utils/wizard.js:111:9)
at /home/runner/work/cloudinary_wordpress/cloudinary_wordpress/tests/e2e/wizard-setup.spec.js:123:25
|
|
Run E2E tests:
tests/e2e/utils/wizard.js#L111
2) [chromium] › tests/e2e/wizard-setup.spec.js:119:2 › Cloudinary wizard setup (WPP-1201) › persists connection state so the wizard does not reappear
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: CLOUDINARY_E2E_URL env var must be set to a valid cloudinary:// connection string before running the wizard e2e spec.
at utils/wizard.js:111
109 | const url = process.env.CLOUDINARY_E2E_URL;
110 | if ( ! url || ! url.startsWith( 'cloudinary://' ) ) {
> 111 | throw new Error(
| ^
112 | 'CLOUDINARY_E2E_URL env var must be set to a valid cloudinary:// connection string before running the wizard e2e spec.'
113 | );
114 | }
at getCloudinaryUrlFromEnv (/home/runner/work/cloudinary_wordpress/cloudinary_wordpress/tests/e2e/utils/wizard.js:111:9)
at /home/runner/work/cloudinary_wordpress/cloudinary_wordpress/tests/e2e/wizard-setup.spec.js:123:25
|
|
Run E2E tests:
tests/e2e/utils/wizard.js#L111
2) [chromium] › tests/e2e/wizard-setup.spec.js:119:2 › Cloudinary wizard setup (WPP-1201) › persists connection state so the wizard does not reappear
Error: CLOUDINARY_E2E_URL env var must be set to a valid cloudinary:// connection string before running the wizard e2e spec.
at utils/wizard.js:111
109 | const url = process.env.CLOUDINARY_E2E_URL;
110 | if ( ! url || ! url.startsWith( 'cloudinary://' ) ) {
> 111 | throw new Error(
| ^
112 | 'CLOUDINARY_E2E_URL env var must be set to a valid cloudinary:// connection string before running the wizard e2e spec.'
113 | );
114 | }
at getCloudinaryUrlFromEnv (/home/runner/work/cloudinary_wordpress/cloudinary_wordpress/tests/e2e/utils/wizard.js:111:9)
at /home/runner/work/cloudinary_wordpress/cloudinary_wordpress/tests/e2e/wizard-setup.spec.js:123:25
|
|
Run E2E tests:
tests/e2e/utils/wizard.js#L111
1) [chromium] › tests/e2e/wizard-setup.spec.js:72:2 › Cloudinary wizard setup (WPP-1201) › accepts a valid connection string and completes the wizard
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: CLOUDINARY_E2E_URL env var must be set to a valid cloudinary:// connection string before running the wizard e2e spec.
at utils/wizard.js:111
109 | const url = process.env.CLOUDINARY_E2E_URL;
110 | if ( ! url || ! url.startsWith( 'cloudinary://' ) ) {
> 111 | throw new Error(
| ^
112 | 'CLOUDINARY_E2E_URL env var must be set to a valid cloudinary:// connection string before running the wizard e2e spec.'
113 | );
114 | }
at getCloudinaryUrlFromEnv (/home/runner/work/cloudinary_wordpress/cloudinary_wordpress/tests/e2e/utils/wizard.js:111:9)
at /home/runner/work/cloudinary_wordpress/cloudinary_wordpress/tests/e2e/wizard-setup.spec.js:76:25
|
|
Run E2E tests:
tests/e2e/utils/wizard.js#L111
1) [chromium] › tests/e2e/wizard-setup.spec.js:72:2 › Cloudinary wizard setup (WPP-1201) › accepts a valid connection string and completes the wizard
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: CLOUDINARY_E2E_URL env var must be set to a valid cloudinary:// connection string before running the wizard e2e spec.
at utils/wizard.js:111
109 | const url = process.env.CLOUDINARY_E2E_URL;
110 | if ( ! url || ! url.startsWith( 'cloudinary://' ) ) {
> 111 | throw new Error(
| ^
112 | 'CLOUDINARY_E2E_URL env var must be set to a valid cloudinary:// connection string before running the wizard e2e spec.'
113 | );
114 | }
at getCloudinaryUrlFromEnv (/home/runner/work/cloudinary_wordpress/cloudinary_wordpress/tests/e2e/utils/wizard.js:111:9)
at /home/runner/work/cloudinary_wordpress/cloudinary_wordpress/tests/e2e/wizard-setup.spec.js:76:25
|
|
Run E2E tests:
tests/e2e/utils/wizard.js#L111
1) [chromium] › tests/e2e/wizard-setup.spec.js:72:2 › Cloudinary wizard setup (WPP-1201) › accepts a valid connection string and completes the wizard
Error: CLOUDINARY_E2E_URL env var must be set to a valid cloudinary:// connection string before running the wizard e2e spec.
at utils/wizard.js:111
109 | const url = process.env.CLOUDINARY_E2E_URL;
110 | if ( ! url || ! url.startsWith( 'cloudinary://' ) ) {
> 111 | throw new Error(
| ^
112 | 'CLOUDINARY_E2E_URL env var must be set to a valid cloudinary:// connection string before running the wizard e2e spec.'
113 | );
114 | }
at getCloudinaryUrlFromEnv (/home/runner/work/cloudinary_wordpress/cloudinary_wordpress/tests/e2e/utils/wizard.js:111:9)
at /home/runner/work/cloudinary_wordpress/cloudinary_wordpress/tests/e2e/wizard-setup.spec.js:76:25
|
|
Complete job
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/checkout@v4, actions/setup-node@v4, actions/upload-artifact@v4. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|
|
Run E2E tests
2 failed
[chromium] › tests/e2e/wizard-setup.spec.js:72:2 › Cloudinary wizard setup (WPP-1201) › accepts a valid connection string and completes the wizard
[chromium] › tests/e2e/wizard-setup.spec.js:119:2 › Cloudinary wizard setup (WPP-1201) › persists connection state so the wizard does not reappear
5 passed (24.7s)
|
background
wait
wait-all
cancel
Loading