Commit db7ead88 authored by Kushal Pandya's avatar Kushal Pandya

Merge branch '333068-ee' into 'master'

Use the parent element to find elements to remove the child

See merge request gitlab-org/gitlab!63935
parents 2a39509e 1caa71c0
......@@ -33,7 +33,7 @@ RSpec.describe 'Test Cases', :js do
end
it 'shows action buttons' do
page.within('.test-case-container .detail-page-header-actions') do
page.within('.test-case-container .detail-page-header') do
expect(page).to have_selector('.dropdown', visible: false)
expect(page).to have_button('Archive test case')
expect(page).to have_link('New test case', href: new_project_quality_test_case_path(project))
......
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