[ACS-6668] [ACS-6669] e2e migration - Info Drawer general and library properties tests #2228
Annotations
4 errors, 1 warning, and 1 notice
e2e/playwright/pagination/src/tests/multiple-pages-files.spec.ts#L39
1) [Pagination] › src/tests/personal-files.ts:89:9 › Pagination on multiple pages : › on Personal Files › Pagination controls : › [C280081] Previous button is disabled on first page
"beforeAll" hook timeout of 150000ms exceeded.
at src/tests/multiple-pages-files.spec.ts:39
37 | const apiClientFactory = new ApiClientFactory();
38 |
> 39 | test.beforeAll(async () => {
| ^
40 | test.setTimeout(timeouts.extendedTest);
41 | await apiClientFactory.setUpAcaBackend('admin');
42 | await apiClientFactory.createUser({ username });
at /home/runner/work/alfresco-content-app/alfresco-content-app/e2e/playwright/pagination/src/tests/multiple-pages-files.spec.ts:39:8
|
projects/aca-playwright-shared/src/page-objects/components/pagination.component.ts#L87
1) [Pagination] › src/tests/personal-files.ts:89:9 › Pagination on multiple pages : › on Personal Files › Pagination controls : › [C280081] Previous button is disabled on first page
Error: locator.innerText: Page closed
=========================== logs ===========================
waiting for locator('adf-pagination .adf-pagination__current-page')
============================================================
at ../../../projects/aca-playwright-shared/src/page-objects/components/pagination.component.ts:87
85 |
86 | async getCurrentPage(): Promise<string> {
> 87 | return this.currentPage.innerText();
| ^
88 | }
89 |
90 | async getTotalPages(): Promise<string> {
at PaginationComponent.getCurrentPage (/home/runner/work/alfresco-content-app/alfresco-content-app/projects/aca-playwright-shared/src/page-objects/components/pagination.component.ts:87:29)
at /home/runner/work/alfresco-content-app/alfresco-content-app/e2e/playwright/pagination/src/tests/personal-files.ts:90:45
|
e2e/playwright/pagination/src/tests/personal-files.ts#L1
1) [Pagination] › src/tests/personal-files.ts:89:9 › Pagination on multiple pages : › on Personal Files › Pagination controls : › [C280081] Previous button is disabled on first page
Pending operations:
- locator.innerText at projects/aca-playwright-shared/src/page-objects/components/pagination.component.ts:87:29
|
e2e/playwright/pagination/src/tests/favorites.ts#L88
2) [Pagination] › src/tests/favorites.ts:79:9 › Pagination on multiple pages : › on Favorites › Pagination controls : › [C280119] navigate to next and previous pages
Error: expect(received).toContain(expected) // indexOf
Expected substring: "Showing 1-25 of 51"
Received string: "Showing 26-50 of 51"
86 | await favoritePage.pagination.clickOnPreviousPage();
87 | await favoritePage.dataTable.spinnerWaitForReload();
> 88 | expect(await favoritePage.pagination.getRange()).toContain('Showing 1-25 of 51');
| ^
89 | });
90 |
91 | test('[C280118] Next button is disabled on last page', async ({ favoritePage }) => {
at /home/runner/work/alfresco-content-app/alfresco-content-app/e2e/playwright/pagination/src/tests/favorites.ts:88:56
|
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. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
2 flaky
[Pagination] › src/tests/personal-files.ts:89:9 › Pagination on multiple pages : › on Personal Files › Pagination controls : › [C280081] Previous button is disabled on first page
[Pagination] › src/tests/favorites.ts:79:9 › Pagination on multiple pages : › on Favorites › Pagination controls : › [C280119] navigate to next and previous pages
9 passed (4.9m)
|
The logs for this run have expired and are no longer available.
Loading