[ACS-6427] Add search highlighting #2247
Annotations
10 errors, 1 warning, and 1 notice
|
|
projects/aca-playwright-shared/src/page-objects/components/dataTable/data-table.component.ts#L185
1) [special-permissions] › src/tests/other-permissions.ts:134:11 › Special permissions : › Collaborator › available actions : › available actions in the viewer : › file opened from Search Results - [C306992]
Error: locator.click: Error: strict mode violation: locator('adf-datatable .adf-cell-value span').filter({ hasText: 'file-86akx-docx-shared-fav.docx' }) resolved to 2 elements:
1) <span role="link" tabindex="0" title="file-86akx-docx-…>…</span> aka getByRole('link', { name: 'file-86akx-docx-shared-fav.docx' })
2) <span class="aca-highlight">file-86akx-docx-shared-fav.docx</span> aka getByRole('link', { name: 'file-86akx-docx-shared-fav.docx' })
=========================== logs ===========================
waiting for locator('adf-datatable .adf-cell-value span').filter({ hasText: 'file-86akx-docx-shared-fav.docx' })
============================================================
at ../../../projects/aca-playwright-shared/src/page-objects/components/dataTable/data-table.component.ts:185
183 | */
184 | async performClickFolderOrFileToOpen(name: string): Promise<void> {
> 185 | await this.getCellLinkByName(name).click();
| ^
186 | await this.spinnerWaitForReload();
187 | }
188 |
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:185:40)
at checkActionsViewerAvailable (/home/runner/work/alfresco-content-app/alfresco-content-app/e2e/playwright/special-permissions-actions-available/src/tests/other-permissions.ts:47:35)
at /home/runner/work/alfresco-content-app/alfresco-content-app/e2e/playwright/special-permissions-actions-available/src/tests/other-permissions.ts:136:15
|
projects/aca-playwright-shared/src/page-objects/components/dataTable/data-table.component.ts#L185
1) [special-permissions] › src/tests/other-permissions.ts:134:11 › Special permissions : › Collaborator › available actions : › available actions in the viewer : › file opened from Search Results - [C306992]
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: locator.click: Error: strict mode violation: locator('adf-datatable .adf-cell-value span').filter({ hasText: 'file-oxvcq-docx-shared-fav.docx' }) resolved to 2 elements:
1) <span role="link" tabindex="0" title="file-oxvcq-docx-…>…</span> aka getByRole('link', { name: 'file-oxvcq-docx-shared-fav.docx' })
2) <span class="aca-highlight">file-oxvcq-docx-shared-fav.docx</span> aka getByRole('link', { name: 'file-oxvcq-docx-shared-fav.docx' })
=========================== logs ===========================
waiting for locator('adf-datatable .adf-cell-value span').filter({ hasText: 'file-oxvcq-docx-shared-fav.docx' })
============================================================
at ../../../projects/aca-playwright-shared/src/page-objects/components/dataTable/data-table.component.ts:185
183 | */
184 | async performClickFolderOrFileToOpen(name: string): Promise<void> {
> 185 | await this.getCellLinkByName(name).click();
| ^
186 | await this.spinnerWaitForReload();
187 | }
188 |
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:185:40)
at checkActionsViewerAvailable (/home/runner/work/alfresco-content-app/alfresco-content-app/e2e/playwright/special-permissions-actions-available/src/tests/other-permissions.ts:47:35)
at /home/runner/work/alfresco-content-app/alfresco-content-app/e2e/playwright/special-permissions-actions-available/src/tests/other-permissions.ts:136:15
|
projects/aca-playwright-shared/src/page-objects/components/dataTable/data-table.component.ts#L185
1) [special-permissions] › src/tests/other-permissions.ts:134:11 › Special permissions : › Collaborator › available actions : › available actions in the viewer : › file opened from Search Results - [C306992]
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: locator.click: Error: strict mode violation: locator('adf-datatable .adf-cell-value span').filter({ hasText: 'file-1n3ut-docx-shared-fav.docx' }) resolved to 2 elements:
1) <span role="link" tabindex="0" title="file-1n3ut-docx-…>…</span> aka getByRole('link', { name: 'file-1n3ut-docx-shared-fav.docx' })
2) <span class="aca-highlight">file-1n3ut-docx-shared-fav.docx</span> aka getByRole('link', { name: 'file-1n3ut-docx-shared-fav.docx' })
=========================== logs ===========================
waiting for locator('adf-datatable .adf-cell-value span').filter({ hasText: 'file-1n3ut-docx-shared-fav.docx' })
============================================================
at ../../../projects/aca-playwright-shared/src/page-objects/components/dataTable/data-table.component.ts:185
183 | */
184 | async performClickFolderOrFileToOpen(name: string): Promise<void> {
> 185 | await this.getCellLinkByName(name).click();
| ^
186 | await this.spinnerWaitForReload();
187 | }
188 |
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:185:40)
at checkActionsViewerAvailable (/home/runner/work/alfresco-content-app/alfresco-content-app/e2e/playwright/special-permissions-actions-available/src/tests/other-permissions.ts:47:35)
at /home/runner/work/alfresco-content-app/alfresco-content-app/e2e/playwright/special-permissions-actions-available/src/tests/other-permissions.ts:136:15
|
projects/aca-playwright-shared/src/page-objects/components/dataTable/data-table.component.ts#L185
2) [special-permissions] › src/tests/other-permissions.ts:229:11 › Special permissions : › File locked - user is lock owner › available actions : › available actions in the viewer : › file opened from Search Results - [C306993]
Error: locator.click: Error: strict mode violation: locator('adf-datatable .adf-cell-value span').filter({ hasText: 'file-1gidx-my-locked.txt' }) resolved to 2 elements:
1) <span role="link" tabindex="0" title="file-1gidx-my-lo…>…</span> aka getByRole('link', { name: 'file-1gidx-my-locked.txt' })
2) <span class="aca-highlight">file-1gidx-my-locked.txt</span> aka getByRole('link', { name: 'file-1gidx-my-locked.txt' })
=========================== logs ===========================
waiting for locator('adf-datatable .adf-cell-value span').filter({ hasText: 'file-1gidx-my-locked.txt' })
============================================================
at ../../../projects/aca-playwright-shared/src/page-objects/components/dataTable/data-table.component.ts:185
183 | */
184 | async performClickFolderOrFileToOpen(name: string): Promise<void> {
> 185 | await this.getCellLinkByName(name).click();
| ^
186 | await this.spinnerWaitForReload();
187 | }
188 |
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:185:40)
at checkActionsViewerAvailable (/home/runner/work/alfresco-content-app/alfresco-content-app/e2e/playwright/special-permissions-actions-available/src/tests/other-permissions.ts:47:35)
at /home/runner/work/alfresco-content-app/alfresco-content-app/e2e/playwright/special-permissions-actions-available/src/tests/other-permissions.ts:231:15
|
projects/aca-playwright-shared/src/page-objects/components/dataTable/data-table.component.ts#L185
2) [special-permissions] › src/tests/other-permissions.ts:229:11 › Special permissions : › File locked - user is lock owner › available actions : › available actions in the viewer : › file opened from Search Results - [C306993]
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: locator.click: Error: strict mode violation: locator('adf-datatable .adf-cell-value span').filter({ hasText: 'file-1fg94-my-locked.txt' }) resolved to 2 elements:
1) <span role="link" tabindex="0" title="file-1fg94-my-lo…>…</span> aka getByRole('link', { name: 'file-1fg94-my-locked.txt' })
2) <span class="aca-highlight">file-1fg94-my-locked.txt</span> aka getByRole('link', { name: 'file-1fg94-my-locked.txt' })
=========================== logs ===========================
waiting for locator('adf-datatable .adf-cell-value span').filter({ hasText: 'file-1fg94-my-locked.txt' })
============================================================
at ../../../projects/aca-playwright-shared/src/page-objects/components/dataTable/data-table.component.ts:185
183 | */
184 | async performClickFolderOrFileToOpen(name: string): Promise<void> {
> 185 | await this.getCellLinkByName(name).click();
| ^
186 | await this.spinnerWaitForReload();
187 | }
188 |
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:185:40)
at checkActionsViewerAvailable (/home/runner/work/alfresco-content-app/alfresco-content-app/e2e/playwright/special-permissions-actions-available/src/tests/other-permissions.ts:47:35)
at /home/runner/work/alfresco-content-app/alfresco-content-app/e2e/playwright/special-permissions-actions-available/src/tests/other-permissions.ts:231:15
|
projects/aca-playwright-shared/src/page-objects/components/dataTable/data-table.component.ts#L185
2) [special-permissions] › src/tests/other-permissions.ts:229:11 › Special permissions : › File locked - user is lock owner › available actions : › available actions in the viewer : › file opened from Search Results - [C306993]
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: locator.click: Error: strict mode violation: locator('adf-datatable .adf-cell-value span').filter({ hasText: 'file-mxaui-my-locked.txt' }) resolved to 2 elements:
1) <span role="link" tabindex="0" title="file-mxaui-my-lo…>…</span> aka getByRole('link', { name: 'file-mxaui-my-locked.txt' })
2) <span class="aca-highlight">file-mxaui-my-locked.txt</span> aka getByRole('link', { name: 'file-mxaui-my-locked.txt' })
=========================== logs ===========================
waiting for locator('adf-datatable .adf-cell-value span').filter({ hasText: 'file-mxaui-my-locked.txt' })
============================================================
at ../../../projects/aca-playwright-shared/src/page-objects/components/dataTable/data-table.component.ts:185
183 | */
184 | async performClickFolderOrFileToOpen(name: string): Promise<void> {
> 185 | await this.getCellLinkByName(name).click();
| ^
186 | await this.spinnerWaitForReload();
187 | }
188 |
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:185:40)
at checkActionsViewerAvailable (/home/runner/work/alfresco-content-app/alfresco-content-app/e2e/playwright/special-permissions-actions-available/src/tests/other-permissions.ts:47:35)
at /home/runner/work/alfresco-content-app/alfresco-content-app/e2e/playwright/special-permissions-actions-available/src/tests/other-permissions.ts:231:15
|
projects/aca-playwright-shared/src/page-objects/components/dataTable/mat-menu.component.ts#L66
3) [special-permissions] › src/tests/folders-actions.spec.ts:102:9 › Folders - available actions : › on Personal Files : › multiple folders - [C280459]
Error: Expected to contain Favorite
Expected: true
Received: false
at ../../../projects/aca-playwright-shared/src/page-objects/components/dataTable/mat-menu.component.ts:66
64 | );
65 | for (const action of expectedToolbarMore) {
> 66 | expect(actualMoreActions.includes(action), `Expected to contain ${action} ${actualMoreActions}`).toBe(true);
| ^
67 | }
68 | }
69 | }
at MatMenuComponent.verifyActualMoreActions (/home/runner/work/alfresco-content-app/alfresco-content-app/projects/aca-playwright-shared/src/page-objects/components/dataTable/mat-menu.component.ts:66:104)
at checkMultipleSelActionsAvailable (/home/runner/work/alfresco-content-app/alfresco-content-app/e2e/playwright/special-permissions-actions-available/src/tests/folders-actions.spec.ts:53:5)
at /home/runner/work/alfresco-content-app/alfresco-content-app/e2e/playwright/special-permissions-actions-available/src/tests/folders-actions.spec.ts:107:7
|
|
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 failed
[special-permissions] › src/tests/other-permissions.ts:134:11 › Special permissions : › Collaborator › available actions : › available actions in the viewer : › file opened from Search Results - [C306992]
[special-permissions] › src/tests/other-permissions.ts:229:11 › Special permissions : › File locked - user is lock owner › available actions : › available actions in the viewer : › file opened from Search Results - [C306993]
1 flaky
[special-permissions] › src/tests/folders-actions.spec.ts:102:9 › Folders - available actions : › on Personal Files : › multiple folders - [C280459]
3 skipped
38 passed (9.9m)
|
The logs for this run have expired and are no longer available.
Loading