Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[ACS-9008] Proper form initialization for Saved Searches #4243

Merged
merged 2 commits into from
Nov 18, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
[ACS-9008] Proper form initialization
MichalKinas committed Nov 18, 2024
commit 35d47aed5af590fa370f0fc28cbf8ed8a93f4810
Original file line number Diff line number Diff line change
@@ -42,15 +42,7 @@ import { UniqueSearchNameValidator } from '../unique-search-name-validator';
host: { class: 'aca-saved-search-edit-dialog' }
})
export class SavedSearchEditDialogComponent {
form = new FormGroup({
name: new FormControl('', {
validators: [Validators.required, forbidOnlySpaces],
asyncValidators: [this.uniqueSearchNameValidator.validate.bind(this.uniqueSearchNameValidator)],
updateOn: 'blur'
}),
description: new FormControl('')
});

form: FormGroup;
AleksanderSklorz marked this conversation as resolved.
Show resolved Hide resolved
isLoading = false;

constructor(
@@ -60,6 +52,15 @@ export class SavedSearchEditDialogComponent {
private readonly uniqueSearchNameValidator: UniqueSearchNameValidator,
@Inject(MAT_DIALOG_DATA) private readonly data: SavedSearch
) {
this.form = new FormGroup({
name: new FormControl('', {
validators: [Validators.required, forbidOnlySpaces],
asyncValidators: [this.uniqueSearchNameValidator.validate.bind(this.uniqueSearchNameValidator)],
updateOn: 'change'
}),
description: new FormControl('')
});

this.form.patchValue({
name: this.data.name,
description: this.data.description

Unchanged files with check annotations Beta

}
async checkIfRuleIsOnTheList(ruleName: string): Promise<void> {
await expect(this.getGroupsList(ruleName)).toBeVisible({ timeout: 5000 });

Check failure on line 60 in projects/aca-playwright-shared/src/page-objects/components/manageRules/manage-rules.component.ts

GitHub Actions / E2E Playwright - folder-rules

[Folder Rules] › src/tests/create-rules.e2e.ts:248:7 › Folder Rules Actions › [XAT-895] Create a rule with multiple conditions utilising all available comparators and conditions

1) [Folder Rules] › src/tests/create-rules.e2e.ts:248:7 › Folder Rules Actions › [XAT-895] Create a rule with multiple conditions utilising all available comparators and conditions Error: Timed out 5000ms waiting for expect(locator).toBeVisible() Locator: locator('.aca-manage-rules .aca-rule-list-item__header').filter({ hasText: 'rule-XAT-141op' }) Expected: visible Received: <element(s) not found> Call log: - expect.toBeVisible with timeout 5000ms - waiting for locator('.aca-manage-rules .aca-rule-list-item__header').filter({ hasText: 'rule-XAT-141op' }) at ../../../projects/aca-playwright-shared/src/page-objects/components/manageRules/manage-rules.component.ts:60 58 | 59 | async checkIfRuleIsOnTheList(ruleName: string): Promise<void> { > 60 | await expect(this.getGroupsList(ruleName)).toBeVisible({ timeout: 5000 }); | ^ 61 | } 62 | 63 | async countConditionsInGroup(): Promise<number> { at ManageRules.checkIfRuleIsOnTheList (/home/runner/work/alfresco-content-app/alfresco-content-app/projects/aca-playwright-shared/src/page-objects/components/manageRules/manage-rules.component.ts:60:48) at /home/runner/work/alfresco-content-app/alfresco-content-app/e2e/playwright/folder-rules/src/tests/create-rules.e2e.ts:263:33
}
async countConditionsInGroup(): Promise<number> {
/*!

Check failure on line 1 in e2e/playwright/folder-rules/src/tests/update-rules.e2e.ts

GitHub Actions / E2E Playwright - folder-rules

[Folder Rules] › src/tests/update-rules.e2e.ts:148:7 › Rules - Manage Rules › [XAT-903] [XAT-904] Edit existing conditions

2) [Folder Rules] › src/tests/update-rules.e2e.ts:148:7 › Rules - Manage Rules › [XAT-903] [XAT-904] Edit existing conditions Test timeout of 85000ms exceeded.
* Copyright © 2005-2024 Hyland Software, Inc. and its affiliates. All rights reserved.
*
* Alfresco Example Content Application
if (comparators) {
await this.selectComparator(comparators, index);
}
await this.valueField.nth(index).fill(value);

Check failure on line 66 in projects/aca-playwright-shared/src/page-objects/components/conditions.component.ts

GitHub Actions / E2E Playwright - folder-rules

[Folder Rules] › src/tests/update-rules.e2e.ts:148:7 › Rules - Manage Rules › [XAT-903] [XAT-904] Edit existing conditions

2) [Folder Rules] › src/tests/update-rules.e2e.ts:148:7 › Rules - Manage Rules › [XAT-903] [XAT-904] Edit existing conditions Error: locator.fill: Test timeout of 85000ms exceeded. Call log: - waiting for locator('aca-edit-rule-dialog [data-automation-id="value-input"]').nth(1) at ../../../projects/aca-playwright-shared/src/page-objects/components/conditions.component.ts:66 64 | await this.selectComparator(comparators, index); 65 | } > 66 | await this.valueField.nth(index).fill(value); | ^ 67 | } 68 | 69 | async addConditionGroup(fields: Partial<Field>, value: string, index: number, comparators?: Partial<Comparator>): Promise<void> { at ConditionComponent.addCondition (/home/runner/work/alfresco-content-app/alfresco-content-app/projects/aca-playwright-shared/src/page-objects/components/conditions.component.ts:66:38) at /home/runner/work/alfresco-content-app/alfresco-content-app/e2e/playwright/folder-rules/src/tests/update-rules.e2e.ts:153:5
}
async addConditionGroup(fields: Partial<Field>, value: string, index: number, comparators?: Partial<Comparator>): Promise<void> {
test('[C213178] on Recent Files', async ({ recentFilesPage }) => {
await recentFilesPage.navigate();
expect(await recentFilesPage.dataTable.getRowsCount(), 'Incorrect number of items').toBe(1);

Check failure on line 171 in e2e/playwright/list-views/src/tests/permissions.e2e.ts

GitHub Actions / E2E Playwright - list-views

[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

1) [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
expect(await recentFilesPage.dataTable.getItemLocationText(fileName)).toEqual('Unknown');
});
/*!

Check failure on line 1 in e2e/playwright/list-views/src/tests/personal-files.e2e.ts

GitHub Actions / E2E Playwright - list-views

[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

2) [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.
* Copyright © 2005-2024 Hyland Software, Inc. and its affiliates. All rights reserved.
*
* Alfresco Example Content Application
* @param name of the data table element with which we want to double click
*/
async performClickFolderOrFileToOpen(name: string): Promise<void> {
await this.getCellLinkByName(name).click();

Check failure on line 204 in projects/aca-playwright-shared/src/page-objects/components/dataTable/data-table.component.ts

GitHub Actions / E2E Playwright - list-views

[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

2) [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-yc99j' }) 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

Check failure on line 204 in projects/aca-playwright-shared/src/page-objects/components/dataTable/data-table.component.ts

GitHub Actions / E2E Playwright - copy-move-actions

[Copy Move Actions] › src/tests/destination-picker-dialog.e2e.ts:96:7 › Copy Move actions › [C263878] Collaborator user can select the folder as destination

1) [Copy Move Actions] › src/tests/destination-picker-dialog.e2e.ts:96:7 › Copy Move actions › [C263878] Collaborator 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-p7uub' }) 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:99:11
await this.spinnerWaitForReload();
}
/*!

Check failure on line 1 in e2e/playwright/list-views/src/tests/recent-files.e2e.ts

GitHub Actions / E2E Playwright - list-views

[List Views] › src/tests/recent-files.e2e.ts:100:7 › Recent Files › [C280486] Location column redirect - file in folder

3) [List Views] › src/tests/recent-files.e2e.ts:100:7 › Recent Files › [C280486] Location column redirect - file in folder Error: {"error":{"errorKey":"Person 'user-1kogp' already exists.","statusCode":409,"briefSummary":"10180563 Person 'user-1kogp' 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":"f84af6f8-e32d-471d-8af6-f8e32d771d00"}} 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)
* Copyright © 2005-2024 Hyland Software, Inc. and its affiliates. All rights reserved.
*
* Alfresco Example Content Application
/*!

Check failure on line 1 in e2e/playwright/list-views/src/tests/shared-files.e2e.ts

GitHub Actions / E2E Playwright - list-views

[List Views] › src/tests/shared-files.e2e.ts:118:7 › Shared Files › [C280491] Location column redirect - file in site

4) [List Views] › src/tests/shared-files.e2e.ts:118:7 › Shared Files › [C280491] Location column redirect - file in site Error: {"error":{"errorKey":"Person 'user-15zsh' already exists.","statusCode":409,"briefSummary":"10180637 Person 'user-15zsh' 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":"df24efe4-2f72-445a-a4ef-e42f72545a83"}} 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)
* Copyright © 2005-2024 Hyland Software, Inc. and its affiliates. All rights reserved.
*
* Alfresco Example Content Application
/*!

Check failure on line 1 in e2e/playwright/copy-move-actions/src/tests/destination-picker-dialog.e2e.ts

GitHub Actions / E2E Playwright - copy-move-actions

[Copy Move Actions] › src/tests/destination-picker-dialog.e2e.ts:96:7 › Copy Move actions › [C263878] Collaborator user can select the folder as destination

1) [Copy Move Actions] › src/tests/destination-picker-dialog.e2e.ts:96:7 › Copy Move actions › [C263878] Collaborator user can select the folder as destination Test timeout of 150000ms exceeded.
* Copyright © 2005-2024 Hyland Software, Inc. and its affiliates. All rights reserved.
*
* Alfresco Example Content Application
/*!

Check failure on line 1 in e2e/playwright/info-drawer/src/tests/comments.e2e.ts

GitHub Actions / E2E Playwright - info-drawer

[Info Drawer] › src/tests/comments.e2e.ts:90:7 › Info Drawer - Comments › [C299189] from Shared Files - Comments are displayed ordered by created date in descending order

1) [Info Drawer] › src/tests/comments.e2e.ts:90:7 › Info Drawer - Comments › [C299189] from Shared Files - Comments are displayed ordered by created date in descending order Test timeout of 85000ms exceeded.

Check failure on line 1 in e2e/playwright/info-drawer/src/tests/comments.e2e.ts

GitHub Actions / E2E Playwright - info-drawer

[Info Drawer] › src/tests/comments.e2e.ts:90:7 › Info Drawer - Comments › [C299189] from Shared Files - Comments are displayed ordered by created date in descending order

1) [Info Drawer] › src/tests/comments.e2e.ts:90:7 › Info Drawer - Comments › [C299189] from Shared Files - Comments are displayed ordered by created date in descending order Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Test timeout of 85000ms exceeded.
* Copyright © 2005-2024 Hyland Software, Inc. and its affiliates. All rights reserved.
*
* Alfresco Example Content Application
this.page.waitForResponse(this.urlRequest)
]);
} else {
await this.page.goto(`./#/${this.pageUrl}${actualOptions.query}`, {

Check failure on line 79 in projects/aca-playwright-shared/src/page-objects/pages/base.page.ts

GitHub Actions / E2E Playwright - info-drawer

[Info Drawer] › src/tests/comments.e2e.ts:90:7 › Info Drawer - Comments › [C299189] from Shared Files - Comments are displayed ordered by created date in descending order

1) [Info Drawer] › src/tests/comments.e2e.ts:90:7 › Info Drawer - Comments › [C299189] from Shared Files - Comments are displayed ordered by created date in descending order Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: page.goto: Target page, context or browser has been closed at ../../../projects/aca-playwright-shared/src/page-objects/pages/base.page.ts:79 77 | ]); 78 | } else { > 79 | await this.page.goto(`./#/${this.pageUrl}${actualOptions.query}`, { | ^ 80 | waitUntil: actualOptions.waitUntil, 81 | timeout: 60000 82 | }); at SharedPage.navigate (/home/runner/work/alfresco-content-app/alfresco-content-app/projects/aca-playwright-shared/src/page-objects/pages/base.page.ts:79:23) at /home/runner/work/alfresco-content-app/alfresco-content-app/e2e/playwright/info-drawer/src/tests/comments.e2e.ts:100:22
waitUntil: actualOptions.waitUntil,
timeout: 60000
});
/*!

Check failure on line 1 in e2e/playwright/info-drawer/src/tests/file-folder-properties.e2e.ts

GitHub Actions / E2E Playwright - info-drawer

[Info Drawer] › src/tests/file-folder-properties.e2e.ts:212:7 › Info Drawer - File Folder Properties › [XAT-17241] Add a new category to a node

2) [Info Drawer] › src/tests/file-folder-properties.e2e.ts:212:7 › Info Drawer - File Folder Properties › [XAT-17241] Add a new category to a node Test timeout of 85000ms exceeded.
* Copyright © 2005-2024 Hyland Software, Inc. and its affiliates. All rights reserved.
*
* Alfresco Example Content Application
await fileActionsApi.waitForNodes(folderName, { expect: 1 });
await personalFiles.navigate();
await Utils.reloadPageIfRowNotVisible(personalFiles, folderName);
await expect(personalFiles.dataTable.getRowByName(folderName)).toBeVisible();

Check failure on line 130 in e2e/playwright/info-drawer/src/tests/file-folder-properties.e2e.ts

GitHub Actions / E2E Playwright - info-drawer

[Info Drawer] › src/tests/file-folder-properties.e2e.ts:212:7 › Info Drawer - File Folder Properties › [XAT-17241] Add a new category to a node

2) [Info Drawer] › src/tests/file-folder-properties.e2e.ts:212:7 › Info Drawer - File Folder Properties › [XAT-17241] Add a new category to a node Error: expect.toBeVisible: Target page, context or browser has been closed 128 | await personalFiles.navigate(); 129 | await Utils.reloadPageIfRowNotVisible(personalFiles, folderName); > 130 | await expect(personalFiles.dataTable.getRowByName(folderName)).toBeVisible(); | ^ 131 | await personalFiles.dataTable.getRowByName(folderName).click(); 132 | await personalFiles.acaHeader.viewDetails.click(); 133 | } at navigateAndOpenInfoDrawer (/home/runner/work/alfresco-content-app/alfresco-content-app/e2e/playwright/info-drawer/src/tests/file-folder-properties.e2e.ts:130:68) at /home/runner/work/alfresco-content-app/alfresco-content-app/e2e/playwright/info-drawer/src/tests/file-folder-properties.e2e.ts:213:5
await personalFiles.dataTable.getRowByName(folderName).click();
await personalFiles.acaHeader.viewDetails.click();
}
/*!

Check failure on line 1 in e2e/playwright/info-drawer/src/tests/library-properties.e2e.ts

GitHub Actions / E2E Playwright - info-drawer

[Info Drawer] › src/tests/library-properties.e2e.ts:135:7 › Library properties › [C289340] Cancel editing a site

3) [Info Drawer] › src/tests/library-properties.e2e.ts:135:7 › Library properties › [C289340] Cancel editing a site Test timeout of 85000ms exceeded.
* Copyright © 2005-2024 Hyland Software, Inc. and its affiliates. All rights reserved.
*
* Alfresco Example Content Application
const newName = `new-name-${Utils.random}`;
const newDesc = `new desc ${Utils.random}`;
await myLibrariesPage.dataTable.getRowByName(site.name).click();

Check failure on line 139 in e2e/playwright/info-drawer/src/tests/library-properties.e2e.ts

GitHub Actions / E2E Playwright - info-drawer

[Info Drawer] › src/tests/library-properties.e2e.ts:135:7 › Library properties › [C289340] Cancel editing a site

3) [Info Drawer] › src/tests/library-properties.e2e.ts:135:7 › Library properties › [C289340] Cancel editing a site Error: locator.click: Test timeout of 85000ms exceeded. Call log: - waiting for locator('adf-datatable adf-datatable-row').filter({ hasText: 'site1-1bupn' }) 137 | const newDesc = `new desc ${Utils.random}`; 138 | > 139 | await myLibrariesPage.dataTable.getRowByName(site.name).click(); | ^ 140 | await myLibrariesPage.acaHeader.viewDetails.click(); 141 | await expect(myLibrariesPage.libraryDetails.infoDrawerPanel).toBeVisible(); 142 | await expect(myLibrariesPage.libraryDetails.editButton).toBeVisible(); at /home/runner/work/alfresco-content-app/alfresco-content-app/e2e/playwright/info-drawer/src/tests/library-properties.e2e.ts:139:61
await myLibrariesPage.acaHeader.viewDetails.click();
await expect(myLibrariesPage.libraryDetails.infoDrawerPanel).toBeVisible();
await expect(myLibrariesPage.libraryDetails.editButton).toBeVisible();
await searchPage.searchFiltersProperties.setPropertiesParameters(searchPage, 'At Most', 'MB', '1');
await expect(searchPage.searchFilters.propertiesFilter).toContainText('Properties: At Most 1 MB');
await expect(searchPage.dataTable.getRowByName(fileNamePdfKb)).toBeVisible();

Check failure on line 74 in e2e/playwright/search/src/tests/search-filters-properties.e2e.ts

GitHub Actions / E2E Playwright - search

[Search] › src/tests/search-filters-properties.e2e.ts:69:7 › Search - Filters - Properties › [C699046-2] Filter by size - At most 1MB

1) [Search] › src/tests/search-filters-properties.e2e.ts:69:7 › Search - Filters - Properties › [C699046-2] Filter by size - At most 1MB Error: Timed out 5000ms waiting for expect(locator).toBeVisible() Locator: locator('adf-datatable adf-datatable-row').filter({ hasText: '160f2-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: '160f2-fileNameKb.pdf' }) 72 | 73 | await expect(searchPage.searchFilters.propertiesFilter).toContainText('Properties: At Most 1 MB'); > 74 | await expect(searchPage.dataTable.getRowByName(fileNamePdfKb)).toBeVisible(); | ^ 75 | await expect(searchPage.dataTable.getRowByName(fileNameJpgMb)).toBeHidden(); 76 | }); 77 | at /home/runner/work/alfresco-content-app/alfresco-content-app/e2e/playwright/search/src/tests/search-filters-properties.e2e.ts:74:68
await expect(searchPage.dataTable.getRowByName(fileNameJpgMb)).toBeHidden();
});
await searchPage.searchWithin(randomId, 'files');
await searchPage.searchFiltersProperties.setPropertiesParameters(searchPage, undefined, undefined, undefined, 'pdf');
await expect(searchPage.searchFilters.propertiesFilter).toContainText('Properties: pdf');

Check failure on line 91 in e2e/playwright/search/src/tests/search-filters-properties.e2e.ts

GitHub Actions / E2E Playwright - search

[Search] › src/tests/search-filters-properties.e2e.ts:87:7 › Search - Filters - Properties › [C699047] Filter by type

2) [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).toContainText(expected) Locator: locator('adf-search-widget-chip').filter({ hasText: 'Properties' }) Expected string: "Properties: pdf" Received string: "Properties:  3g2 keyboard_arrow_down" Call log: - expect.toContainText with timeout 5000ms - waiting for locator('adf-search-widget-chip').filter({ hasText: 'Properties' }) - locator resolved to <adf-search-widget-chip class="ng-star-inserted" ng-reflect-category="[object Object]">…</adf-search-widget-chip> - unexpected value "Properties:  3g2 keyboard_arrow_down" - locator resolved to <adf-search-widget-chip class="ng-star-inserted" ng-reflect-category="[object Object]">…</adf-search-widget-chip> - unexpected value "Properties:  3g2 keyboard_arrow_down" - locator resolved to <adf-search-widget-chip class="ng-star-inserted" ng-reflect-category="[object Object]">…</adf-search-widget-chip> - unexpected value "Properties:  3g2 keyboard_arrow_down" - locator resolved to <adf-search-widget-chip class="ng-star-inserted" ng-reflect-category="[object Object]">…</adf-search-widget-chip> - unexpected value "Properties:  3g2 keyboard_arrow_down" - locator resolved to <adf-search-widget-chip class="ng-star-inserted" ng-reflect-category="[object Object]">…</adf-search-widget-chip> - unexpected value "Properties:  3g2 keyboard_arrow_down" - locator resolved to <adf-search-widget-chip class="ng-star-inserted" ng-reflect-category="[object Object]">…</adf-search-widget-chip> - unexpected value "Properties:  3g2 keyboard_arrow_down" - locator resolved to <adf-search-widget-chip class="ng-star-inserted" ng-reflect-category="[object Object]">…</adf-search-widget-chip> - unexpected value "Properties:  3g2 keyboard_arrow_down" - locator resolved to <adf-search-widget-chip class="ng-star-inserted" ng-reflect-category="[object Object]">…</adf-search-widget-chip> - unexpected value "Properties:  3g2 keyboard_arrow_down" - locator resolved to <adf-search-widget-chip class="ng-star-inserted" ng-reflect-category="[object Object]">…</adf-search-widget-chip> - unexpected value "Properties:  3g2 keyboard_arrow_down" 89 | await searchPage.searchFiltersProperties.setPropertiesParameters(searchPage, undefined, undefined, undefined, '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 | }); at /home/runner/work/alfresco-content-app/alfresco-content-app/e2e/playwright/search/src/tests/search-filters-properties.e2e.ts:91:61
await expect(searchPage.dataTable.getRowByName(fileNamePdfKb)).toBeVisible();
await expect(searchPage.dataTable.getRowByName(fileNameJpgMb)).toBeHidden();
});
await personalFiles.snackBar.closeIcon.click();
expect(await personalFiles.dataTable.isItemPresent(file1)).toBeFalsy();
items--;
expect(await personalFiles.pagination.getMaxRange()).toEqual(` Showing 1-${items} of ${items} `);

Check failure on line 131 in e2e/playwright/delete-actions/src/tests/delete-undo-delete.e2e.ts

GitHub Actions / E2E Playwright - delete-actions

[Delete Actions] › src/tests/delete-undo-delete.e2e.ts:119:9 › Delete and undo delete › on Personal Files › [C217125] delete a file and check notification

1) [Delete Actions] › src/tests/delete-undo-delete.e2e.ts:119:9 › Delete and undo delete › on Personal Files › [C217125] delete a file and check notification Error: expect(received).toEqual(expected) // deep equality Expected: " Showing 1--1 of -1 " Received: " Showing 1-12 of 12 " 129 | expect(await personalFiles.dataTable.isItemPresent(file1)).toBeFalsy(); 130 | items--; > 131 | expect(await personalFiles.pagination.getMaxRange()).toEqual(` Showing 1-${items} of ${items} `); | ^ 132 | await trashPage.navigate(); 133 | expect(await personalFiles.dataTable.isItemPresent(file1)).toBeTruthy(); 134 | }); at /home/runner/work/alfresco-content-app/alfresco-content-app/e2e/playwright/delete-actions/src/tests/delete-undo-delete.e2e.ts:131:60

Check failure on line 131 in e2e/playwright/delete-actions/src/tests/delete-undo-delete.e2e.ts

GitHub Actions / E2E Playwright - delete-actions

[Delete Actions] › src/tests/delete-undo-delete.e2e.ts:119:9 › Delete and undo delete › on Personal Files › [C217125] delete a file and check notification

1) [Delete Actions] › src/tests/delete-undo-delete.e2e.ts:119:9 › Delete and undo delete › on Personal Files › [C217125] delete a file and check notification Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(received).toEqual(expected) // deep equality Expected: " Showing 1--1 of -1 " Received: " Showing 1-12 of 12 " 129 | expect(await personalFiles.dataTable.isItemPresent(file1)).toBeFalsy(); 130 | items--; > 131 | expect(await personalFiles.pagination.getMaxRange()).toEqual(` Showing 1-${items} of ${items} `); | ^ 132 | await trashPage.navigate(); 133 | expect(await personalFiles.dataTable.isItemPresent(file1)).toBeTruthy(); 134 | }); at /home/runner/work/alfresco-content-app/alfresco-content-app/e2e/playwright/delete-actions/src/tests/delete-undo-delete.e2e.ts:131:60
await trashPage.navigate();
expect(await personalFiles.dataTable.isItemPresent(file1)).toBeTruthy();
});
await personalFiles.snackBar.clickSnackBarAction();
await personalFiles.dataTable.spinnerWaitForReload();
expect(await personalFiles.dataTable.isItemPresent(file5)).toBeTruthy();
expect(await personalFiles.pagination.getRange()).toContain(`1-${items} of ${items}`);

Check failure on line 206 in e2e/playwright/delete-actions/src/tests/delete-undo-delete.e2e.ts

GitHub Actions / E2E Playwright - delete-actions

[Delete Actions] › src/tests/delete-undo-delete.e2e.ts:196:9 › Delete and undo delete › on Personal Files › [C217132] undo delete of file

2) [Delete Actions] › src/tests/delete-undo-delete.e2e.ts:196:9 › Delete and undo delete › on Personal Files › [C217132] undo delete of file Error: expect(received).toContain(expected) // indexOf Expected substring: "1-0 of 0" Received string: "Showing 1-12 of 12" 204 | await personalFiles.dataTable.spinnerWaitForReload(); 205 | expect(await personalFiles.dataTable.isItemPresent(file5)).toBeTruthy(); > 206 | expect(await personalFiles.pagination.getRange()).toContain(`1-${items} of ${items}`); | ^ 207 | }); 208 | 209 | test('[C280503] undo delete of folder with content', async ({ personalFiles }) => { at /home/runner/work/alfresco-content-app/alfresco-content-app/e2e/playwright/delete-actions/src/tests/delete-undo-delete.e2e.ts:206:57
});
test('[C280503] undo delete of folder with content', async ({ personalFiles }) => {