Commit 34d71562 authored by Grzegorz Bizon's avatar Grzegorz Bizon

Merge branch 'sh-gitlab-qa-fix-ee-license-add' into 'master'

GitLab QA fix: Adjust license key add for GitLab 10.0 changes

See merge request gitlab-org/gitlab-ee!3059
parents 09cdabd2 d9abde0d
...@@ -4,13 +4,13 @@ module QA ...@@ -4,13 +4,13 @@ module QA
module Admin module Admin
class License < QA::Page::Base class License < QA::Page::Base
def no_license? def no_license?
page.has_content?('No GitLab Enterprise Edition ' \ page.has_content?('You do not have a license')
'license has been provided yet')
end end
def add_new_license(key) def add_new_license(key)
raise 'License key empty!' if key.to_s.empty? raise 'License key empty!' if key.to_s.empty?
click_link 'Upload New License'
choose 'Enter license key' choose 'Enter license key'
fill_in 'License key', with: key fill_in 'License key', with: key
click_button 'Upload license' click_button 'Upload license'
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment