summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRémy Coutable <remy@rymai.me>2018-09-27 12:14:09 +0200
committerRémy Coutable <remy@rymai.me>2018-09-27 12:14:11 +0200
commite2a2ba6810d21fd1a54f4c25b135fdc2039f9030 (patch)
tree67fb8c6ab5d2a19ac028b56ff3b2266f19d63414
parentd5bce06df1ec36371db208d0aaf42d849eb63bcf (diff)
downloadgitlab-ce-qa-fix-sanity-framework-test.tar.gz
Fix a sanity framework testqa-fix-sanity-framework-test
On first load, the login page displays the "Change your password" tab, not the "Sign in" tab. We now assert on the presence of a text that's always on this page. Note that in EE, since a license is added in the `#perform_before_hooks` method, the password is changed so that when we visit the login page, the "Sign in" tab is displayed as expected. That's why only the CE job failed to pass in https://gitlab.com/gitlab-org/gitlab-qa/pipelines/31060920. Signed-off-by: Rémy Coutable <remy@rymai.me>
-rw-r--r--qa/qa/specs/features/sanity/framework_spec.rb4
1 files changed, 1 insertions, 3 deletions
diff --git a/qa/qa/specs/features/sanity/framework_spec.rb b/qa/qa/specs/features/sanity/framework_spec.rb
index ee9d068eb3a..aae0f0ade71 100644
--- a/qa/qa/specs/features/sanity/framework_spec.rb
+++ b/qa/qa/specs/features/sanity/framework_spec.rb
@@ -6,9 +6,7 @@ module QA
it 'succeeds' do
Runtime::Browser.visit(:gitlab, Page::Main::Login)
- Page::Main::Login.perform do |main_login|
- expect(main_login.sign_in_tab?).to be(true)
- end
+ expect(page).to have_text('Open source software to collaborate on code')
end
end