summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Kozono <mkozono@gmail.com>2018-05-29 16:54:21 -0700
committerMichael Kozono <mkozono@gmail.com>2018-05-29 16:54:48 -0700
commit1dde13c1d549ed289ee1fed1e7fca634bf417206 (patch)
treeca077313788e7434edbbf4619647221bbadd6807
parente223e9798cf4a0e6bde5e5f523ff20daf4f1faec (diff)
downloadgitlab-ce-mk/authorized-push-to-protected-branch-test-qa.tar.gz
Make protected branch spec work with EE instancesmk/authorized-push-to-protected-branch-test-qa
Until we fix the EE-only view below to use the `qa-` class, and give some time for EE instances to deploy that release. https://gitlab.com/gitlab-org/gitlab-ee/blob/f48321198700fa20c68543a86d181da7e8fbe4e6/ee/app/views/projects/protected_branches/ee/_fallback_update_protected_branch.html.haml#L31
-rw-r--r--qa/qa/page/project/settings/protected_branches.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/qa/qa/page/project/settings/protected_branches.rb b/qa/qa/page/project/settings/protected_branches.rb
index 239073fb54d..242d0743506 100644
--- a/qa/qa/page/project/settings/protected_branches.rb
+++ b/qa/qa/page/project/settings/protected_branches.rb
@@ -64,7 +64,7 @@ module QA
def last_push_allowance
within_element(:protected_branches_list) do
- all('.qa-allowed-to-push').last
+ all('.js-allowed-to-push').last
end
end