fix e2e tests
parent
9b3203bd02
commit
b5371910ce
|
@ -13,6 +13,9 @@ helper.saveWebHook = async function(name, email, key) {
|
||||||
await inputs.get(1).sendKeys(email);
|
await inputs.get(1).sendKeys(email);
|
||||||
await inputs.get(2).sendKeys(key);
|
await inputs.get(2).sendKeys(key);
|
||||||
|
|
||||||
|
// debounce
|
||||||
|
await browser.sleep(2000);
|
||||||
|
|
||||||
let newWebHook = await $('.add-new').isDisplayed();
|
let newWebHook = await $('.add-new').isDisplayed();
|
||||||
|
|
||||||
if(newWebHook) {
|
if(newWebHook) {
|
||||||
|
|
|
@ -8,7 +8,7 @@ var actions = {
|
||||||
|
|
||||||
let project = $$('div[tg-dropdown-project-list] li a').get(index);
|
let project = $$('div[tg-dropdown-project-list] li a').get(index);
|
||||||
|
|
||||||
project.click();
|
common.link(project);
|
||||||
|
|
||||||
common.waitLoader();
|
common.waitLoader();
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in New Issue