@auxcode/auxta 1.3.74 → 1.3.76
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -208,15 +208,15 @@ class FunctionHelper extends extend_default_page_1.ExtendDefaultPage {
|
|
|
208
208
|
this.log('Then', `I checked for the '${next_button}' element to be visible`, AuxTA_1.StepStatus.PASSED);
|
|
209
209
|
yield loginPage.type(email_input, email, { delay: 0 });
|
|
210
210
|
yield loginPage.keyboard.press('Enter');
|
|
211
|
-
yield
|
|
211
|
+
yield this.timeout(3000);
|
|
212
212
|
let isWorkOrPersonalVisible = yield page.$('div.table');
|
|
213
213
|
if (!!isWorkOrPersonalVisible) {
|
|
214
214
|
yield (yield page.$$('div.table'))[0].click();
|
|
215
215
|
console.log('Then', 'I clicked Work or school account', AuxTA_1.StepStatus.PASSED);
|
|
216
|
-
yield
|
|
216
|
+
yield this.timeout(3000);
|
|
217
217
|
}
|
|
218
218
|
else {
|
|
219
|
-
yield
|
|
219
|
+
yield this.timeout(3000);
|
|
220
220
|
}
|
|
221
221
|
try {
|
|
222
222
|
yield loginPage.waitForSelector(sign_in_button, { visible: true, timeout: 60000 });
|
|
@@ -47,8 +47,6 @@ class PuppeteerExtra {
|
|
|
47
47
|
});
|
|
48
48
|
this.defaultPage = (yield this.browser.pages())[0];
|
|
49
49
|
yield AuxTA_1.default.extend_page_functions(this.defaultPage);
|
|
50
|
-
yield this.defaultPage.goto(config_1.config.baseURL, { waitUntil: 'networkidle0' });
|
|
51
|
-
yield this.defaultPage.waitForNetworkIdle();
|
|
52
50
|
});
|
|
53
51
|
}
|
|
54
52
|
close() {
|