ag-awsauth 0.0.273 → 0.0.274

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.
@@ -103,8 +103,12 @@ function getMFA(p) {
103
103
  yield page.keyboard.type(p.creds.password);
104
104
  yield page.$eval('#password-submit-button button', (el) => el.click());
105
105
  yield (0, sleep_1.sleep)(250);
106
- yield page.waitForNetworkIdle({ idleTime: 250 });
107
- //
106
+ try {
107
+ yield page.waitForNetworkIdle({ idleTime: 250, timeout: 3000 });
108
+ }
109
+ catch (e) {
110
+ //
111
+ }
108
112
  try {
109
113
  (0, log_1.info)('wait optional alert message');
110
114
  const messageDiv = yield page.waitForSelector('.awsui-alert-message', {
package/package.json CHANGED
@@ -5,7 +5,7 @@
5
5
  "author": "andrei gec (andreigec@hotmail.com)",
6
6
  "license": "ISC",
7
7
  "private": false,
8
- "version": "0.0.273",
8
+ "version": "0.0.274",
9
9
  "preferGlobal": true,
10
10
  "scripts": {
11
11
  "format": "eslint --ext .ts,.tsx src --fix",