Skip to content
Snippets Groups Projects
Commit 657406f9 authored by Binayak Ghosh's avatar Binayak Ghosh
Browse files

Merge branch '3371963-update-nightwatch-to' into '11.x'

Issue #3371963: Update Nightwatch to 3.x

See merge request !4369
parents 9eb4cb9d 2d8b89fa
No related branches found
No related tags found
No related merge requests found
Pipeline #232910 canceled
Pipeline: drupal

#232911

    ......@@ -80,7 +80,7 @@
    "loadjs": "^4.3.0",
    "minimist": "^1.2.8",
    "mkdirp": "^3.0.1",
    "nightwatch": "2.4.2",
    "nightwatch": "^3.7.0",
    "normalize.css": "^8.0.1",
    "postcss": "^8.4.39",
    "postcss-header": "^3.0.3",
    ......
    ......@@ -17,7 +17,11 @@ module.exports.assertion = function () {
    };
    this.command = (callback) =>
    // eslint-disable-next-line prefer-arrow-callback
    this.api.execute(function () {
    return window.sessionStorage.getItem('js_testing_log_test.warnings');
    }, callback);
    this.api.execute(
    function () {
    return window.sessionStorage.getItem('js_testing_log_test.warnings');
    },
    [],
    callback,
    );
    };
    ......@@ -49,7 +49,6 @@ exports.command = function drupalInstall(
    // Colons need to be URL encoded to be valid.
    value: encodeURIComponent(installData.user_agent),
    path: url.pathname,
    domain: url.host,
    });
    } catch (error) {
    this.assert.fail(error);
    ......
    This diff is collapsed.
    0% Loading or .
    You are about to add 0 people to the discussion. Proceed with caution.
    Please register or to comment