Skip to content

Commit

Permalink
Increasing the pause a bit more.
Browse files Browse the repository at this point in the history
  • Loading branch information
renemadsen committed Jan 3, 2019
1 parent 24ed65b commit 7d062ac
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions eform-client/e2e/Page objects/MyEforms.page.ts
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ class MyEformsPage extends PageWithNavbarPage {

createNewEform(eFormLabel, newTagsList = [], tagAddedNum = 0) {
this.newEformBtn.click();
browser.pause(2000);
browser.pause(3000);
// Create replaced xml and insert it in textarea
const xml = XMLForEform.XML.replace('TEST_LABEL', eFormLabel);
browser.execute(function (xmlText) {
Expand All @@ -71,15 +71,15 @@ class MyEformsPage extends PageWithNavbarPage {
if (tagAddedNum > 0) {
for (let i = 0; i < tagAddedNum; i++) {
this.createEformTagSelector.click();
browser.pause(2000);
browser.pause(3000);
const selectedTag = $('.ng-option:not(.ng-option-selected)');
selectedTags.push(selectedTag.getText());
selectedTag.click();
browser.pause(2000);
browser.pause(3000);
}
}
this.createEformBtn.click();
browser.pause(5000);
browser.pause(10000);
return {added: addedTags, selected: selectedTags};
}
}
Expand Down

0 comments on commit 7d062ac

Please sign in to comment.