[ACS-8063] Migrate editActions e2e from Protractor to Playwright #3137
Annotations
1 error, 2 warnings, and 1 notice
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 mdc-list-item">…</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 mdc-list-item">…</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 mdc-list-item">…</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 mdc-list-item">…</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 mdc-list-item">…</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 mdc-list-item">…</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 mdc-list-item">…</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 mdc-list-item">…</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
|
[Viewer] › src/tests/viewer-useraction.e2e.ts#L1
[Viewer] › src/tests/viewer-useraction.e2e.ts took 24.2s
|
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/
|
|
This job succeeded
Loading