aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/e2e/src/utils/elements.ts
diff options
context:
space:
mode:
Diffstat (limited to 'client/e2e/src/utils/elements.ts')
-rw-r--r--client/e2e/src/utils/elements.ts5
1 files changed, 4 insertions, 1 deletions
diff --git a/client/e2e/src/utils/elements.ts b/client/e2e/src/utils/elements.ts
index 9d6cfe673..b0ddd5a65 100644
--- a/client/e2e/src/utils/elements.ts
+++ b/client/e2e/src/utils/elements.ts
@@ -6,7 +6,10 @@ async function getCheckbox (name: string) {
6} 6}
7 7
8async function selectCustomSelect (id: string, valueLabel: string) { 8async function selectCustomSelect (id: string, valueLabel: string) {
9 await $(`[formcontrolname=${id}] .ng-arrow-wrapper`).click() 9 const wrapper = $(`[formcontrolname=${id}] .ng-arrow-wrapper`)
10
11 await wrapper.waitForClickable()
12 await wrapper.click()
10 13
11 const option = await $$(`[formcontrolname=${id}] .ng-option`).filter(async o => { 14 const option = await $$(`[formcontrolname=${id}] .ng-option`).filter(async o => {
12 const text = await o.getText() 15 const text = await o.getText()