From 9409b51ae56fb9954e5ad3611bf2a38bf8686a01 Mon Sep 17 00:00:00 2001
From: Alex Pott <alex.a.pott@googlemail.com>
Date: Mon, 23 Sep 2019 10:45:14 +0100
Subject: [PATCH] Issue #3080689 by ShaunDychko: Spelling errors in Nightwatch
 drupalCreateUser command

---
 core/tests/Drupal/Nightwatch/Commands/drupalCreateUser.js | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/core/tests/Drupal/Nightwatch/Commands/drupalCreateUser.js b/core/tests/Drupal/Nightwatch/Commands/drupalCreateUser.js
index 0b81be3366b9..1c907f912b64 100644
--- a/core/tests/Drupal/Nightwatch/Commands/drupalCreateUser.js
+++ b/core/tests/Drupal/Nightwatch/Commands/drupalCreateUser.js
@@ -10,7 +10,7 @@
  * @param {array} [settings.permissions=[]]
  *   The list of permissions granted for the user.
  * @param {function} callback
- *   A callback which will be called, when the creating the use is finished.
+ *   A callback which will be called when creating the user is finished.
  * @return {object}
  *   The drupalCreateUser command.
  */
@@ -48,7 +48,7 @@ exports.command = function drupalCreateUser(
       .assert.containsText(
         '.messages',
         'Created a new user account',
-        `User "${name}" was created succesfully.`,
+        `User "${name}" was created successfully.`,
       );
   });
 
-- 
GitLab