[ACS-6435] playwright e2e for list views personal files #1888
Annotations
10 errors and 1 notice
e2e/playwright/list-views/src/tests/file-libraries.spec.ts#L131
1) [List Views] › src/tests/file-libraries.spec.ts:121:9 › File Libraries › My Libraries › [C289903] User role is correctly displayed
TypeError: Cannot read properties of undefined (reading 'toLowerCase')
129 | for (const [site, role] of Object.keys(expectedSitesRoles)) {
130 | const sitesRowNames = await myLibrariesPage.dataTable.getRowAllInnerTexts(site);
> 131 | expect(sitesRowNames.toLowerCase()).toContain(role.split('Site')[1].toLowerCase());
| ^
132 | }
133 | });
134 |
at /home/runner/work/alfresco-content-app/alfresco-content-app/e2e/playwright/list-views/src/tests/file-libraries.spec.ts:131:76
|
e2e/playwright/list-views/src/tests/file-libraries.spec.ts#L131
1) [List Views] › src/tests/file-libraries.spec.ts:121:9 › File Libraries › My Libraries › [C289903] User role is correctly displayed
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
TypeError: Cannot read properties of undefined (reading 'toLowerCase')
129 | for (const [site, role] of Object.keys(expectedSitesRoles)) {
130 | const sitesRowNames = await myLibrariesPage.dataTable.getRowAllInnerTexts(site);
> 131 | expect(sitesRowNames.toLowerCase()).toContain(role.split('Site')[1].toLowerCase());
| ^
132 | }
133 | });
134 |
at /home/runner/work/alfresco-content-app/alfresco-content-app/e2e/playwright/list-views/src/tests/file-libraries.spec.ts:131:76
|
e2e/playwright/list-views/src/tests/file-libraries.spec.ts#L131
1) [List Views] › src/tests/file-libraries.spec.ts:121:9 › File Libraries › My Libraries › [C289903] User role is correctly displayed
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
TypeError: Cannot read properties of undefined (reading 'toLowerCase')
129 | for (const [site, role] of Object.keys(expectedSitesRoles)) {
130 | const sitesRowNames = await myLibrariesPage.dataTable.getRowAllInnerTexts(site);
> 131 | expect(sitesRowNames.toLowerCase()).toContain(role.split('Site')[1].toLowerCase());
| ^
132 | }
133 | });
134 |
at /home/runner/work/alfresco-content-app/alfresco-content-app/e2e/playwright/list-views/src/tests/file-libraries.spec.ts:131:76
|
e2e/playwright/list-views/src/tests/trash.spec.ts#L1
2) [List Views] › src/tests/trash.spec.ts:104:9 › Trash › Regular user's personal files › [C217144] Location column redirect - file in user Home
Test timeout of 45000ms exceeded.
|
projects/aca-playwright-shared/src/page-objects/components/dataTable/data-table.component.ts#L268
2) [List Views] › src/tests/trash.spec.ts:104:9 › Trash › Regular user's personal files › [C217144] Location column redirect - file in user Home
Error: locator.click: Page closed
=========================== logs ===========================
waiting for locator('adf-datatable adf-datatable-row').filter({ hasText: 'file-upram.txt' }).locator('.aca-location-link')
============================================================
at ../../../projects/aca-playwright-shared/src/page-objects/components/dataTable/data-table.component.ts:268
266 |
267 | async clickItemLocation(name: string): Promise<void> {
> 268 | await this.getItemLocationEl(name).click();
| ^
269 | }
270 |
271 | async getSortingOrder(): Promise<string> {
at DataTableComponent.clickItemLocation (/home/runner/work/alfresco-content-app/alfresco-content-app/projects/aca-playwright-shared/src/page-objects/components/dataTable/data-table.component.ts:268:40)
at /home/runner/work/alfresco-content-app/alfresco-content-app/e2e/playwright/list-views/src/tests/trash.spec.ts:105:33
|
e2e/playwright/list-views/src/tests/trash.spec.ts#L1
2) [List Views] › src/tests/trash.spec.ts:104:9 › Trash › Regular user's personal files › [C217144] Location column redirect - file in user Home
Pending operations:
- locator.click at projects/aca-playwright-shared/src/page-objects/components/dataTable/data-table.component.ts:268:40
|
e2e/playwright/list-views/src/tests/trash.spec.ts#L1
2) [List Views] › src/tests/trash.spec.ts:104:9 › Trash › Regular user's personal files › [C217144] Location column redirect - file in user Home
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Test timeout of 45000ms exceeded.
|
projects/aca-playwright-shared/src/page-objects/components/dataTable/data-table.component.ts#L268
2) [List Views] › src/tests/trash.spec.ts:104:9 › Trash › Regular user's personal files › [C217144] Location column redirect - file in user Home
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: locator.click: Page closed
=========================== logs ===========================
waiting for locator('adf-datatable adf-datatable-row').filter({ hasText: 'file-1ixkk.txt' }).locator('.aca-location-link')
============================================================
at ../../../projects/aca-playwright-shared/src/page-objects/components/dataTable/data-table.component.ts:268
266 |
267 | async clickItemLocation(name: string): Promise<void> {
> 268 | await this.getItemLocationEl(name).click();
| ^
269 | }
270 |
271 | async getSortingOrder(): Promise<string> {
at DataTableComponent.clickItemLocation (/home/runner/work/alfresco-content-app/alfresco-content-app/projects/aca-playwright-shared/src/page-objects/components/dataTable/data-table.component.ts:268:40)
at /home/runner/work/alfresco-content-app/alfresco-content-app/e2e/playwright/list-views/src/tests/trash.spec.ts:105:33
|
e2e/playwright/list-views/src/tests/trash.spec.ts#L1
2) [List Views] › src/tests/trash.spec.ts:104:9 › Trash › Regular user's personal files › [C217144] Location column redirect - file in user Home
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Pending operations:
- locator.click at projects/aca-playwright-shared/src/page-objects/components/dataTable/data-table.component.ts:268:40
|
e2e/playwright/list-views/src/tests/trash.spec.ts#L1
2) [List Views] › src/tests/trash.spec.ts:104:9 › Trash › Regular user's personal files › [C217144] Location column redirect - file in user Home
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Test timeout of 45000ms exceeded.
|
2 failed
[List Views] › src/tests/file-libraries.spec.ts:121:9 › File Libraries › My Libraries › [C289903] User role is correctly displayed
[List Views] › src/tests/trash.spec.ts:104:9 › Trash › Regular user's personal files › [C217144] Location column redirect - file in user Home
3 flaky
[List Views] › src/tests/personal-files.spec.ts:71:9 › Personal Files › Regular user's personal files › [C213245] redirects to Personal Files on clicking the link from sidebar
[List Views] › src/tests/recent-files.spec.ts:87:7 › Recent Files › [C213168] has the correct columns
[List Views] › src/tests/trash.spec.ts:110:9 › Trash › Regular user's personal files › [C280496] Location column redirect - file in folder
32 passed (8.1m)
|
The logs for this run have expired and are no longer available.
Loading