[ACS-6668] [ACS-6669] e2e migration - Info Drawer general and library properties tests #2234
Annotations
4 errors, 1 warning, and 1 notice
projects/aca-playwright-shared/src/page-objects/components/adf-info-drawer.component.ts#L57
1) [Authentication] › src/tests/login.spec.ts:74:9 › viewer file › with invalid credentials › [C213106] unauthenticated user is redirected to Login page
TypeError: Cannot read properties of undefined (reading 'getByRole')
at ../../../projects/aca-playwright-shared/src/page-objects/components/adf-info-drawer.component.ts:57
55 | public idField = this.page.locator('label', { hasText: 'Library ID' });
56 | public descriptionField = this.page.locator('label', { hasText: 'Description' });
> 57 | public visibilityField = this.infoDrawerPanel.getByRole('combobox');
| ^
58 | public selectVisibility = (visibilityOption: string) => this.page.getByRole('listbox').getByRole('option', { name: visibilityOption }).click();
59 |
60 | async checkCommentsHeaderCount(): Promise<number> {
at AdfInfoDrawerComponent (/home/runner/work/alfresco-content-app/alfresco-content-app/projects/aca-playwright-shared/src/page-objects/components/adf-info-drawer.component.ts:57:49)
at PersonalFilesPage (/home/runner/work/alfresco-content-app/alfresco-content-app/projects/aca-playwright-shared/src/page-objects/pages/personal-files.page.ts:68:23)
at Object.personalFiles (/home/runner/work/alfresco-content-app/alfresco-content-app/projects/aca-playwright-shared/src/fixtures/page-initialization.ts:69:15)
|
projects/aca-playwright-shared/src/page-objects/components/adf-info-drawer.component.ts#L57
1) [Authentication] › src/tests/login.spec.ts:74:9 › viewer file › with invalid credentials › [C213106] unauthenticated user is redirected to Login page
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
TypeError: Cannot read properties of undefined (reading 'getByRole')
at ../../../projects/aca-playwright-shared/src/page-objects/components/adf-info-drawer.component.ts:57
55 | public idField = this.page.locator('label', { hasText: 'Library ID' });
56 | public descriptionField = this.page.locator('label', { hasText: 'Description' });
> 57 | public visibilityField = this.infoDrawerPanel.getByRole('combobox');
| ^
58 | public selectVisibility = (visibilityOption: string) => this.page.getByRole('listbox').getByRole('option', { name: visibilityOption }).click();
59 |
60 | async checkCommentsHeaderCount(): Promise<number> {
at AdfInfoDrawerComponent (/home/runner/work/alfresco-content-app/alfresco-content-app/projects/aca-playwright-shared/src/page-objects/components/adf-info-drawer.component.ts:57:49)
at PersonalFilesPage (/home/runner/work/alfresco-content-app/alfresco-content-app/projects/aca-playwright-shared/src/page-objects/pages/personal-files.page.ts:68:23)
at Object.personalFiles (/home/runner/work/alfresco-content-app/alfresco-content-app/projects/aca-playwright-shared/src/fixtures/page-initialization.ts:69:15)
|
projects/aca-playwright-shared/src/page-objects/components/adf-info-drawer.component.ts#L57
1) [Authentication] › src/tests/login.spec.ts:74:9 › viewer file › with invalid credentials › [C213106] unauthenticated user is redirected to Login page
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
TypeError: Cannot read properties of undefined (reading 'getByRole')
at ../../../projects/aca-playwright-shared/src/page-objects/components/adf-info-drawer.component.ts:57
55 | public idField = this.page.locator('label', { hasText: 'Library ID' });
56 | public descriptionField = this.page.locator('label', { hasText: 'Description' });
> 57 | public visibilityField = this.infoDrawerPanel.getByRole('combobox');
| ^
58 | public selectVisibility = (visibilityOption: string) => this.page.getByRole('listbox').getByRole('option', { name: visibilityOption }).click();
59 |
60 | async checkCommentsHeaderCount(): Promise<number> {
at AdfInfoDrawerComponent (/home/runner/work/alfresco-content-app/alfresco-content-app/projects/aca-playwright-shared/src/page-objects/components/adf-info-drawer.component.ts:57:49)
at PersonalFilesPage (/home/runner/work/alfresco-content-app/alfresco-content-app/projects/aca-playwright-shared/src/page-objects/pages/personal-files.page.ts:68:23)
at Object.personalFiles (/home/runner/work/alfresco-content-app/alfresco-content-app/projects/aca-playwright-shared/src/fixtures/page-initialization.ts:69:15)
|
|
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/.
|
|
The logs for this run have expired and are no longer available.
Loading