[ACS-8063] Migrate editActions e2e from Protractor to Playwright #3137
Annotations
7 errors, 1 warning, and 1 notice
e2e/playwright/search/src/tests/search-filters-location.e2e.ts#L85
1) [Search] › src/tests/search-filters-location.e2e.ts:81:7 › Search - Filters - Location › [C279231] Filter by location - folders
Error: Timed out 5000ms waiting for expect(locator).toBeVisible()
Locator: locator('adf-datatable adf-datatable-row').filter({ hasText: '1qolc-folderSite' })
Expected: visible
Received: <element(s) not found>
Call log:
- expect.toBeVisible with timeout 5000ms
- waiting for locator('adf-datatable adf-datatable-row').filter({ hasText: '1qolc-folderSite' })
83 |
84 | await expect(searchPage.dataTable.getRowByName(userFolder)).toBeVisible();
> 85 | await expect(searchPage.dataTable.getRowByName(siteFolder)).toBeVisible();
| ^
86 |
87 | await searchPage.searchFiltersLocation.filterByLocation(searchPage, site);
88 |
at /home/runner/work/alfresco-content-app/alfresco-content-app/e2e/playwright/search/src/tests/search-filters-location.e2e.ts:85:65
|
e2e/playwright/search/src/tests/search-filters-logic.e2e.ts#L157
2) [Search] › src/tests/search-filters-logic.e2e.ts:146:7 › Search - Filters - Logic › [C699504] Filter with all options
Error: expect(received).toBe(expected) // Object.is equality
Expected: 1
Received: 0
155 | await searchPage.dataTable.progressBarWaitForReload();
156 |
> 157 | expect(await searchPage.dataTable.getRowsCount()).toBe(1);
| ^
158 | await expect(searchPage.dataTable.getRowByName(logicFile1.name)).toBeHidden();
159 | await expect(searchPage.dataTable.getRowByName(logicFile2.name)).toBeVisible();
160 | });
at /home/runner/work/alfresco-content-app/alfresco-content-app/e2e/playwright/search/src/tests/search-filters-logic.e2e.ts:157:55
|
e2e/playwright/search/src/tests/search-filters-properties.e2e.ts#L92
3) [Search] › src/tests/search-filters-properties.e2e.ts:87:7 › Search - Filters - Properties › [C699047] Filter by type
Error: Timed out 5000ms waiting for expect(locator).toBeVisible()
Locator: locator('adf-datatable adf-datatable-row').filter({ hasText: 'fra7b-fileNameKb.pdf' })
Expected: visible
Received: <element(s) not found>
Call log:
- expect.toBeVisible with timeout 5000ms
- waiting for locator('adf-datatable adf-datatable-row').filter({ hasText: 'fra7b-fileNameKb.pdf' })
90 |
91 | await expect(searchPage.searchFilters.propertiesFilter).toContainText('Properties: pdf');
> 92 | await expect(searchPage.dataTable.getRowByName(fileNamePdfKb)).toBeVisible();
| ^
93 | await expect(searchPage.dataTable.getRowByName(fileNameJpgMb)).toBeHidden();
94 | });
95 | });
at /home/runner/work/alfresco-content-app/alfresco-content-app/e2e/playwright/search/src/tests/search-filters-properties.e2e.ts:92:68
|
e2e/playwright/search/src/tests/search-results-files-folders.e2e.ts#L1
4) [Search] › src/tests/search-results-files-folders.e2e.ts:63:7 › Search results - files and folders › [C279177] Location column redirect - file in user Home
Test timeout of 85000ms exceeded.
|
e2e/playwright/search/src/tests/search-results-files-folders.e2e.ts#L71
4) [Search] › src/tests/search-results-files-folders.e2e.ts:63:7 › Search results - files and folders › [C279177] Location column redirect - file in user Home
Error: locator.textContent: Test timeout of 85000ms exceeded.
Call log:
- waiting for locator('adf-breadcrumb .adf-breadcrumb-item')
69 | await searchPage.searchWithin(file, 'files');
70 | await searchPage.dataTable.clickItemLocation(file);
> 71 | expect((await personalFiles.breadcrumb.items.textContent()).trim()).toEqual('Personal Files');
| ^
72 | });
73 | });
74 |
at /home/runner/work/alfresco-content-app/alfresco-content-app/e2e/playwright/search/src/tests/search-results-files-folders.e2e.ts:71:50
|
e2e/playwright/search/src/tests/search-results-general.e2e.ts#L98
5) [Search] › src/tests/search-results-general.e2e.ts:95:7 › Search Results - General › [C279162] Results are updated automatically when changing the search term
Error: expect(received).toBeTruthy()
Received: false
96 | await searchPage.searchWithin(file, 'filesAndFolders');
97 |
> 98 | expect(await searchPage.dataTable.isItemPresent(file)).toBeTruthy();
| ^
99 | expect(await searchPage.dataTable.isItemPresent(folder)).toBeFalsy();
100 |
101 | await searchPage.searchInput.searchButton.click();
at /home/runner/work/alfresco-content-app/alfresco-content-app/e2e/playwright/search/src/tests/search-results-general.e2e.ts:98:60
|
e2e/playwright/search/src/tests/search-sorting.e2e.ts#L114
6) [Search] › src/tests/search-sorting.e2e.ts:162:9 › Search sorting › [C277736] Sort by Modified date
Error: expect(received).toContain(expected) // indexOf
Expected substring: "search-sort-u6igw-file-1.jpg"
Received string: " Select file search-sort-u6igw-file-2.pdf ( search sort title )search-sort-${random}-fileCompany Home › User Homes › user1-u6igw › parent-u6igw2.96 KB less than a minute ago user2-u6igw user2-u6igw View 0 more "
112 | await searchPage.searchSortingPicker.sortBy(sortBy, sortOrder);
113 |
> 114 | expect(await searchPage.dataTable.getNthRow(0).textContent()).toContain(expectedFirstFile);
| ^
115 | expect(await searchPage.dataTable.getNthRow(1).textContent()).toContain(expectedSecondFile);
116 | }
117 |
at testSearchSorting (/home/runner/work/alfresco-content-app/alfresco-content-app/e2e/playwright/search/src/tests/search-sorting.e2e.ts:114:67)
at /home/runner/work/alfresco-content-app/alfresco-content-app/e2e/playwright/search/src/tests/search-sorting.e2e.ts:163:7
|
The following actions uses Node.js version which is deprecated 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/
|
6 flaky
[Search] › src/tests/search-filters-location.e2e.ts:81:7 › Search - Filters - Location › [C279231] Filter by location - folders
[Search] › src/tests/search-filters-logic.e2e.ts:146:7 › Search - Filters - Logic › [C699504] Filter with all options
[Search] › src/tests/search-filters-properties.e2e.ts:87:7 › Search - Filters - Properties › [C699047] Filter by type
[Search] › src/tests/search-results-files-folders.e2e.ts:63:7 › Search results - files and folders › [C279177] Location column redirect - file in user Home
[Search] › src/tests/search-results-general.e2e.ts:95:7 › Search Results - General › [C279162] Results are updated automatically when changing the search term
[Search] › src/tests/search-sorting.e2e.ts:162:9 › Search sorting › [C277736] Sort by Modified date
40 passed (7.8m)
|
This job succeeded
Loading