Skip to content

[ACS-8688] export playwright shared lib #3425

[ACS-8688] export playwright shared lib

[ACS-8688] export playwright shared lib #3425

Triggered via pull request September 3, 2024 11:37
Status Success
Total duration 20m 26s
Artifacts

pull-request.yml

on: pull_request
Matrix: e2es-playwright
Finalize
6s
Finalize
Fit to window
Zoom out
Zoom in

Annotations

11 errors, 25 warnings, and 17 notices
[Navigation] › src/tests/sidebar.e2e.ts:69:7 › Sidebar › [C269096] sidebar toggle: e2e/playwright/navigation/src/tests/sidebar.e2e.ts#L74
1) [Navigation] › src/tests/sidebar.e2e.ts:69:7 › Sidebar › [C269096] sidebar toggle ───────────── Error: Sidebar not expanded expect(received).toBe(expected) // Object.is equality Expected: true Received: false 72 | expect(await personalFiles.sidenav.isSidenavExpanded(), 'Sidebar expanded').toBe(false); 73 | await personalFiles.sidenav.expandSideNav(); > 74 | expect(await personalFiles.sidenav.isSidenavExpanded(), 'Sidebar not expanded').toBe(true); | ^ 75 | }); 76 | 77 | test('[C277224] sidenav returns to the default state when navigating away from the Search Results page', async ({ personalFiles, searchPage }) => { at /home/runner/work/alfresco-content-app/alfresco-content-app/e2e/playwright/navigation/src/tests/sidebar.e2e.ts:74:85
[Create Actions] › src/tests/create-library.e2e.ts:117:9 › Create Libraries › On My Libraries dataTable › [C280025] Create a public library: e2e/playwright/create-actions/src/tests/create-library.e2e.ts#L122
1) [Create Actions] › src/tests/create-library.e2e.ts:117:9 › Create Libraries › On My Libraries dataTable › [C280025] Create a public library Error: Timed out 5000ms waiting for expect(locator).toBeVisible() Locator: locator('adf-breadcrumb .adf-breadcrumb-item[title=playwright-library-1urgb]') Expected: visible Received: <element(s) not found> Call log: - expect.toBeVisible with timeout 5000ms - waiting for locator('adf-breadcrumb .adf-breadcrumb-item[title=playwright-library-1urgb]') 120 | await expect(libraryDialog.getLabelText(libraryIdLabel)).toHaveValue(randomLibraryName); 121 | await libraryDialog.createButton.click(); > 122 | await expect(libraryBreadcrumb.getItemByTitle(randomLibraryName)).toBeVisible(); | ^ 123 | 124 | await myLibrariesPage.navigate(); 125 | await expect(libraryTable.getCellByColumnNameAndRowItem(randomLibraryName, publicVisibility)).toBeVisible(); at /home/runner/work/alfresco-content-app/alfresco-content-app/e2e/playwright/create-actions/src/tests/create-library.e2e.ts:122:73
[Viewer] › src/tests/viewer-action.e2e.ts:199:7 › viewer action file › [MNT-21058] Upload new version action when node is locked: e2e/playwright/viewer/src/tests/viewer-action.e2e.ts#L210
1) [Viewer] › src/tests/viewer-action.e2e.ts:199:7 › viewer action file › [MNT-21058] Upload new version action when node is locked Error: expect(received).toContain(expected) // indexOf Expected substring: "file-docx" Received string: "navigate_before file4-1wgn4.docx navigate_next" 208 | 209 | await personalFiles.viewer.waitForViewerToOpen(); > 210 | expect(await personalFiles.viewer.fileTitleButtonLocator.innerText()).toContain(docxFile); | ^ 211 | 212 | await personalFiles.acaHeader.clickViewerMoreActions(); 213 | await expect(personalFiles.matMenu.getMenuItemFromHeaderMenu('Cancel Editing'), `'Cancel Editing' button shouldn't be shown`).toBeHidden(); at /home/runner/work/alfresco-content-app/alfresco-content-app/e2e/playwright/viewer/src/tests/viewer-action.e2e.ts:210:75
[Folder Rules] › src/tests/update-rules.e2e.ts:148:7 › Rules - Manage Rules › [XAT-903] [XAT-904] Edit existing conditions: e2e/playwright/folder-rules/src/tests/update-rules.e2e.ts#L1
1) [Folder Rules] › src/tests/update-rules.e2e.ts:148:7 › Rules - Manage Rules › [XAT-903] [XAT-904] Edit existing conditions Test timeout of 85000ms exceeded.
[Folder Rules] › src/tests/update-rules.e2e.ts:148:7 › Rules - Manage Rules › [XAT-903] [XAT-904] Edit existing conditions: projects/aca-playwright-shared/src/page-objects/components/conditions.component.ts#L66
1) [Folder Rules] › src/tests/update-rules.e2e.ts:148:7 › Rules - Manage Rules › [XAT-903] [XAT-904] Edit existing conditions Error: locator.fill: Test timeout of 85000ms exceeded. Call log: - waiting for locator('aca-edit-rule-dialog [data-automation-id="value-input"]').nth(1) at ../../../projects/aca-playwright-shared/src/page-objects/components/conditions.component.ts:66 64 | await this.selectComparator(comparators, index); 65 | } > 66 | await this.valueField.nth(index).fill(value); | ^ 67 | } 68 | 69 | async addConditionGroup(fields: Partial<Field>, value: string, index: number, comparators?: Partial<Comparator>): Promise<void> { at ConditionComponent.addCondition (/home/runner/work/alfresco-content-app/alfresco-content-app/projects/aca-playwright-shared/src/page-objects/components/conditions.component.ts:66:38) at /home/runner/work/alfresco-content-app/alfresco-content-app/e2e/playwright/folder-rules/src/tests/update-rules.e2e.ts:153:5
[Search] › src/tests/search-results-general.e2e.ts:109:7 › Search Results - General › [C279178] Results are returned when accessing an URL containing a search query: e2e/playwright/search/src/tests/search-results-general.e2e.ts#L112
1) [Search] › src/tests/search-results-general.e2e.ts:109:7 › Search Results - General › [C279178] Results are returned when accessing an URL containing a search query Error: expect(received).toBeTruthy() Received: false 110 | await searchPage.searchWithin(site, 'libraries'); 111 | > 112 | expect(await searchPage.dataTable.isItemPresent(site)).toBeTruthy(); | ^ 113 | 114 | const url = searchPage.page.url(); 115 | at /home/runner/work/alfresco-content-app/alfresco-content-app/e2e/playwright/search/src/tests/search-results-general.e2e.ts:112:60
[special-permissions] › src/tests/other-permissions.ts:175:11 › Special permissions : › File locked - user is lock owner › available actions : › available actions in the file select : › on Favorites - [C297659]: projects/aca-playwright-shared/src/page-objects/components/dataTable/mat-menu.component.ts#L72
1) [special-permissions] › src/tests/other-permissions.ts:175:11 › Special permissions : › File locked - user is lock owner › available actions : › available actions in the file select : › on Favorites - [C297659] Error: Expected to contain Remove Favorite Cancel Editing,Upload New Version,Favorite,Move,Copy,Delete,Manage Versions expect(received).toBe(expected) // Object.is equality Expected: true Received: false at ../../../projects/aca-playwright-shared/src/page-objects/components/dataTable/mat-menu.component.ts:72 70 | ); 71 | for (const action of expectedToolbarMore) { > 72 | expect(actualMoreActions.includes(action), `Expected to contain ${action} ${actualMoreActions}`).toBe(true); | ^ 73 | } 74 | } 75 | } at MatMenuComponent.verifyActualMoreActions (/home/runner/work/alfresco-content-app/alfresco-content-app/projects/aca-playwright-shared/src/page-objects/components/dataTable/mat-menu.component.ts:72:104) at checkActionsAvailable (/home/runner/work/alfresco-content-app/alfresco-content-app/e2e/playwright/special-permissions-actions-available/src/tests/other-permissions.ts:38:3) at /home/runner/work/alfresco-content-app/alfresco-content-app/e2e/playwright/special-permissions-actions-available/src/tests/other-permissions.ts:177:9
[Copy Move Actions] › src/tests/destination-picker-dialog.e2e.ts:89:7 › Copy Move actions › [C263877] Contributor user can select the folder as destination: e2e/playwright/copy-move-actions/src/tests/destination-picker-dialog.e2e.ts#L1
1) [Copy Move Actions] › src/tests/destination-picker-dialog.e2e.ts:89:7 › Copy Move actions › [C263877] Contributor user can select the folder as destination Test timeout of 150000ms exceeded.
[Copy Move Actions] › src/tests/destination-picker-dialog.e2e.ts:89:7 › Copy Move actions › [C263877] Contributor user can select the folder as destination: projects/aca-playwright-shared/src/page-objects/components/dataTable/data-table.component.ts#L199
1) [Copy Move Actions] › src/tests/destination-picker-dialog.e2e.ts:89:7 › Copy Move actions › [C263877] Contributor user can select the folder as destination Error: locator.click: Test timeout of 150000ms exceeded. Call log: - waiting for locator('adf-datatable .adf-cell-value span[role="link"]').filter({ hasText: 'site-1vr4m' }) at ../../../projects/aca-playwright-shared/src/page-objects/components/dataTable/data-table.component.ts:199 197 | */ 198 | async performClickFolderOrFileToOpen(name: string): Promise<void> { > 199 | await this.getCellLinkByName(name).click(); | ^ 200 | await this.spinnerWaitForReload(); 201 | } 202 | at DataTableComponent.performClickFolderOrFileToOpen (/home/runner/work/alfresco-content-app/alfresco-content-app/projects/aca-playwright-shared/src/page-objects/components/dataTable/data-table.component.ts:199:40) at copyContentInMyLibraries (/home/runner/work/alfresco-content-app/alfresco-content-app/e2e/playwright/copy-move-actions/src/tests/destination-picker-dialog.e2e.ts:76:37) at /home/runner/work/alfresco-content-app/alfresco-content-app/e2e/playwright/copy-move-actions/src/tests/destination-picker-dialog.e2e.ts:92:11
[List Views] › src/tests/trash.e2e.ts:92:9 › Trash › Regular user's personal files › [C280500] Location column is empty if parent folder no longer exists: e2e/playwright/list-views/src/tests/trash.e2e.ts#L1
1) [List Views] › src/tests/trash.e2e.ts:92:9 › Trash › Regular user's personal files › [C280500] Location column is empty if parent folder no longer exists Test timeout of 85000ms exceeded.
[List Views] › src/tests/trash.e2e.ts:92:9 › Trash › Regular user's personal files › [C280500] Location column is empty if parent folder no longer exists: projects/aca-playwright-shared/src/page-objects/components/dataTable/data-table.component.ts#L275
1) [List Views] › src/tests/trash.e2e.ts:92:9 › Trash › Regular user's personal files › [C280500] Location column is empty if parent folder no longer exists Error: locator.waitFor: Test timeout of 85000ms exceeded. Call log: - waiting for locator('adf-datatable adf-datatable-row').filter({ hasText: 'file-bfkl2.txt' }).locator('.aca-location-link').locator('a') at ../../../projects/aca-playwright-shared/src/page-objects/components/dataTable/data-table.component.ts:275 273 | 274 | async getItemLocationText(name: string): Promise<string> { > 275 | await this.getItemLocationEl(name).locator('a').waitFor({ state: 'attached' }); | ^ 276 | return this.getItemLocationEl(name).innerText(); 277 | } 278 | at DataTableComponent.getItemLocationText (/home/runner/work/alfresco-content-app/alfresco-content-app/projects/aca-playwright-shared/src/page-objects/components/dataTable/data-table.component.ts:275:53) at /home/runner/work/alfresco-content-app/alfresco-content-app/e2e/playwright/list-views/src/tests/trash.e2e.ts:93:40
lint
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-node@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
build
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-node@v3, actions/cache/save@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Unit tests
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-node@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
E2E Playwright - authentication
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-node@v3, actions/cache/restore@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
E2E Playwright - edit-actions
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-node@v3, actions/cache/restore@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
E2E Playwright - favorite-actions
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-node@v3, actions/cache/restore@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
E2E Playwright - navigation
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-node@v3, actions/cache/restore@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Slow Test: [Info Drawer] › src/tests/general.e2e.ts#L1
[Info Drawer] › src/tests/general.e2e.ts took 23.0s
Slow Test: [Info Drawer] › src/tests/file-preview.e2e.ts#L1
[Info Drawer] › src/tests/file-preview.e2e.ts took 19.8s
E2E Playwright - info-drawer
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-node@v3, actions/cache/restore@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
E2E Playwright - create-actions
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-node@v3, actions/cache/restore@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
E2E Playwright - share-action
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-node@v3, actions/cache/restore@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
E2E Playwright - pagination
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-node@v3, actions/cache/restore@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
E2E Playwright - upload-download-actions
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-node@v3, actions/cache/restore@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
E2E Playwright - delete-actions
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-node@v3, actions/cache/restore@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Slow Test: [Viewer] › src/tests/viewer-useraction.e2e.ts#L1
[Viewer] › src/tests/viewer-useraction.e2e.ts took 22.7s
E2E Playwright - viewer
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-node@v3, actions/cache/restore@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
E2E Playwright - library-actions
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-node@v3, actions/cache/restore@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
E2E Playwright - folder-rules
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-node@v3, actions/cache/restore@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Slow Test: [Search] › src/tests/search-filters-general.e2e.ts#L1
[Search] › src/tests/search-filters-general.e2e.ts took 35.9s
E2E Playwright - search
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-node@v3, actions/cache/restore@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
E2E Playwright - special-permissions
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-node@v3, actions/cache/restore@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
E2E Playwright - copy-move-actions
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-node@v3, actions/cache/restore@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
E2E Playwright - list-views
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-node@v3, actions/cache/restore@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Finalize
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
🎭 Playwright Run Summary
5 passed (18.3s)
🎭 Playwright Run Summary
11 passed (1.1m)
🎭 Playwright Run Summary
9 passed (1.2m)
🎭 Playwright Run Summary
1 flaky [Navigation] › src/tests/sidebar.e2e.ts:69:7 › Sidebar › [C269096] sidebar toggle ────────────── 15 passed (2.0m)
🎭 Playwright Run Summary
18 passed (2.2m)
🎭 Playwright Run Summary
1 flaky [Create Actions] › src/tests/create-library.e2e.ts:117:9 › Create Libraries › On My Libraries dataTable › [C280025] Create a public library 19 passed (2.3m)
🎭 Playwright Run Summary
15 passed (2.4m)
🎭 Playwright Run Summary
11 passed (2.4m)
🎭 Playwright Run Summary
29 passed (2.8m)
🎭 Playwright Run Summary
23 passed (3.5m)
🎭 Playwright Run Summary
1 flaky [Viewer] › src/tests/viewer-action.e2e.ts:199:7 › viewer action file › [MNT-21058] Upload new version action when node is locked 26 passed (3.6m)
🎭 Playwright Run Summary
19 passed (4.3m)
🎭 Playwright Run Summary
1 flaky [Folder Rules] › src/tests/update-rules.e2e.ts:148:7 › Rules - Manage Rules › [XAT-903] [XAT-904] Edit existing conditions 23 passed (5.1m)
🎭 Playwright Run Summary
1 flaky [Search] › src/tests/search-results-general.e2e.ts:109:7 › Search Results - General › [C279178] Results are returned when accessing an URL containing a search query 45 passed (6.3m)
🎭 Playwright Run Summary
1 flaky [special-permissions] › src/tests/other-permissions.ts:175:11 › Special permissions : › File locked - user is lock owner › available actions : › available actions in the file select : › on Favorites - [C297659] 63 passed (6.4m)
🎭 Playwright Run Summary
1 flaky [Copy Move Actions] › src/tests/destination-picker-dialog.e2e.ts:89:7 › Copy Move actions › [C263877] Contributor user can select the folder as destination 22 passed (6.6m)
🎭 Playwright Run Summary
1 flaky [List Views] › src/tests/trash.e2e.ts:92:9 › Trash › Regular user's personal files › [C280500] Location column is empty if parent folder no longer exists 63 passed (7.2m)