@zohodesk/testinglibrary 0.2.3-exp.2 → 0.2.3-exp.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.
@@ -85,7 +85,7 @@ var _default = exports.default = {
85
85
  useremail: email,
86
86
  password: password
87
87
  }, async () => {
88
- await verifyPageIsLoaded(page);
88
+ return await verifyPageIsLoaded(page);
89
89
  });
90
90
  process.env.actorInfo = JSON.stringify(testPortalDetails);
91
91
  await performDefaultPageSteps({
@@ -24,7 +24,7 @@ async function performLoginSteps({
24
24
 
25
25
  // await page.waitForLoadState('networkidle')
26
26
 
27
- await Promise.race([page.waitForNavigation(), page.waitForLoadState('networkidle')]);
27
+ await Promise.race([page.waitForNavigation(), page.waitForLoadState('networkidle'), page.waitForTimeout(5000)]);
28
28
  const loginStatus = await isLoggedIn(page);
29
29
  if (!loginStatus) {
30
30
  await (0, _accountLogin.default)(page, useremail, password);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zohodesk/testinglibrary",
3
- "version": "0.2.3-exp.2",
3
+ "version": "0.2.3-exp.4",
4
4
  "description": "",
5
5
  "main": "./build/index.js",
6
6
  "scripts": {