Commit 984d67d2 authored by Rémy Coutable's avatar Rémy Coutable

Quarantine flaky release specs

Signed-off-by: default avatarRémy Coutable <remy@rymai.me>
parent 5551b2c8
...@@ -51,7 +51,7 @@ RSpec.describe 'User views releases', :js do ...@@ -51,7 +51,7 @@ RSpec.describe 'User views releases', :js do
let!(:release_link) { create(:release_link, release: release_v1, name: 'linux-amd64 binaries', filepath: '/binaries/linux-amd64', url: url) } let!(:release_link) { create(:release_link, release: release_v1, name: 'linux-amd64 binaries', filepath: '/binaries/linux-amd64', url: url) }
let(:url) { "#{project.web_url}/-/jobs/1/artifacts/download" } let(:url) { "#{project.web_url}/-/jobs/1/artifacts/download" }
it 'sees the link' do it 'sees the link', quarantine: 'https://gitlab.com/gitlab-org/gitlab/-/issues/329301' do
page.within("##{release_v1.tag} .js-assets-list") do page.within("##{release_v1.tag} .js-assets-list") do
expect(page).to have_link release_link.name, href: direct_asset_link expect(page).to have_link release_link.name, href: direct_asset_link
expect(page).not_to have_css('[data-testid="external-link-indicator"]') expect(page).not_to have_css('[data-testid="external-link-indicator"]')
...@@ -62,7 +62,7 @@ RSpec.describe 'User views releases', :js do ...@@ -62,7 +62,7 @@ RSpec.describe 'User views releases', :js do
context 'when url points to external resource' do context 'when url points to external resource' do
let(:url) { 'http://google.com/download' } let(:url) { 'http://google.com/download' }
it 'sees that the link is external resource' do it 'sees that the link is external resource', quarantine: 'https://gitlab.com/gitlab-org/gitlab/-/issues/329302' do
page.within("##{release_v1.tag} .js-assets-list") do page.within("##{release_v1.tag} .js-assets-list") do
expect(page).to have_css('[data-testid="external-link-indicator"]') expect(page).to have_css('[data-testid="external-link-indicator"]')
end end
......
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