Skip to content

e2e bug fixes and code cleanup #2068

e2e bug fixes and code cleanup

e2e bug fixes and code cleanup #2068

You are viewing an older attempt in the history of this workflow run. View latest attempt.
Re-run triggered January 11, 2024 20:47
Status Failure
Total duration 21m 54s
Artifacts

pull-request.yml

on: pull_request
Matrix: unit-tests
Matrix: E2e test suites: Playwright
Matrix: e2es
Finalize
2s
Finalize
Fit to window
Zoom out
Zoom in

Annotations

9 errors, 10 warnings, and 10 notices
[Share Action] › src/tests/share/share-file.spec.ts:78:9 › Share a file › when logged out › [C286326] A non-logged user can download the shared file from the viewer: e2e/playwright/share-action/src/tests/share/share-file.spec.ts#L63
1) [Share Action] › src/tests/share/share-file.spec.ts:78:9 › Share a file › when logged out › [C286326] A non-logged user can download the shared file from the viewer "beforeAll" hook timeout of 45000ms exceeded. 61 | let file6Id: string; 62 | > 63 | test.beforeAll(async () => { | ^ 64 | const nodesApi = await NodesApi.initialize(username, username); 65 | const shareApi = await SharedLinksApi.initialize(username, username); 66 | at /home/runner/work/alfresco-content-app/alfresco-content-app/e2e/playwright/share-action/src/tests/share/share-file.spec.ts:63:10
E2e test suites: Playwright (list-views, 8)
Timed out waiting 600s for the test suite to run
E2e test suites: Playwright (list-views, 8)
Timed out waiting 600s for the teardown for test suite to run
[List Views] › src/tests/shared-files.spec.ts:124:7 › Shared Files › [C280491] Location column redirect - file in site: e2e/playwright/list-views/src/tests/shared-files.spec.ts#L42
1) [List Views] › src/tests/shared-files.spec.ts:124:7 › Shared Files › [C280491] Location column redirect - file in site "beforeAll" hook timeout of 150000ms exceeded. 40 | const file4User = `file4-${Utils.random()}.txt`; 41 | > 42 | test.beforeAll(async () => { | ^ 43 | test.setTimeout(timeouts.extendedTest); 44 | const apiClientFactory = new ApiClientFactory(); 45 | await apiClientFactory.setUpAcaBackend('admin'); at /home/runner/work/alfresco-content-app/alfresco-content-app/e2e/playwright/list-views/src/tests/shared-files.spec.ts:42:8
[List Views] › src/tests/shared-files.spec.ts:124:7 › Shared Files › [C280491] Location column redirect - file in site: projects/aca-playwright-shared/src/page-objects/pages/login.page.ts#L51
1) [List Views] › src/tests/shared-files.spec.ts:124:7 › Shared Files › [C280491] Location column redirect - file in site Error: locator.fill: Target page, context or browser has been closed at ../../../projects/aca-playwright-shared/src/page-objects/pages/login.page.ts:51 49 | await this.navigate(); 50 | } > 51 | await this.username.fill(userData.username); | ^ 52 | await this.***.fill(userData.***); 53 | await this.submitButton.click(); 54 | at LoginPage.loginUser (/home/runner/work/alfresco-content-app/alfresco-content-app/projects/aca-playwright-shared/src/page-objects/pages/login.page.ts:51:25) at /home/runner/work/alfresco-content-app/alfresco-content-app/e2e/playwright/list-views/src/tests/shared-files.spec.ts:78:5
[List Views] › src/tests/shared-files.spec.ts:124:7 › Shared Files › [C280491] Location column redirect - file in site: e2e/playwright/list-views/src/tests/shared-files.spec.ts#L1
1) [List Views] › src/tests/shared-files.spec.ts:124:7 › Shared Files › [C280491] Location column redirect - file in site Pending operations: - page.goto at projects/aca-playwright-shared/src/page-objects/pages/base.page.ts:78:23
[List Views] › src/tests/sort-list.spec.ts:232:9 › Remember sorting › User Tests › [C261137] Size sort order is retained when user logs out and logs back in: e2e/playwright/list-views/src/tests/sort-list.spec.ts#L1
2) [List Views] › src/tests/sort-list.spec.ts:232:9 › Remember sorting › User Tests › [C261137] Size sort order is retained when user logs out and logs back in Error: {"error":{"errorKey":"Person 'userSort1-1ekyb' already exists.","statusCode":409,"briefSummary":"00119872 Person 'userSort1-1ekyb' already exists.","stackTrace":"For security reasons the stack trace is no longer displayed, but the property is kept for previous versions","descriptionURL":"https://api-explorer.alfresco.com"}} at Request.callback (/home/runner/work/alfresco-content-app/alfresco-content-app/node_modules/superagent/src/node/index.js:901:17) at fn (/home/runner/work/alfresco-content-app/alfresco-content-app/node_modules/superagent/src/node/index.js:1166:18) at IncomingMessage.<anonymous> (/home/runner/work/alfresco-content-app/alfresco-content-app/node_modules/superagent/src/node/parsers/json.js:19:7)
E2e test suites: Playwright (list-views, 8)
Process completed with exit code 1.
Finalize
Process completed with exit code 1.
build
Cache save failed.
E2e test suites: copyMoveActions
No files were found with the provided path: e2e-output/. No artifacts will be uploaded.
E2e test suites: Playwright (folder-rules, 2)
No files were found with the provided path: test-results/. No artifacts will be uploaded.
E2e test suites: Playwright (authentication, 4)
No files were found with the provided path: test-results/. No artifacts will be uploaded.
E2e test suites: Playwright (navigation, 5)
No files were found with the provided path: test-results/. No artifacts will be uploaded.
E2e test suites: Playwright (pagination, 7)
No files were found with the provided path: test-results/. No artifacts will be uploaded.
E2e test suites: Playwright (viewer, 3)
No files were found with the provided path: test-results/. No artifacts will be uploaded.
E2e test suites: Playwright (copy-move-actions, 10)
No files were found with the provided path: test-results/. No artifacts will be uploaded.
E2e test suites: Playwright (special-permissions, 6)
No files were found with the provided path: test-results/. No artifacts will be uploaded.
E2e test suites: Playwright (actions, 1)
No files were found with the provided path: test-results/. No artifacts will be uploaded.
🎭 Playwright Run Summary
3 passed (30.8s)
🎭 Playwright Run Summary
5 passed (22.7s)
🎭 Playwright Run Summary
16 passed (1.4m)
🎭 Playwright Run Summary
11 passed (2.4m)
🎭 Playwright Run Summary
23 passed (2.9m)
🎭 Playwright Run Summary
1 flaky [Share Action] › src/tests/share/share-file.spec.ts:78:9 › Share a file › when logged out › [C286326] A non-logged user can download the shared file from the viewer 14 passed (3.8m)
🎭 Playwright Run Summary
23 passed (4.5m)
🎭 Playwright Run Summary
64 passed (5.9m)
🎭 Playwright Run Summary
83 passed (9.4m)
🎭 Playwright Run Summary
1 failed [List Views] › src/tests/shared-files.spec.ts:124:7 › Shared Files › [C280491] Location column redirect - file in site 1 flaky [List Views] › src/tests/sort-list.spec.ts:232:9 › Remember sorting › User Tests › [C261137] Size sort order is retained when user logs out and logs back in 2 skipped 55 passed (9.9m)