Skip to content

Commit 5ef935d

Browse files
committed
Fixing entity select lookups.
1 parent da5874a commit 5ef935d

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed
8.26 KB
Binary file not shown.

eform-client/e2e/Page objects/BackendConfiguration/BackendConfigurationAreaRules.page.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -216,29 +216,29 @@ export class BackendConfigurationAreaRulesPage extends Page {
216216
}
217217

218218
public async createEntityItemName(i: number) {
219-
const ele = await $$(`#createEntityItemName`)[i];
219+
const ele = await $$(`.createEntityItemName`)[i];
220220
await ele.waitForDisplayed({ timeout: 40000 });
221221
await ele.waitForClickable({ timeout: 40000 });
222222
return ele;
223223
}
224224

225225
public async entityItemEditBtn(i: number) {
226-
const ele = await $$(`#entityItemEditBtn`)[i];
226+
const ele = await $$(`.entityItemEditBtn`)[i];
227227
await ele.waitForDisplayed({ timeout: 40000 });
228228
await ele.waitForClickable({ timeout: 40000 });
229229
return ele;
230230
}
231231

232232
public async entityItemDeleteBtn(i: number) {
233-
const ele = await $$(`#entityItemDeleteBtn`)[i];
233+
const ele = await $$(`.entityItemDeleteBtn`)[i];
234234
await ele.waitForDisplayed({ timeout: 40000 });
235235
await ele.waitForClickable({ timeout: 40000 });
236236
return ele;
237237
}
238238

239239
public async getCountEntityListItems(): Promise<number> {
240240
await browser.pause(500);
241-
return $$(`#createEntityItemName`).length;
241+
return $$(`.createEntityItemName`).length;
242242
}
243243

244244
public async getFirstAreaRuleRowObject(): Promise<AreaRuleRowObject> {

eform-client/e2e/Tests/backend-configuration-general/task-management/backend-configuration-task-management.delete.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ describe('Backend Configuration Task Manager Delete Task', function () {
4545
await btn.click();
4646
const itemObj = new EntitySelectItemEditRowObject();
4747
const item = await itemObj.getRow(i + 1);
48-
const editBtn = await $$('#entityItemEditBtn')[i];
48+
const editBtn = await $$('.entityItemEditBtn')[i];
4949
await editBtn.click();
5050
const ele = $(`#entityItemEditNameBox`);
5151
await ele.waitForDisplayed({timeout: 40000});

0 commit comments

Comments
 (0)