@suffolklitlab/alkiln 5.16.1-always-html-4 → 5.16.1-always-html-5
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/lib/scope.js +7 -7
- package/lib/steps.js +1 -1
- package/package.json +1 -1
package/lib/scope.js
CHANGED
|
@@ -3184,7 +3184,7 @@ module.exports = {
|
|
|
3184
3184
|
let winner = await scope.steps.race_sign_in_navigation( scope, { elem, login_url });
|
|
3185
3185
|
// console.log(`🖊️ 113.5 ${ winner }`);
|
|
3186
3186
|
// await scope.take_a_screenshot(scope, {path:`${scope.paths.artifacts}/Temp-6.jpg`});
|
|
3187
|
-
console.log(`🖊️ 113.6 ${ winner }`);
|
|
3187
|
+
// console.log(`🖊️ 113.6 ${ winner }`);
|
|
3188
3188
|
// Add the result to the report and possibly throw errors
|
|
3189
3189
|
if ( winner[0] === `success` ) {
|
|
3190
3190
|
reports.addToReport( scope, {
|
|
@@ -3207,12 +3207,12 @@ module.exports = {
|
|
|
3207
3207
|
throw new Error( error_msg );
|
|
3208
3208
|
}
|
|
3209
3209
|
// console.log(`🖊️ 114`);
|
|
3210
|
-
await scope.take_a_screenshot(scope, {path:`${scope.paths.artifacts}/Temp-7.jpg`});
|
|
3211
|
-
if (error_msg) {
|
|
3212
|
-
|
|
3213
|
-
} else {
|
|
3214
|
-
|
|
3215
|
-
}
|
|
3210
|
+
// await scope.take_a_screenshot(scope, {path:`${scope.paths.artifacts}/Temp-7.jpg`});
|
|
3211
|
+
// if ( error_msg ) { // undefined sometimes now
|
|
3212
|
+
// return [ error_msg ];
|
|
3213
|
+
// } else {
|
|
3214
|
+
// return [];
|
|
3215
|
+
// }
|
|
3216
3216
|
}, // Ends scope.steps.sign_in()
|
|
3217
3217
|
|
|
3218
3218
|
race_sign_in_navigation: async function ( scope, { elem, login_url='unknown' }) {
|
package/lib/steps.js
CHANGED
|
@@ -317,7 +317,7 @@ Given(
|
|
|
317
317
|
// enough of a pause between initial navigation and pressing button.
|
|
318
318
|
foo = scope.page
|
|
319
319
|
// console.log(`⭐️ ${ JSON.stringify(scope.page, null, 2) }`)
|
|
320
|
-
|
|
320
|
+
await scope.steps.sign_in( scope, {
|
|
321
321
|
email_secret_name: email,
|
|
322
322
|
password_secret_name: password,
|
|
323
323
|
api_key_secret_name: api_key
|
package/package.json
CHANGED