Commit 556f7a25 authored by Ramya Authappan's avatar Ramya Authappan

Merge branch 'qa-shl-fix-lint-issues' into 'master'

Fix lint issues

See merge request gitlab-org/gitlab!50677
parents ec056fa7 88e67879
......@@ -28,12 +28,12 @@ module QA
Page::Registration::Welcome.perform(&:click_get_started_button_if_available)
success = if user.expect_fabrication_success
Page::Main::Menu.perform(&:has_personal_area?)
else
Page::Main::Menu.perform(&:not_signed_in?)
end
Page::Main::Menu.perform(&:has_personal_area?)
else
Page::Main::Menu.perform(&:not_signed_in?)
end
raise "Failed user registration attempt. Registration was expected to #{ user.expect_fabrication_success ? 'succeed' : 'fail'} but #{success ? 'succeeded' : 'failed'}." unless success
raise "Failed user registration attempt. Registration was expected to #{user.expect_fabrication_success ? 'succeed' : 'fail'} but #{success ? 'succeeded' : 'failed'}." unless success
end
def disable_sign_ups
......
......@@ -137,7 +137,7 @@ module QA
find_element(name).set(true)
checked = find_element(name).checked?
QA::Runtime::Logger.debug(checked ? "#{name} was checked" : "#{name} was not checked")
QA::Runtime::Logger.debug(checked ? "#{name} was checked" : "#{name} was not checked")
checked
end
......
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