summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Lapierre <mlapierre@gitlab.com>2018-09-27 09:13:02 -0400
committerMark Lapierre <mlapierre@gitlab.com>2018-09-27 09:21:01 -0400
commit1bc9e60ac6a9af909537514598c4395bb6be6cca (patch)
treeeb2a22510b7d17d4168e4f53f36d014530dbe2f9
parent7c1cfd0bf5fd394e0e4387e350d69767aa873f84 (diff)
downloadgitlab-ce-qa-fix-register-spec-failure.tar.gz
Set initial password if promptedqa-fix-register-spec-failure
Fabricating a user might be the first action in the first test. If so, set the initial password
-rw-r--r--qa/qa/page/main/login.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/qa/qa/page/main/login.rb b/qa/qa/page/main/login.rb
index 89542b49d0e..9b3183ba328 100644
--- a/qa/qa/page/main/login.rb
+++ b/qa/qa/page/main/login.rb
@@ -108,6 +108,7 @@ module QA
end
def switch_to_register_tab
+ set_initial_password_if_present
click_element :register_tab
end