BigW Consortium Gitlab

Commit 1ddfe8ca by Stan Hu

Remove a few HTTP status checks as these are not supported in Selenium

parent f64f06f6
...@@ -198,7 +198,6 @@ feature 'Environment' do ...@@ -198,7 +198,6 @@ feature 'Environment' do
end end
it 'renders a correct environment folder' do it 'renders a correct environment folder' do
expect(page).to have_http_status(:ok)
expect(page).to have_content('Environments / staging-1.0') expect(page).to have_content('Environments / staging-1.0')
end end
end end
......
...@@ -515,7 +515,6 @@ describe 'Pipelines', :js do ...@@ -515,7 +515,6 @@ describe 'Pipelines', :js do
let(:project) { create(:project, :public, :repository) } let(:project) { create(:project, :public, :repository) }
it { expect(page).to have_content 'Build with confidence' } it { expect(page).to have_content 'Build with confidence' }
it { expect(page).to have_http_status(:success) }
end end
context 'when project is private' do context 'when project is private' do
......
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