Commit 61e0ea10 authored by Mark Lapierre's avatar Mark Lapierre

Merge branch 'qa-fix-push-rules-spec' into 'master'

Fix checkbox methods n push_rules_spec

See merge request gitlab-org/gitlab!85147
parents 4ac2fcc6 a6ce376b
...@@ -28,23 +28,23 @@ module QA ...@@ -28,23 +28,23 @@ module QA
end end
def check_reject_unsigned_commits def check_reject_unsigned_commits
check_element(:reject_unsigned_commits_checkbox) check_element(:reject_unsigned_commits_checkbox, true)
end end
def check_committer_restriction def check_committer_restriction
check_element(:committer_restriction_checkbox) check_element(:committer_restriction_checkbox, true)
end end
def check_deny_delete_tag def check_deny_delete_tag
check_element(:deny_delete_tag_checkbox) check_element(:deny_delete_tag_checkbox, true)
end end
def check_restrict_author def check_restrict_author
check_element(:restrict_author_checkbox) check_element(:restrict_author_checkbox, true)
end end
def check_prevent_secrets def check_prevent_secrets
check_element(:prevent_secrets_checkbox) check_element(:prevent_secrets_checkbox, true)
end end
def fill_commit_message_rule(message) def fill_commit_message_rule(message)
......
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