Loading core/tests/Drupal/Nightwatch/Commands/drupalInstall.js +1 −1 Original line number Diff line number Diff line Loading @@ -25,7 +25,7 @@ exports.command = function drupalInstall( const self = this; // Ensure no session cookie exists anymore; they won't work on this newly installed Drupal site anyway. this.deleteCookies(); this.cookies.deleteAll(); try { setupFile = setupFile ? `--setup-file "${setupFile}"` : ''; Loading core/tests/Drupal/Nightwatch/Commands/drupalUserIsLoggedIn.js +1 −1 Original line number Diff line number Diff line Loading @@ -8,7 +8,7 @@ */ exports.command = function drupalUserIsLoggedIn(callback) { if (typeof callback === 'function') { this.getCookies((cookies) => { this.cookies.getAll((cookies) => { const sessionExists = cookies.value.some((cookie) => cookie.name.match(/^S?SESS/), ); Loading Loading
core/tests/Drupal/Nightwatch/Commands/drupalInstall.js +1 −1 Original line number Diff line number Diff line Loading @@ -25,7 +25,7 @@ exports.command = function drupalInstall( const self = this; // Ensure no session cookie exists anymore; they won't work on this newly installed Drupal site anyway. this.deleteCookies(); this.cookies.deleteAll(); try { setupFile = setupFile ? `--setup-file "${setupFile}"` : ''; Loading
core/tests/Drupal/Nightwatch/Commands/drupalUserIsLoggedIn.js +1 −1 Original line number Diff line number Diff line Loading @@ -8,7 +8,7 @@ */ exports.command = function drupalUserIsLoggedIn(callback) { if (typeof callback === 'function') { this.getCookies((cookies) => { this.cookies.getAll((cookies) => { const sessionExists = cookies.value.some((cookie) => cookie.name.match(/^S?SESS/), ); Loading