diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2021-09-15 12:09:47 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2021-09-15 12:09:47 +0300 |
commit | 33f96e8df089c2291010598c50ec6868ab8cb1ef (patch) | |
tree | 1c9276a56a62e464fc68fa58780647c93f0045cf /qa | |
parent | 034e7d969a591605267c0e5ddbe6f2228bf8e43d (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'qa')
-rw-r--r-- | qa/qa/page/admin/settings/component/ip_limits.rb | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/qa/qa/page/admin/settings/component/ip_limits.rb b/qa/qa/page/admin/settings/component/ip_limits.rb index 1f9bd113cab..a85b96014b3 100644 --- a/qa/qa/page/admin/settings/component/ip_limits.rb +++ b/qa/qa/page/admin/settings/component/ip_limits.rb @@ -7,16 +7,18 @@ module QA module Component class IpLimits < Page::Base view 'app/views/admin/application_settings/_ip_limits.html.haml' do - element :throttle_unauthenticated_checkbox + element :throttle_unauthenticated_api_checkbox + element :throttle_unauthenticated_web_checkbox element :throttle_authenticated_api_checkbox element :throttle_authenticated_web_checkbox element :save_changes_button end def enable_throttles - check_element(:throttle_unauthenticated_checkbox) - check_element(:throttle_authenticated_api_checkbox) - check_element(:throttle_authenticated_web_checkbox) + check_element(:throttle_unauthenticated_api_checkbox, true) + check_element(:throttle_unauthenticated_web_checkbox, true) + check_element(:throttle_authenticated_api_checkbox, true) + check_element(:throttle_authenticated_web_checkbox, true) end def save_settings |