[ACS-7466] [E2E] Added e2e tests for search highlighting #3482
Annotations
7 errors, 1 warning, and 1 notice
|
|
e2e/playwright/library-actions/src/tests/library-actions.e2e.ts#L340
1) [Library Actions] › src/tests/library-actions.e2e.ts:337:9 › Library actions › Search Page › [C306959] Join a public library from Search Results
Error: Timed out 5000ms waiting for expect(locator).toBeVisible()
Locator: locator('adf-datatable adf-datatable-row').filter({ hasText: 'playwright-A-library-zlhug' }).locator('[title="Not a member"]')
Expected: visible
Received: <element(s) not found>
Call log:
- expect.toBeVisible with timeout 5000ms
- waiting for locator('adf-datatable adf-datatable-row').filter({ hasText: 'playwright-A-library-zlhug' }).locator('[title="Not a member"]')
338 | await searchPage.navigate({ remoteUrl: `#/search-libraries;q=${adminLibrary2}` });
339 | await searchPage.reload({ waitUntil: loadString });
> 340 | await expect(libraryTable.getCellByColumnNameAndRowItem(adminLibrary2, notMemberString)).toBeVisible();
| ^
341 | await libraryTable.performActionFromExpandableMenu(adminLibrary2, joinButton);
342 | await expect.soft(snackBar.getByMessageLocator(libraryJoinedMessage)).toBeVisible();
343 | await expect(libraryTable.getCellByColumnNameAndRowItem(adminLibrary2, consumerRole)).toBeVisible();
at /home/runner/work/alfresco-content-app/alfresco-content-app/e2e/playwright/library-actions/src/tests/library-actions.e2e.ts:340:96
|
e2e/playwright/library-actions/src/tests/library-actions.e2e.ts#L1
1) [Library Actions] › src/tests/library-actions.e2e.ts:337:9 › Library actions › Search Page › [C306959] Join a public library from Search Results
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Test was interrupted.
|
e2e/playwright/library-actions/src/tests/library-actions.e2e.ts#L340
1) [Library Actions] › src/tests/library-actions.e2e.ts:337:9 › Library actions › Search Page › [C306959] Join a public library from Search Results
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(locator).toBeVisible()
Locator: locator('adf-datatable adf-datatable-row').filter({ hasText: 'playwright-A-library-129ed' }).locator('[title="Not a member"]')
Expected: visible
Received: <element(s) not found>
Call log:
- expect.toBeVisible with timeout 5000ms
- waiting for locator('adf-datatable adf-datatable-row').filter({ hasText: 'playwright-A-library-129ed' }).locator('[title="Not a member"]')
338 | await searchPage.navigate({ remoteUrl: `#/search-libraries;q=${adminLibrary2}` });
339 | await searchPage.reload({ waitUntil: loadString });
> 340 | await expect(libraryTable.getCellByColumnNameAndRowItem(adminLibrary2, notMemberString)).toBeVisible();
| ^
341 | await libraryTable.performActionFromExpandableMenu(adminLibrary2, joinButton);
342 | await expect.soft(snackBar.getByMessageLocator(libraryJoinedMessage)).toBeVisible();
343 | await expect(libraryTable.getCellByColumnNameAndRowItem(adminLibrary2, consumerRole)).toBeVisible();
at /home/runner/work/alfresco-content-app/alfresco-content-app/e2e/playwright/library-actions/src/tests/library-actions.e2e.ts:340:96
|
e2e/playwright/library-actions/src/tests/library-actions.e2e.ts#L1
2) [Library Actions] › src/tests/library-actions.e2e.ts:260:9 › Library actions › Favorite Libraries page › [C290109] Join a moderated library from Favorite Libraries
Error: {"error":{"errorKey":"framework.exception.EntityNotFound","statusCode":404,"briefSummary":"08120948 The entity with id: playwright-Am-library-d91mu was not found","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","logId":"9dcd9ca9-7272-4ab2-8d9c-a97272bab2d7"}}
at Request.callback (/home/runner/work/alfresco-content-app/alfresco-content-app/node_modules/superagent/src/node/index.js:875:17)
at fn (/home/runner/work/alfresco-content-app/alfresco-content-app/node_modules/superagent/src/node/index.js:1165:18)
at IncomingMessage.<anonymous> (/home/runner/work/alfresco-content-app/alfresco-content-app/node_modules/superagent/src/node/parsers/json.js:19:7)
|
|
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/
|
1 failed
[Library Actions] › src/tests/library-actions.e2e.ts:337:9 › Library actions › Search Page › [C306959] Join a public library from Search Results
1 flaky
[Library Actions] › src/tests/library-actions.e2e.ts:260:9 › Library actions › Favorite Libraries page › [C290109] Join a moderated library from Favorite Libraries
1 did not run
16 passed (10.0m)
|
This job failed
Loading