[ACS-8956] Add new ESLint rule for self-closing tags #3806
pull-request.yml
on: pull_request
Annotations
18 errors, 5 warnings, and 17 notices
[Authentication] › src/tests/login.e2e.ts:62:9 › viewer file › general tests › [C213089] login page layout:
e2e/playwright/authentication/src/tests/login.e2e.ts#L1
1) [Authentication] › src/tests/login.e2e.ts:62:9 › viewer file › general tests › [C213089] login page layout
Error: {"error":{"errorKey":"Person 'user-1ccxu' already exists.","statusCode":409,"briefSummary":"09311435 Person 'user-1ccxu' already exists.","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":"f9959fa8-2ba4-4a55-959f-a82ba4da55d4"}}
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)
|
[Create Actions] › src/tests/create-library.e2e.ts:117:9 › Create Libraries › On My Libraries dataTable › [C280025] Create a public library:
e2e/playwright/create-actions/src/tests/create-library.e2e.ts#L122
1) [Create Actions] › src/tests/create-library.e2e.ts:117:9 › Create Libraries › On My Libraries dataTable › [C280025] Create a public library
Error: Timed out 5000ms waiting for expect(locator).toBeVisible()
Locator: locator('adf-breadcrumb .adf-breadcrumb-item[title=playwright-library-lb334]')
Expected: visible
Received: <element(s) not found>
Call log:
- expect.toBeVisible with timeout 5000ms
- waiting for locator('adf-breadcrumb .adf-breadcrumb-item[title=playwright-library-lb334]')
120 | await expect(libraryDialog.getLabelText(libraryIdLabel)).toHaveValue(randomLibraryName);
121 | await libraryDialog.createButton.click();
> 122 | await expect(libraryBreadcrumb.getItemByTitle(randomLibraryName)).toBeVisible();
| ^
123 |
124 | await myLibrariesPage.navigate();
125 | await expect(libraryTable.getCellByColumnNameAndRowItem(randomLibraryName, publicVisibility)).toBeVisible();
at /home/runner/work/alfresco-content-app/alfresco-content-app/e2e/playwright/create-actions/src/tests/create-library.e2e.ts:122:73
|
[Viewer] › src/tests/viewer-action.e2e.ts:199:7 › viewer action file › [MNT-21058] Upload new version action when node is locked:
e2e/playwright/viewer/src/tests/viewer-action.e2e.ts#L213
1) [Viewer] › src/tests/viewer-action.e2e.ts:199:7 › viewer action file › [MNT-21058] Upload new version action when node is locked
Error: 'Cancel Editing' button shouldn't be shown
Timed out 5000ms waiting for expect(locator).toBeHidden()
Locator: getByRole('menuitem', { name: 'Cancel Editing', exact: true })
Expected: hidden
Received: visible
Call log:
- 'Cancel Editing' button shouldn't be shown with timeout 5000ms
- waiting for getByRole('menuitem', { name: 'Cancel Editing', exact: true })
- locator resolved to <button tabindex="0" role="menuitem" mat-menu-item="" aria-disabled="false" title="Cancel Editing" class="mat-mdc-menu-item mat-mdc-focus-indicator">…</button>
- unexpected value "visible"
- locator resolved to <button tabindex="0" role="menuitem" mat-menu-item="" aria-disabled="false" title="Cancel Editing" class="mat-mdc-menu-item mat-mdc-focus-indicator">…</button>
- unexpected value "visible"
- locator resolved to <button tabindex="0" role="menuitem" mat-menu-item="" aria-disabled="false" title="Cancel Editing" class="mat-mdc-menu-item mat-mdc-focus-indicator">…</button>
- unexpected value "visible"
- locator resolved to <button tabindex="0" role="menuitem" mat-menu-item="" aria-disabled="false" title="Cancel Editing" class="mat-mdc-menu-item mat-mdc-focus-indicator">…</button>
- unexpected value "visible"
- locator resolved to <button tabindex="0" role="menuitem" mat-menu-item="" aria-disabled="false" title="Cancel Editing" class="mat-mdc-menu-item mat-mdc-focus-indicator">…</button>
- unexpected value "visible"
- locator resolved to <button tabindex="0" role="menuitem" mat-menu-item="" aria-disabled="false" title="Cancel Editing" class="mat-mdc-menu-item mat-mdc-focus-indicator">…</button>
- unexpected value "visible"
- locator resolved to <button tabindex="0" role="menuitem" mat-menu-item="" aria-disabled="false" title="Cancel Editing" class="mat-mdc-menu-item mat-mdc-focus-indicator">…</button>
- unexpected value "visible"
- locator resolved to <button tabindex="0" role="menuitem" mat-menu-item="" aria-disabled="false" title="Cancel Editing" class="mat-mdc-menu-item mat-mdc-focus-indicator">…</button>
- unexpected value "visible"
211 |
212 | await personalFiles.acaHeader.clickViewerMoreActions();
> 213 | await expect(personalFiles.matMenu.getMenuItemFromHeaderMenu('Cancel Editing'), `'Cancel Editing' button shouldn't be shown`).toBeHidden();
| ^
214 | await expect(personalFiles.matMenu.getMenuItemFromHeaderMenu('Edit Offline'), `'Edit Offline' should be shown`).toBeVisible();
215 | });
216 |
at /home/runner/work/alfresco-content-app/alfresco-content-app/e2e/playwright/viewer/src/tests/viewer-action.e2e.ts:213:131
|
[Search] › src/tests/search-filters-logic.e2e.ts:103:7 › Search - Filters - Logic › [C699502] Filter with Exclude:
e2e/playwright/search/src/tests/search-filters-logic.e2e.ts#L112
1) [Search] › src/tests/search-filters-logic.e2e.ts:103:7 › Search - Filters - Logic › [C699502] Filter with Exclude
Error: expect(received).toBe(expected) // Object.is equality
Expected: 1
Received: 0
110 | await searchPage.dataTable.progressBarWaitForReload();
111 |
> 112 | expect(await searchPage.dataTable.getRowsCount()).toBe(1);
| ^
113 | await expect(searchPage.dataTable.getRowByName(logicFile1.name)).toBeHidden();
114 | await expect(searchPage.dataTable.getRowByName(logicFile2.name)).toBeVisible();
115 | });
at /home/runner/work/alfresco-content-app/alfresco-content-app/e2e/playwright/search/src/tests/search-filters-logic.e2e.ts:112:55
|
[List Views] › src/tests/empty-list.e2e.ts:108:9 › Empty list views › [C213169] empty Recent Files:
e2e/playwright/list-views/src/tests/empty-list.e2e.ts#L1
1) [List Views] › src/tests/empty-list.e2e.ts:108:9 › Empty list views › [C213169] empty Recent Files
Test timeout of 85000ms exceeded.
|
[Search] › src/tests/search-results-libraries.e2e.ts:179:7 › Search Results - General › [C290017] Library visibility is correctly displayed:
e2e/playwright/search/src/tests/search-results-libraries.e2e.ts#L190
2) [Search] › src/tests/search-results-libraries.e2e.ts:179:7 › Search Results - General › [C290017] Library visibility is correctly displayed
Error: expect(received).toEqual(expected) // deep equality
- Expected - 0
+ Received + 1
Object {
+ "user-site-38bka-moderated": "MODERATED",
"user-site-38bka-private": "PRIVATE",
"user-site-38bka-public": "PUBLIC",
}
188 | const actualSitesVisibility = await searchPage.dataTable.getSitesNameAndVisibility();
189 |
> 190 | expect(expectedSitesVisibility).toEqual(actualSitesVisibility);
| ^
191 | });
192 |
193 | test('[C290018] User role is correctly displayed', async ({ searchPage }) => {
at /home/runner/work/alfresco-content-app/alfresco-content-app/e2e/playwright/search/src/tests/search-results-libraries.e2e.ts:190:37
|
[List Views] › src/tests/empty-list.e2e.ts:108:9 › Empty list views › [C213169] empty Recent Files:
projects/aca-playwright-shared/src/page-objects/components/dataTable/data-table.component.ts#L318
1) [List Views] › src/tests/empty-list.e2e.ts:108:9 › Empty list views › [C213169] empty Recent Files
Error: locator.innerText: Test timeout of 85000ms exceeded.
Call log:
- waiting for locator('adf-datatable .adf-empty-content__title')
at ../../../projects/aca-playwright-shared/src/page-objects/components/dataTable/data-table.component.ts:318
316 |
317 | async getEmptyStateTitle(): Promise<string> {
> 318 | return (await this.isEmpty()) ? this.emptyListTitle.innerText() : '';
| ^
319 | }
320 |
321 | async getEmptyStateSubtitle(): Promise<string> {
at DataTableComponent.getEmptyStateTitle (/home/runner/work/alfresco-content-app/alfresco-content-app/projects/aca-playwright-shared/src/page-objects/components/dataTable/data-table.component.ts:318:57)
at openEmptyTab (/home/runner/work/alfresco-content-app/alfresco-content-app/e2e/playwright/list-views/src/tests/empty-list.e2e.ts:84:12)
at /home/runner/work/alfresco-content-app/alfresco-content-app/e2e/playwright/list-views/src/tests/empty-list.e2e.ts:109:7
|
[List Views] › src/tests/favorites.e2e.ts:129:9 › Favorites Files › Regular user's Favorites files › [C280485] Location column redirect - file in site:
e2e/playwright/list-views/src/tests/favorites.e2e.ts#L1
2) [List Views] › src/tests/favorites.e2e.ts:129:9 › Favorites Files › Regular user's Favorites files › [C280485] Location column redirect - file in site
Test timeout of 85000ms exceeded.
|
[List Views] › src/tests/favorites.e2e.ts:129:9 › Favorites Files › Regular user's Favorites files › [C280485] Location column redirect - file in site:
projects/aca-playwright-shared/src/page-objects/components/dataTable/data-table.component.ts#L291
2) [List Views] › src/tests/favorites.e2e.ts:129:9 › Favorites Files › Regular user's Favorites files › [C280485] Location column redirect - file in site
Error: locator.click: Test timeout of 85000ms exceeded.
Call log:
- waiting for locator('adf-datatable adf-datatable-row').filter({ hasText: 'file1-8nt8t.txt' }).locator('.aca-location-link')
at ../../../projects/aca-playwright-shared/src/page-objects/components/dataTable/data-table.component.ts:291
289 |
290 | async clickItemLocation(name: string): Promise<void> {
> 291 | await this.getItemLocationEl(name).click();
| ^
292 | }
293 |
294 | 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:291:40)
at /home/runner/work/alfresco-content-app/alfresco-content-app/e2e/playwright/list-views/src/tests/favorites.e2e.ts:130:36
|
[List Views] › src/tests/file-libraries.e2e.ts:114:9 › File Libraries › My Libraries › [C289903] User role is correctly displayed:
e2e/playwright/list-views/src/tests/file-libraries.e2e.ts#L124
3) [List Views] › src/tests/file-libraries.e2e.ts:114:9 › File Libraries › My Libraries › [C289903] User role is correctly displayed
Error: expect(received).toContain(expected) // indexOf
Expected substring: "Consumer"
Received string: ""
122 | for (const [site, role] of Object.entries(expectedSitesRoles)) {
123 | const sitesRowNames = await myLibrariesPage.dataTable.getRowAllInnerTexts(site);
> 124 | expect(sitesRowNames).toContain(role.split('Site')[1]);
| ^
125 | }
126 | });
127 |
at /home/runner/work/alfresco-content-app/alfresco-content-app/e2e/playwright/list-views/src/tests/file-libraries.e2e.ts:124:31
|
[List Views] › src/tests/permissions.e2e.ts:169:9 › Special permissions › Location column is empty if user doesn't have permissions on the file's parent folder › [C213178] on Recent Files:
e2e/playwright/list-views/src/tests/permissions.e2e.ts#L171
4) [List Views] › src/tests/permissions.e2e.ts:169:9 › Special permissions › Location column is empty if user doesn't have permissions on the file's parent folder › [C213178] on Recent Files
Error: Incorrect number of items
expect(received).toBe(expected) // Object.is equality
Expected: 1
Received: 2
169 | test('[C213178] on Recent Files', async ({ recentFilesPage }) => {
170 | await recentFilesPage.navigate();
> 171 | expect(await recentFilesPage.dataTable.getRowsCount(), 'Incorrect number of items').toBe(1);
| ^
172 | expect(await recentFilesPage.dataTable.getItemLocationText(fileName)).toEqual('Unknown');
173 | });
174 |
at /home/runner/work/alfresco-content-app/alfresco-content-app/e2e/playwright/list-views/src/tests/permissions.e2e.ts:171:91
|
[List Views] › src/tests/personal-files.e2e.ts:67:9 › Personal Files › Regular user's personal files › [C213245] redirects to Personal Files on clicking the link from sidebar:
e2e/playwright/list-views/src/tests/personal-files.e2e.ts#L1
5) [List Views] › src/tests/personal-files.e2e.ts:67:9 › Personal Files › Regular user's personal files › [C213245] redirects to Personal Files on clicking the link from sidebar
Test timeout of 85000ms exceeded.
|
[List Views] › src/tests/personal-files.e2e.ts:67:9 › Personal Files › Regular user's personal files › [C213245] redirects to Personal Files on clicking the link from sidebar:
projects/aca-playwright-shared/src/page-objects/components/dataTable/data-table.component.ts#L204
5) [List Views] › src/tests/personal-files.e2e.ts:67:9 › Personal Files › Regular user's personal files › [C213245] redirects to Personal Files on clicking the link from sidebar
Error: locator.click: Test timeout of 85000ms exceeded.
Call log:
- waiting for locator('adf-datatable .adf-cell-value span[role="link"]').filter({ hasText: 'user-folder-1q4qm' })
at ../../../projects/aca-playwright-shared/src/page-objects/components/dataTable/data-table.component.ts:204
202 | */
203 | async performClickFolderOrFileToOpen(name: string): Promise<void> {
> 204 | await this.getCellLinkByName(name).click();
| ^
205 | await this.spinnerWaitForReload();
206 | }
207 |
at DataTableComponent.performClickFolderOrFileToOpen (/home/runner/work/alfresco-content-app/alfresco-content-app/projects/aca-playwright-shared/src/page-objects/components/dataTable/data-table.component.ts:204:40)
at /home/runner/work/alfresco-content-app/alfresco-content-app/e2e/playwright/list-views/src/tests/personal-files.e2e.ts:68:37
|
[List Views] › src/tests/recent-files.e2e.ts:100:7 › Recent Files › [C280486] Location column redirect - file in folder:
e2e/playwright/list-views/src/tests/recent-files.e2e.ts#L1
6) [List Views] › src/tests/recent-files.e2e.ts:100:7 › Recent Files › [C280486] Location column redirect - file in folder
Error: {"error":{"errorKey":"Person 'user-1viej' already exists.","statusCode":409,"briefSummary":"09311654 Person 'user-1viej' already exists.","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":"94dc295f-8541-4629-9c29-5f85412629f2"}}
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)
|
[List Views] › src/tests/shared-files.e2e.ts:118:7 › Shared Files › [C280491] Location column redirect - file in site:
e2e/playwright/list-views/src/tests/shared-files.e2e.ts#L1
7) [List Views] › src/tests/shared-files.e2e.ts:118:7 › Shared Files › [C280491] Location column redirect - file in site
Error: {"error":{"errorKey":"Person 'user-1ms2e' already exists.","statusCode":409,"briefSummary":"09311700 Person 'user-1ms2e' already exists.","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":"3ba476a0-dc7a-47ac-a476-a0dc7ad7ac64"}}
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)
|
[Copy Move Actions] › src/tests/destination-picker-dialog.e2e.ts:89:7 › Copy Move actions › [C263877] Contributor user can select the folder as destination:
e2e/playwright/copy-move-actions/src/tests/destination-picker-dialog.e2e.ts#L1
1) [Copy Move Actions] › src/tests/destination-picker-dialog.e2e.ts:89:7 › Copy Move actions › [C263877] Contributor user can select the folder as destination
Test timeout of 150000ms exceeded.
|
[Copy Move Actions] › src/tests/destination-picker-dialog.e2e.ts:89:7 › Copy Move actions › [C263877] Contributor user can select the folder as destination:
projects/aca-playwright-shared/src/page-objects/components/dataTable/data-table.component.ts#L204
1) [Copy Move Actions] › src/tests/destination-picker-dialog.e2e.ts:89:7 › Copy Move actions › [C263877] Contributor user can select the folder as destination
Error: locator.click: Test timeout of 150000ms exceeded.
Call log:
- waiting for locator('adf-datatable .adf-cell-value span[role="link"]').filter({ hasText: 'site-12uuf' })
at ../../../projects/aca-playwright-shared/src/page-objects/components/dataTable/data-table.component.ts:204
202 | */
203 | async performClickFolderOrFileToOpen(name: string): Promise<void> {
> 204 | await this.getCellLinkByName(name).click();
| ^
205 | await this.spinnerWaitForReload();
206 | }
207 |
at DataTableComponent.performClickFolderOrFileToOpen (/home/runner/work/alfresco-content-app/alfresco-content-app/projects/aca-playwright-shared/src/page-objects/components/dataTable/data-table.component.ts:204:40)
at copyContentInMyLibraries (/home/runner/work/alfresco-content-app/alfresco-content-app/e2e/playwright/copy-move-actions/src/tests/destination-picker-dialog.e2e.ts:76:37)
at /home/runner/work/alfresco-content-app/alfresco-content-app/e2e/playwright/copy-move-actions/src/tests/destination-picker-dialog.e2e.ts:92:11
|
[Delete Actions] › src/tests/delete-undo-delete.e2e.ts:153:9 › Delete and undo delete › on Personal Files › [C217126] delete a folder with content:
e2e/playwright/delete-actions/src/tests/delete-undo-delete.e2e.ts#L161
1) [Delete Actions] › src/tests/delete-undo-delete.e2e.ts:153:9 › Delete and undo delete › on Personal Files › [C217126] delete a folder with content
Error: expect(received).toEqual(expected) // deep equality
Expected: " Showing 1--1 of -1 "
Received: " Showing 1-11 of 11 "
159 | expect(await personalFiles.dataTable.isItemPresent(folder1)).toBeFalsy();
160 | items--;
> 161 | expect(await personalFiles.pagination.getMaxRange()).toEqual(` Showing 1-${items} of ${items} `);
| ^
162 | await trashPage.navigate();
163 | expect(await personalFiles.dataTable.isItemPresent(folder1)).toBeTruthy();
164 | expect(await personalFiles.dataTable.isItemPresent(file1InFolder)).toBeFalsy();
at /home/runner/work/alfresco-content-app/alfresco-content-app/e2e/playwright/delete-actions/src/tests/delete-undo-delete.e2e.ts:161:60
|
Slow Test:
[Viewer] › src/tests/viewer-useraction.e2e.ts#L1
[Viewer] › src/tests/viewer-useraction.e2e.ts took 21.5s
|
Slow Test:
[Search] › src/tests/search-filters-general.e2e.ts#L1
[Search] › src/tests/search-filters-general.e2e.ts took 32.4s
|
Slow Test:
[Search] › src/tests/search-filters-tags.e2e.ts#L1
[Search] › src/tests/search-filters-tags.e2e.ts took 15.4s
|
Slow Test:
[Info Drawer] › src/tests/general.e2e.ts#L1
[Info Drawer] › src/tests/general.e2e.ts took 21.2s
|
Slow Test:
[Info Drawer] › src/tests/file-preview.e2e.ts#L1
[Info Drawer] › src/tests/file-preview.e2e.ts took 15.0s
|
🎭 Playwright Run Summary
1 flaky
[Authentication] › src/tests/login.e2e.ts:62:9 › viewer file › general tests › [C213089] login page layout
5 passed (22.7s)
|
🎭 Playwright Run Summary
1 flaky
[Create Actions] › src/tests/create-library.e2e.ts:117:9 › Create Libraries › On My Libraries dataTable › [C280025] Create a public library
19 passed (2.2m)
|
🎭 Playwright Run Summary
24 passed (3.6m)
|
🎭 Playwright Run Summary
1 flaky
[Viewer] › src/tests/viewer-action.e2e.ts:199:7 › viewer action file › [MNT-21058] Upload new version action when node is locked
33 passed (4.0m)
|
🎭 Playwright Run Summary
16 passed (1.9m)
|
🎭 Playwright Run Summary
64 passed (6.3m)
|
🎭 Playwright Run Summary
15 passed (2.5m)
|
🎭 Playwright Run Summary
11 passed (2.9m)
|
🎭 Playwright Run Summary
2 flaky
[Search] › src/tests/search-filters-logic.e2e.ts:103:7 › Search - Filters - Logic › [C699502] Filter with Exclude
[Search] › src/tests/search-results-libraries.e2e.ts:179:7 › Search Results - General › [C290017] Library visibility is correctly displayed
47 passed (7.1m)
|
🎭 Playwright Run Summary
7 flaky
[List Views] › src/tests/empty-list.e2e.ts:108:9 › Empty list views › [C213169] empty Recent Files
[List Views] › src/tests/favorites.e2e.ts:129:9 › Favorites Files › Regular user's Favorites files › [C280485] Location column redirect - file in site
[List Views] › src/tests/file-libraries.e2e.ts:114:9 › File Libraries › My Libraries › [C289903] User role is correctly displayed
[List Views] › src/tests/permissions.e2e.ts:169:9 › Special permissions › Location column is empty if user doesn't have permissions on the file's parent folder › [C213178] on Recent Files
[List Views] › src/tests/personal-files.e2e.ts:67: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.e2e.ts:100:7 › Recent Files › [C280486] Location column redirect - file in folder
[List Views] › src/tests/shared-files.e2e.ts:118:7 › Shared Files › [C280491] Location column redirect - file in site
61 passed (7.9m)
|
🎭 Playwright Run Summary
9 passed (1.3m)
|
🎭 Playwright Run Summary
1 flaky
[Copy Move Actions] › src/tests/destination-picker-dialog.e2e.ts:89:7 › Copy Move actions › [C263877] Contributor user can select the folder as destination
22 passed (6.6m)
|
🎭 Playwright Run Summary
11 passed (1.3m)
|
🎭 Playwright Run Summary
19 passed (5.7m)
|
🎭 Playwright Run Summary
1 flaky
[Delete Actions] › src/tests/delete-undo-delete.e2e.ts:153:9 › Delete and undo delete › on Personal Files › [C217126] delete a folder with content
22 passed (4.1m)
|
🎭 Playwright Run Summary
29 passed (3.4m)
|
🎭 Playwright Run Summary
18 passed (1.6m)
|