Skip to content

Tests e2e playwright print refactoring #7666

Tests e2e playwright print refactoring

Tests e2e playwright print refactoring #7666

Triggered via pull request February 2, 2025 19:19
Status Success
Total duration 18m 58s
Artifacts 6

e2e_tests.yml

on: pull_request
Matrix: end2end
Fit to window
Zoom out
Zoom in

Annotations

7 errors, 10 warnings, and 4 notices
[end2end] › playwright/base-layers.spec.js:21:9 › Base layers › Native EPSG:3857 Scales: tests/end2end/playwright/base-layers.spec.js#L45
1) [end2end] › playwright/base-layers.spec.js:21:9 › Base layers › Native EPSG:3857 Scales ─────── Error: expect(received).toBeGreaterThan(expected) Expected: > 1286 Received: 1286 43 | const initialByteLength = buffer.byteLength; 44 | // Greater than blank > 45 | await expect(initialByteLength).toBeGreaterThan(blankByteLength); // 19648 | ^ 46 | 47 | getMapRequestPromise = page.waitForRequest(/REQUEST=GetMap/); 48 | await page.locator('#navbar button.btn.zoom-in').click(); at /home/runner/work/lizmap-web-client/lizmap-web-client/tests/end2end/playwright/base-layers.spec.js:45:41
[end2end] › playwright/base-layers.spec.js:21:9 › Base layers › Native EPSG:3857 Scales: tests/end2end/playwright/base-layers.spec.js#L45
1) [end2end] › playwright/base-layers.spec.js:21:9 › Base layers › Native EPSG:3857 Scales ─────── Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(received).toBeGreaterThan(expected) Expected: > 1286 Received: 1286 43 | const initialByteLength = buffer.byteLength; 44 | // Greater than blank > 45 | await expect(initialByteLength).toBeGreaterThan(blankByteLength); // 19648 | ^ 46 | 47 | getMapRequestPromise = page.waitForRequest(/REQUEST=GetMap/); 48 | await page.locator('#navbar button.btn.zoom-in').click(); at /home/runner/work/lizmap-web-client/lizmap-web-client/tests/end2end/playwright/base-layers.spec.js:45:41
[end2end] › playwright/custom-javascript-api.spec.js:9:9 › Maps management › OpenLayers @flaky: tests/end2end/eval at evaluate (:234:30)#L2
2) [end2end] › playwright/custom-javascript-api.spec.js:9:9 › Maps management › OpenLayers @flaky Error: page.evaluate: ReferenceError: addOlLayers is not defined at eval (eval at evaluate (:234:30), <anonymous>:2:7) at UtilityScript.evaluate (<anonymous>:236:17) at UtilityScript.<anonymous> (<anonymous>:1:44) at eval (/home/runner/work/lizmap-web-client/lizmap-web-client/tests/end2end/eval at evaluate (:234:30), <anonymous>:2:7) at UtilityScript.evaluate (/home/runner/work/lizmap-web-client/lizmap-web-client/tests/end2end/<anonymous>:236:17) at UtilityScript.<anonymous> (/home/runner/work/lizmap-web-client/lizmap-web-client/tests/end2end/<anonymous>:1:44) at /home/runner/work/lizmap-web-client/lizmap-web-client/tests/end2end/playwright/custom-javascript-api.spec.js:24:20
[setup] › playwright/auth.setup.ts:33:6 › authenticate as admin: tests/end2end/playwright/auth.setup.ts#L1
1) [setup] › playwright/auth.setup.ts:33:6 › authenticate as admin ─────────────────────────────── Test timeout of 30000ms exceeded.
[setup] › playwright/auth.setup.ts:33:6 › authenticate as admin: tests/end2end/playwright/auth.setup.ts#L17
1) [setup] › playwright/auth.setup.ts:33:6 › authenticate as admin ─────────────────────────────── Error: locator.fill: Test timeout of 30000ms exceeded. Call log: - waiting for locator('#jforms_jcommunity_login_auth_login') 15 | // Perform authentication steps. Replace these actions with your own. 16 | await page.goto('admin.php/auth/login?auth_url_return=%2Findex.php'); > 17 | await page.locator('#jforms_jcommunity_login_auth_login').fill(login); | ^ 18 | await page.locator('#jforms_jcommunity_login_auth_password').fill(password); 19 | await page.getByRole('button', { name: 'Sign in' }).click(); 20 | // Wait until the page receives the cookies. at auth_using_login (/home/runner/work/lizmap-web-client/lizmap-web-client/tests/end2end/playwright/auth.setup.ts:17:61) at /home/runner/work/lizmap-web-client/lizmap-web-client/tests/end2end/playwright/auth.setup.ts:34:3
[end2end] › playwright/axis_orientation.spec.js:74:9 › Axis Orientation › Axis Orientation NEU for EPSG:3844: tests/end2end/playwright/axis_orientation.spec.js#L112
1) [end2end] › playwright/axis_orientation.spec.js:74:9 › Axis Orientation › Axis Orientation NEU for EPSG:3844 Error: expect(received).toBeGreaterThan(expected) Expected: > 1286 Received: 1286 110 | buffer = await page.screenshot({clip:{x:950/2-380/2, y:600/2-380/2, width:380, height:380}}); 111 | const judetByteLength = buffer.byteLength; > 112 | await expect(judetByteLength).toBeGreaterThan(blankByteLength); | ^ 113 | 114 | // Catch GetTile request; 115 | let GetTiles = []; at /home/runner/work/lizmap-web-client/lizmap-web-client/tests/end2end/playwright/axis_orientation.spec.js:112:39
[end2end] › playwright/custom-javascript-api.spec.js:9:9 › Maps management › OpenLayers @flaky: tests/end2end/eval at evaluate (:234:30)#L2
2) [end2end] › playwright/custom-javascript-api.spec.js:9:9 › Maps management › OpenLayers @flaky Error: page.evaluate: ReferenceError: addOlLayers is not defined at eval (eval at evaluate (:234:30), <anonymous>:2:7) at UtilityScript.evaluate (<anonymous>:236:17) at UtilityScript.<anonymous> (<anonymous>:1:44) at eval (/home/runner/work/lizmap-web-client/lizmap-web-client/tests/end2end/eval at evaluate (:234:30), <anonymous>:2:7) at UtilityScript.evaluate (/home/runner/work/lizmap-web-client/lizmap-web-client/tests/end2end/<anonymous>:236:17) at UtilityScript.<anonymous> (/home/runner/work/lizmap-web-client/lizmap-web-client/tests/end2end/<anonymous>:1:44) at /home/runner/work/lizmap-web-client/lizmap-web-client/tests/end2end/playwright/custom-javascript-api.spec.js:24:20
Slow Test: tests/end2end/[end2end] › playwright/print.spec.js#L1
tests/end2end/[end2end] › playwright/print.spec.js took 1.2m
Slow Test: tests/end2end/[end2end] › playwright/popup.spec.js#L1
tests/end2end/[end2end] › playwright/popup.spec.js took 42.1s
Slow Test: tests/end2end/[end2end] › playwright/permalink.spec.js#L1
tests/end2end/[end2end] › playwright/permalink.spec.js took 34.0s
Slow Test: tests/end2end/[end2end] › playwright/edition-form.spec.js#L1
tests/end2end/[end2end] › playwright/edition-form.spec.js took 29.1s
Slow Test: tests/end2end/[end2end] › playwright/webdav-upload.spec.js#L1
tests/end2end/[end2end] › playwright/webdav-upload.spec.js took 28.5s
Slow Test: tests/end2end/[end2end] › playwright/print.spec.js#L1
tests/end2end/[end2end] › playwright/print.spec.js took 1.3m
Slow Test: tests/end2end/[end2end] › playwright/popup.spec.js#L1
tests/end2end/[end2end] › playwright/popup.spec.js took 42.0s
Slow Test: tests/end2end/[end2end] › playwright/permalink.spec.js#L1
tests/end2end/[end2end] › playwright/permalink.spec.js took 33.9s
Slow Test: tests/end2end/[end2end] › playwright/edition-form.spec.js#L1
tests/end2end/[end2end] › playwright/edition-form.spec.js took 29.4s
Slow Test: tests/end2end/[end2end] › playwright/webdav-upload.spec.js#L1
tests/end2end/[end2end] › playwright/webdav-upload.spec.js took 28.5s
🎭 Playwright Run Summary
2 flaky [end2end] › playwright/base-layers.spec.js:21:9 › Base layers › Native EPSG:3857 Scales ──────── [end2end] › playwright/custom-javascript-api.spec.js:9:9 › Maps management › OpenLayers @flaky ─ 2 skipped 178 passed (9.5m)
🎭 Playwright Run Summary
1 flaky [setup] › playwright/auth.setup.ts:33:6 › authenticate as admin ──────────────────────────────── 11 passed (42.1s)
🎭 Playwright Run Summary
12 passed (14.6s)
🎭 Playwright Run Summary
2 flaky [end2end] › playwright/axis_orientation.spec.js:74:9 › Axis Orientation › Axis Orientation NEU for EPSG:3844 [end2end] › playwright/custom-javascript-api.spec.js:9:9 › Maps management › OpenLayers @flaky ─ 2 skipped 178 passed (9.5m)

Artifacts

Produced during runtime
Name Size
BLEEDING_EDGE-DB-diff-read-only
154 Bytes
BLEEDING_EDGE-E2E-all-logs
1.47 MB
BLEEDING_EDGE-playwright-report
15.1 KB
LEGACY-DB-diff-read-only
154 Bytes
LEGACY-E2E-all-logs
1.47 MB
LEGACY-playwright-report
15.1 KB