close joyride fix when you only run one suite
parent
620c6accad
commit
cfc3458e8f
|
@ -385,9 +385,12 @@ common.uploadImagePath = function() {
|
||||||
};
|
};
|
||||||
|
|
||||||
common.closeJoyride = function() {
|
common.closeJoyride = function() {
|
||||||
browser.waitForAngular();
|
$('.introjs-skipbutton').isPresent().then((present) => {
|
||||||
|
console.log(present);
|
||||||
$('.introjs-skipbutton').click();
|
if (present) {
|
||||||
|
browser.waitForAngular();
|
||||||
browser.sleep(200);
|
$('.introjs-skipbutton').click();
|
||||||
|
browser.sleep(600);
|
||||||
|
}
|
||||||
|
});
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue