diff options
author | Mayra Cabrera <mcabrera@gitlab.com> | 2019-07-29 19:12:23 +0000 |
---|---|---|
committer | Mayra Cabrera <mcabrera@gitlab.com> | 2019-07-29 19:12:23 +0000 |
commit | a8b29b78caf792013cfcbb01e3fc7e4ff025b354 (patch) | |
tree | 848de7f65b4b0bfb9a7c619c9e6f0631e336d099 /spec | |
parent | 5e24f02ff4a610e83e4053b70e05d984ed1bb8cb (diff) | |
parent | 68f170a449afee29ab7361ffac09269db3ce13bf (diff) | |
download | gitlab-ce-a8b29b78caf792013cfcbb01e3fc7e4ff025b354.tar.gz |
Merge branch 'tp-qtt182-2' into 'master'
Change qa-* class references to rspec-* for `allowed-to-{push|merge}-dropdown`
Closes gitlab-org/quality/team-tasks#182
See merge request gitlab-org/gitlab-ce!31203
Diffstat (limited to 'spec')
-rw-r--r-- | spec/support/shared_examples/features/protected_branches_access_control_ce.rb | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/spec/support/shared_examples/features/protected_branches_access_control_ce.rb b/spec/support/shared_examples/features/protected_branches_access_control_ce.rb index 867a1774aa9..db83d6f0793 100644 --- a/spec/support/shared_examples/features/protected_branches_access_control_ce.rb +++ b/spec/support/shared_examples/features/protected_branches_access_control_ce.rb @@ -8,7 +8,7 @@ shared_examples "protected branches > access control > CE" do set_protected_branch_name('master') find(".js-allowed-to-merge").click - within('.qa-allowed-to-merge-dropdown') do + within('.rspec-allowed-to-merge-dropdown') do expect(first("li")).to have_content("Roles") find(:link, 'No one').click end @@ -34,13 +34,13 @@ shared_examples "protected branches > access control > CE" do set_protected_branch_name('master') find(".js-allowed-to-merge").click - within('.qa-allowed-to-merge-dropdown') do + within('.rspec-allowed-to-merge-dropdown') do expect(first("li")).to have_content("Roles") find(:link, 'No one').click end find(".js-allowed-to-push").click - within('.qa-allowed-to-push-dropdown') do + within('.rspec-allowed-to-push-dropdown') do expect(first("li")).to have_content("Roles") find(:link, 'No one').click end @@ -80,7 +80,7 @@ shared_examples "protected branches > access control > CE" do end find(".js-allowed-to-push").click - within('.qa-allowed-to-push-dropdown') do + within('.rspec-allowed-to-push-dropdown') do expect(first("li")).to have_content("Roles") find(:link, 'No one').click end @@ -97,13 +97,13 @@ shared_examples "protected branches > access control > CE" do set_protected_branch_name('master') find(".js-allowed-to-merge").click - within('.qa-allowed-to-merge-dropdown') do + within('.rspec-allowed-to-merge-dropdown') do expect(first("li")).to have_content("Roles") find(:link, 'No one').click end find(".js-allowed-to-push").click - within('.qa-allowed-to-push-dropdown') do + within('.rspec-allowed-to-push-dropdown') do expect(first("li")).to have_content("Roles") find(:link, 'No one').click end |