Fixed the last e2es?

This commit is contained in:
Vito Albano
2023-12-21 10:13:28 +00:00
committed by VitoAlbano
parent fea1d99103
commit c6c9383c4d
2 changed files with 2 additions and 2 deletions

View File

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

View File

@@ -64,7 +64,7 @@ export class StartProcessCloudPage {
async selectFirstOptionFromProcessDropdown(): Promise<void> { async selectFirstOptionFromProcessDropdown(): Promise<void> {
await this.clickProcessDropdownArrow(); await this.clickProcessDropdownArrow();
const selectFirstProcessDropdown = $$('.mdc-list-item__primary-text').first(); const selectFirstProcessDropdown = $$('mat-option').first();
await BrowserActions.click(selectFirstProcessDropdown); await BrowserActions.click(selectFirstProcessDropdown);
} }