Tests e2e playwright print refactoring #7700
Annotations
10 errors, 5 warnings, and 2 notices
Run Playwright tests read-only:
tests/end2end/playwright/auth.setup.ts#L1
1) [setup] › playwright/auth.setup.ts:29:6 › authenticate as user_in_group_a ─────────────────────
Test timeout of 30000ms exceeded.
|
Run Playwright tests read-only:
tests/end2end/playwright/auth.setup.ts#L17
1) [setup] › playwright/auth.setup.ts:29:6 › authenticate as user_in_group_a ─────────────────────
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:30:3
|
Run Playwright tests read-only:
tests/end2end/playwright/popup.spec.js#L1
2) [end2end] › playwright/popup.spec.js:234:9 › Raster identify › Raster identify check with data-attributes @readonly @lizmap.com
Test timeout of 30000ms exceeded.
|
Run Playwright tests read-only:
tests/end2end/playwright/globals.js#L56
2) [end2end] › playwright/popup.spec.js:234:9 › Raster identify › Raster identify check with data-attributes @readonly @lizmap.com
Error: page.waitForRequest: Test timeout of 30000ms exceeded.
=========================== logs ===========================
waiting for request /SERVICE=WMS&REQUEST=GetCapabilities/
============================================================
at globals.js:56
54 |
55 | // Wait for WMS GetCapabilities promise
> 56 | let getCapabilitiesWMSPromise = page.waitForRequest(/SERVICE=WMS&REQUEST=GetCapabilities/);
| ^
57 | await page.goto(url);
58 |
59 | // Wait for WMS GetCapabilities
at gotoMap (/home/runner/work/lizmap-web-client/lizmap-web-client/tests/end2end/playwright/globals.js:56:42)
at ProjectPage.open (/home/runner/work/lizmap-web-client/lizmap-web-client/tests/end2end/playwright/pages/project.js:141:22)
at /home/runner/work/lizmap-web-client/lizmap-web-client/tests/end2end/playwright/popup.spec.js:236:23
|
Cypress run
Cypress tests: 1 failed
|
Run Playwright tests not tagged read-only:
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
|
Run Playwright tests not tagged read-only:
tests/end2end/playwright/base-layers.spec.js#L45
2) [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
|
Run Playwright tests not tagged read-only:
tests/end2end/playwright/base-layers.spec.js#L204
3) [end2end] › playwright/base-layers.spec.js:209:9 › Base layers user defined › Base layers list
Test timeout of 30000ms exceeded while running "beforeEach" hook.
202 | test.describe('Base layers user defined', () => {
203 |
> 204 | test.beforeEach(async ({ page }) => {
| ^
205 | const url = '/index.php/view/map/?repository=testsrepository&project=base_layers_user_defined';
206 | await gotoMap(url, page);
207 | });
at /home/runner/work/lizmap-web-client/lizmap-web-client/tests/end2end/playwright/base-layers.spec.js:204:10
|
Run Playwright tests not tagged read-only:
tests/end2end/playwright/globals.js#L64
3) [end2end] › playwright/base-layers.spec.js:209:9 › Base layers user defined › Base layers list
Error: page.waitForRequest: Test timeout of 30000ms exceeded.
at globals.js:64
62 | if (waitForGetLegendGraphics) {
63 | // Wait for WMS GetLegendGraphic promise
> 64 | const getLegendGraphicPromise = page.waitForRequest(request => request.method() === 'POST' && request.postData() != null && request.postData()?.includes('GetLegendGraphic') === true);
| ^
65 | // Normal check about the map
66 | // Wait for WMS GetLegendGraphic
67 | await getLegendGraphicPromise;
at gotoMap (/home/runner/work/lizmap-web-client/lizmap-web-client/tests/end2end/playwright/globals.js:64:50)
at /home/runner/work/lizmap-web-client/lizmap-web-client/tests/end2end/playwright/base-layers.spec.js:206:9
|
Run Playwright tests not tagged read-only:
tests/end2end/eval at evaluate (:234:30)#L2
4) [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
|
Run Playwright tests not tagged read-only:
tests/end2end/[end2end] › playwright/print.spec.js#L1
tests/end2end/[end2end] › playwright/print.spec.js took 1.1m
|
Run Playwright tests not tagged read-only:
tests/end2end/[end2end] › playwright/popup.spec.js#L1
tests/end2end/[end2end] › playwright/popup.spec.js took 41.0s
|
Run Playwright tests not tagged read-only:
tests/end2end/[end2end] › playwright/permalink.spec.js#L1
tests/end2end/[end2end] › playwright/permalink.spec.js took 32.6s
|
Run Playwright tests not tagged read-only:
tests/end2end/[end2end] › playwright/edition-form.spec.js#L1
tests/end2end/[end2end] › playwright/edition-form.spec.js took 28.3s
|
Run Playwright tests not tagged read-only:
tests/end2end/[end2end] › playwright/webdav-upload.spec.js#L1
tests/end2end/[end2end] › playwright/webdav-upload.spec.js took 27.7s
|
Run Playwright tests read-only
2 flaky
[setup] › playwright/auth.setup.ts:29:6 › authenticate as user_in_group_a ──────────────────────
[end2end] › playwright/popup.spec.js:234:9 › Raster identify › Raster identify check with data-attributes @readonly @lizmap.com
11 passed (1.2m)
|
Run Playwright tests not tagged read-only
4 flaky
[end2end] › playwright/axis_orientation.spec.js:74:9 › Axis Orientation › Axis Orientation NEU for EPSG:3844
[end2end] › playwright/base-layers.spec.js:21:9 › Base layers › Native EPSG:3857 Scales ────────
[end2end] › playwright/base-layers.spec.js:209:9 › Base layers user defined › Base layers list ─
[end2end] › playwright/custom-javascript-api.spec.js:9:9 › Maps management › OpenLayers @flaky ─
2 skipped
176 passed (9.7m)
|
Loading