Fixed search e2es

This commit is contained in:
Vito Albano
2023-12-20 23:11:36 +00:00
parent 2eb17d521b
commit d97d74daa6
5 changed files with 8 additions and 7 deletions

View File

@@ -105,7 +105,7 @@ describe('Task cloud visibility', async () => {
await taskFormCloudComponent.formFields().checkWidgetIsHidden('Number2');
});
fit('[C315232] Should be able to complete a process with visibility condition for boolean widgets', async () => {
it('[C315232] Should be able to complete a process with visibility condition for boolean widgets', async () => {
await processCloudDemoPage.openNewProcessForm();
await startProcessPage.clearField(startProcessPage.processNameInput);
await startProcessPage.selectFromProcessDropdown(browser.params.resources.ACTIVITI_CLOUD_APPS.SIMPLE_APP.processes.booleanvisibilityprocess);

View File

@@ -222,7 +222,7 @@ describe('Task Header cloud component', () => {
await taskHeaderCloudPage.statusCardTextItem.checkElementIsReadonly();
});
it('[C291991] Should be able to assign a task only to the users that have access to the selected app', async () => {
fit('[C291991] Should be able to assign a task only to the users that have access to the selected app', async () => {
await tasksCloudDemoPage.clickStartNewTaskButton();
const currentAssignee = await peopleCloudComponentPage.getChipAssignee();
await expect(currentAssignee).toContain(testUser.firstName);

View File

@@ -318,6 +318,7 @@ describe('Search Number Range Filter', () => {
await expect(await sizeRangeFilter.getFromNumber()).toEqual('');
await expect(await sizeRangeFilter.getToNumber()).toEqual('');
await dataTable.waitTillContentLoaded();
const resultsSize = (await dataTable.geCellElementDetail('Size')) as ElementFinder[];
for (const currentResult of resultsSize) {
const currentSize = await BrowserActions.getAttribute(currentResult, 'title');

View File

@@ -199,7 +199,7 @@ describe('Search Filters', () => {
it('[C287796] Should be able to display the correct bucket number after selecting a filter', async () => {
await BrowserActions.getUrl(`${browser.baseUrl}/search;q=*`);
await searchFiltersPage.fileTypeCheckListFiltersPage().clickCheckListOption('PNG Image');
await searchFiltersPage.fileTypeCheckListFiltersPage().clickCheckListOption('PNG');
const bucketNumberForFilter = await searchFiltersPage.fileTypeCheckListFiltersPage().getBucketNumberOfFilterType(filter.type);
const resultFileNames: any = await contentList.getAllRowsColumnValues('Display name');