[ACS-5882] infoDrawer comments tests migrated to Playwright #2129
Annotations
5 errors, 1 warning, and 1 notice
e2e/playwright/navigation/src/tests/breadcrumb-admin.spec.ts#L55
1) [Navigation] › src/tests/breadcrumb-admin.spec.ts:52:7 › as admin › [C260970] Breadcrumb on navigation to a user's home
Error: expect(received).toEqual(expected) // deep equality
- Expected - 2
+ Received + 0
Array [
"Personal Files",
- "User Homes",
- "userAdmin-1gf5e",
"userFolder-1v6lu",
]
53 | await personalFiles.navigate({ remoteUrl: `#/personal-files/${userFolderId}` });
54 | personalFiles.breadcrumb.getItemByTitle(username).waitFor({ state: 'attached' });
> 55 | expect(await personalFiles.breadcrumb.getAllItems()).toEqual(['Personal Files', 'User Homes', username, userFolder]);
| ^
56 | });
57 | });
58 |
at /home/runner/work/alfresco-content-app/alfresco-content-app/e2e/playwright/navigation/src/tests/breadcrumb-admin.spec.ts:55:58
|
e2e/playwright/navigation/src/tests/breadcrumb-admin.spec.ts#L55
1) [Navigation] › src/tests/breadcrumb-admin.spec.ts:52:7 › as admin › [C260970] Breadcrumb on navigation to a user's home
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toEqual(expected) // deep equality
- Expected - 2
+ Received + 0
Array [
"Personal Files",
- "User Homes",
- "userAdmin-1ipr4",
"userFolder-ehdhf",
]
53 | await personalFiles.navigate({ remoteUrl: `#/personal-files/${userFolderId}` });
54 | personalFiles.breadcrumb.getItemByTitle(username).waitFor({ state: 'attached' });
> 55 | expect(await personalFiles.breadcrumb.getAllItems()).toEqual(['Personal Files', 'User Homes', username, userFolder]);
| ^
56 | });
57 | });
58 |
at /home/runner/work/alfresco-content-app/alfresco-content-app/e2e/playwright/navigation/src/tests/breadcrumb-admin.spec.ts:55:58
|
e2e/playwright/navigation/src/tests/breadcrumb-admin.spec.ts#L55
1) [Navigation] › src/tests/breadcrumb-admin.spec.ts:52:7 › as admin › [C260970] Breadcrumb on navigation to a user's home
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toEqual(expected) // deep equality
- Expected - 2
+ Received + 0
Array [
"Personal Files",
- "User Homes",
- "userAdmin-1e6fr",
"userFolder-nsqz9",
]
53 | await personalFiles.navigate({ remoteUrl: `#/personal-files/${userFolderId}` });
54 | personalFiles.breadcrumb.getItemByTitle(username).waitFor({ state: 'attached' });
> 55 | expect(await personalFiles.breadcrumb.getAllItems()).toEqual(['Personal Files', 'User Homes', username, userFolder]);
| ^
56 | });
57 | });
58 |
at /home/runner/work/alfresco-content-app/alfresco-content-app/e2e/playwright/navigation/src/tests/breadcrumb-admin.spec.ts:55:58
|
e2e/playwright/navigation/src/tests/breadcrumb.spec.ts#L67
2) [Navigation] › src/tests/breadcrumb.spec.ts:119:7 › viewer action file › [C213240] Browser back navigates to previous location regardless of breadcrumb steps
TypeError: Cannot read properties of null (reading 'entry')
65 | await sitesApiAction.createSite(siteName, Site.VisibilityEnum.PUBLIC);
66 | docLibId = await sitesApiAction.getDocLibId(siteName);
> 67 | parentFromSiteId = (await nodesApiAction.createFolder(parentFromSite, docLibId)).entry.id;
| ^
68 | subFolder1FromSiteId = (await nodesApiAction.createFolder(subFolder1FromSite, parentFromSiteId)).entry.id;
69 | subFolder2FromSiteId = (await nodesApiAction.createFolder(subFolder2FromSite, subFolder1FromSiteId)).entry.id;
70 | await nodesApiAction.createFile(fileName1FromSite, subFolder2FromSiteId);
at /home/runner/work/alfresco-content-app/alfresco-content-app/e2e/playwright/navigation/src/tests/breadcrumb.spec.ts:67:86
|
|
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-node@v3, actions/cache/restore@v3, actions/upload-artifact@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
1 failed
[Navigation] › src/tests/breadcrumb-admin.spec.ts:52:7 › as admin › [C260970] Breadcrumb on navigation to a user's home
1 flaky
[Navigation] › src/tests/breadcrumb.spec.ts:119:7 › viewer action file › [C213240] Browser back navigates to previous location regardless of breadcrumb steps
14 passed (2.1m)
|
The logs for this run have expired and are no longer available.
Loading