ci: add wp-env Playwright E2E workflow #4
e2e.yml
on: pull_request
Playwright @lite + @pro
10m 51s
Annotations
7 errors, 1 warning, and 2 notices
|
Playwright @lite + @pro
Process completed with exit code 1.
|
|
[chromium] › tests/e2e/image-config.spec.ts:87:6 › Image generation — config combinations › on-model apparel routes to the high-fidelity Gemini 3 model @lite:
tests/pw/tests/e2e/image-config.spec.ts#L39
5) [chromium] › tests/e2e/image-config.spec.ts:87:6 › Image generation — config combinations › on-model apparel routes to the high-fidelity Gemini 3 model @lite
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
TimeoutError: page.waitForRequest: Timeout 20000ms exceeded while waiting for event "request"
=========================== logs ===========================
waiting for request "**/generativelanguage.googleapis.com/**"
============================================================
37 | // Clicking Generate fires the request; wait for it and read what was sent.
38 | const [ request ] = await Promise.all( [
> 39 | page.waitForRequest(
| ^
40 | '**/generativelanguage.googleapis.com/**',
41 | { timeout: 20_000 }
42 | ),
at generateWith (/home/runner/work/tryAura/tryAura/tests/pw/tests/e2e/image-config.spec.ts:39:9)
at /home/runner/work/tryAura/tryAura/tests/pw/tests/e2e/image-config.spec.ts:90:15
|
|
[chromium] › tests/e2e/image-config.spec.ts:77:6 › Image generation — config combinations › a studio background is carried into the prompt @lite:
tests/pw/tests/e2e/image-config.spec.ts#L39
4) [chromium] › tests/e2e/image-config.spec.ts:77:6 › Image generation — config combinations › a studio background is carried into the prompt @lite
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
TimeoutError: page.waitForRequest: Timeout 20000ms exceeded while waiting for event "request"
=========================== logs ===========================
waiting for request "**/generativelanguage.googleapis.com/**"
============================================================
37 | // Clicking Generate fires the request; wait for it and read what was sent.
38 | const [ request ] = await Promise.all( [
> 39 | page.waitForRequest(
| ^
40 | '**/generativelanguage.googleapis.com/**',
41 | { timeout: 20_000 }
42 | ),
at generateWith (/home/runner/work/tryAura/tryAura/tests/pw/tests/e2e/image-config.spec.ts:39:9)
at /home/runner/work/tryAura/tryAura/tests/pw/tests/e2e/image-config.spec.ts:80:15
|
|
[chromium] › tests/e2e/image-config.spec.ts:66:6 › Image generation — config combinations › 4K upgrades to a Gemini 3 model and sends imageSize 4K @lite:
tests/pw/tests/e2e/image-config.spec.ts#L39
3) [chromium] › tests/e2e/image-config.spec.ts:66:6 › Image generation — config combinations › 4K upgrades to a Gemini 3 model and sends imageSize 4K @lite
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
TimeoutError: page.waitForRequest: Timeout 20000ms exceeded while waiting for event "request"
=========================== logs ===========================
waiting for request "**/generativelanguage.googleapis.com/**"
============================================================
37 | // Clicking Generate fires the request; wait for it and read what was sent.
38 | const [ request ] = await Promise.all( [
> 39 | page.waitForRequest(
| ^
40 | '**/generativelanguage.googleapis.com/**',
41 | { timeout: 20_000 }
42 | ),
at generateWith (/home/runner/work/tryAura/tryAura/tests/pw/tests/e2e/image-config.spec.ts:39:9)
at /home/runner/work/tryAura/tryAura/tests/pw/tests/e2e/image-config.spec.ts:69:15
|
|
[chromium] › tests/e2e/image-config.spec.ts:55:6 › Image generation — config combinations › 2K upgrades to a Gemini 3 model and sends imageSize 2K @lite:
tests/pw/tests/e2e/image-config.spec.ts#L39
2) [chromium] › tests/e2e/image-config.spec.ts:55:6 › Image generation — config combinations › 2K upgrades to a Gemini 3 model and sends imageSize 2K @lite
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
TimeoutError: page.waitForRequest: Timeout 20000ms exceeded while waiting for event "request"
=========================== logs ===========================
waiting for request "**/generativelanguage.googleapis.com/**"
============================================================
37 | // Clicking Generate fires the request; wait for it and read what was sent.
38 | const [ request ] = await Promise.all( [
> 39 | page.waitForRequest(
| ^
40 | '**/generativelanguage.googleapis.com/**',
41 | { timeout: 20_000 }
42 | ),
at generateWith (/home/runner/work/tryAura/tryAura/tests/pw/tests/e2e/image-config.spec.ts:39:9)
at /home/runner/work/tryAura/tryAura/tests/pw/tests/e2e/image-config.spec.ts:58:15
|
|
[chromium] › tests/e2e/enhancer.spec.ts:12:6 › Enhancer image generation › opens from the media modal:
tests/pw/utils/auth.ts#L14
1) [chromium] › tests/e2e/enhancer.spec.ts:12:6 › Enhancer image generation › opens from the media modal, shows Pro-locked tabs, and generates @lite
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: page.waitForURL: Test timeout of 30000ms exceeded.
=========================== logs ===========================
waiting for navigation until "load"
============================================================
at ../../utils/auth.ts:14
12 | await page.fill( '#user_pass', ADMIN_PASS );
13 | await page.click( '#wp-submit' );
> 14 | await page.waitForURL( /wp-admin/ );
| ^
15 | }
16 |
at loginAsAdmin (/home/runner/work/tryAura/tryAura/tests/pw/utils/auth.ts:14:13)
at /home/runner/work/tryAura/tryAura/tests/pw/tests/e2e/enhancer.spec.ts:7:3
|
|
[chromium] › tests/e2e/enhancer.spec.ts:12:6 › Enhancer image generation › opens from the media modal:
tests/pw/tests/e2e/enhancer.spec.ts#L6
1) [chromium] › tests/e2e/enhancer.spec.ts:12:6 › Enhancer image generation › opens from the media modal, shows Pro-locked tabs, and generates @lite
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Test timeout of 30000ms exceeded while running "beforeEach" hook.
4 |
5 | test.describe( 'Enhancer image generation', { tag: '@lite' }, () => {
> 6 | test.beforeEach( async ( { page } ) => {
| ^
7 | await loginAsAdmin( page );
8 | // Every Gemini call is stubbed in the browser — no token spent.
9 | await stubGemini( page );
at /home/runner/work/tryAura/tryAura/tests/pw/tests/e2e/enhancer.spec.ts:6:7
|
|
Playwright @lite + @pro
Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: actions/checkout@v4, actions/setup-node@v4, actions/upload-artifact@v4. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|
|
🎭 Playwright Run Summary
5 failed
[chromium] › tests/e2e/enhancer.spec.ts:12:6 › Enhancer image generation › opens from the media modal, shows Pro-locked tabs, and generates @lite
[chromium] › tests/e2e/image-config.spec.ts:55:6 › Image generation — config combinations › 2K upgrades to a Gemini 3 model and sends imageSize 2K @lite
[chromium] › tests/e2e/image-config.spec.ts:66:6 › Image generation — config combinations › 4K upgrades to a Gemini 3 model and sends imageSize 4K @lite
[chromium] › tests/e2e/image-config.spec.ts:77:6 › Image generation — config combinations › a studio background is carried into the prompt @lite
[chromium] › tests/e2e/image-config.spec.ts:87:6 › Image generation — config combinations › on-model apparel routes to the high-fidelity Gemini 3 model @lite
5 passed (5.0m)
|
|
Playwright @lite + @pro
PRO_REPO_TOKEN not set — the @Pro suite will be skipped.
|
Artifacts
Produced during runtime
| Name | Size | Digest | |
|---|---|---|---|
|
playwright-artifacts
Expired
|
11.1 MB |
sha256:bacd36127f0749beb99a123e70b45f79a8541fa3da9a9f97a34f71fed59dacb9
|
|