@datacamp/learn-vm-scripts 1.13.3 → 1.13.4
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.
- package/dist/index.cjs +7 -4
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -366743,24 +366743,27 @@ async function loginToAzure({
|
|
|
366743
366743
|
value: username
|
|
366744
366744
|
});
|
|
366745
366745
|
await Promise.all([
|
|
366746
|
-
page.waitForNavigation({ waitUntil: "
|
|
366746
|
+
page.waitForNavigation({ waitUntil: "domcontentloaded" }),
|
|
366747
366747
|
page.click('input[type="submit"]')
|
|
366748
366748
|
]);
|
|
366749
366749
|
logger.log("Email entered successfully");
|
|
366750
366750
|
logger.log("Entering password...");
|
|
366751
366751
|
await setInput({
|
|
366752
366752
|
page,
|
|
366753
|
-
querySelector: 'input[
|
|
366753
|
+
querySelector: 'input[id="accesspass"]',
|
|
366754
366754
|
value: password
|
|
366755
366755
|
});
|
|
366756
366756
|
await Promise.all([
|
|
366757
|
-
page.waitForNavigation(),
|
|
366757
|
+
page.waitForNavigation({ waitUntil: "domcontentloaded" }),
|
|
366758
366758
|
page.click('input[type="submit"]')
|
|
366759
366759
|
]);
|
|
366760
366760
|
logger.log("Password entered successfully");
|
|
366761
366761
|
logger.log("Ensuring user stays signed in ...");
|
|
366762
366762
|
await page.waitForSelector('[type="submit"]');
|
|
366763
|
-
await Promise.all([
|
|
366763
|
+
await Promise.all([
|
|
366764
|
+
page.waitForNavigation({ waitUntil: "domcontentloaded" }),
|
|
366765
|
+
page.click('[type="submit"]')
|
|
366766
|
+
]);
|
|
366764
366767
|
if (skipOnboarding) {
|
|
366765
366768
|
logger.log("Skipping onboarding...");
|
|
366766
366769
|
void closeOnboardingPopups(page).catch((error2) => {
|
package/package.json
CHANGED