@suffolklitlab/alkiln 5.9.0-feat-url3 → 5.9.0-feat-url5
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 +0 -5
- package/lib/steps.js +1 -1
- package/package.json +1 -1
package/lib/scope.js
CHANGED
|
@@ -2860,11 +2860,6 @@ module.exports = {
|
|
|
2860
2860
|
let elem = await scope.page.$( `button[name="submit"]` );
|
|
2861
2861
|
await scope.tapElementAndNavigate( scope, { elem });
|
|
2862
2862
|
|
|
2863
|
-
// Wait to see the success message.
|
|
2864
|
-
// This is a bit of an assumption and needs success and failure testing
|
|
2865
|
-
// TODO: use a Promise.race to fail faster.
|
|
2866
|
-
await scope.page.waitForSelector( `.datopcenter .alert-success` );
|
|
2867
|
-
|
|
2868
2863
|
reports.addToReport( scope, {
|
|
2869
2864
|
type: `row`,
|
|
2870
2865
|
value: `Signed into ${ session_vars.get_da_server_url() }/user/sign-in successfully.`
|
package/lib/steps.js
CHANGED
|
@@ -114,7 +114,7 @@ Before(async (scenario) => {
|
|
|
114
114
|
|
|
115
115
|
// Create browser, which can't be created in BeforeAll() where .driver doesn't exist for some reason
|
|
116
116
|
if (!scope.browser) {
|
|
117
|
-
if (session_vars.get_origin()
|
|
117
|
+
if ( session_vars.get_origin() !== `local` ) {
|
|
118
118
|
// Will only run in the Playground outside of a sandbox. TODO: There's a
|
|
119
119
|
// better way to do this, though it's more complicated. See comments in
|
|
120
120
|
// https://github.com/SuffolkLITLab/ALKiln/issues/661
|
package/package.json
CHANGED