Commit 5ce12f5c authored by Rémy Coutable's avatar Rémy Coutable

test: Quarantine a flaky test

Signed-off-by: default avatarRémy Coutable <remy@rymai.me>
parent 73803b08
...@@ -44,7 +44,7 @@ RSpec.describe 'Mermaid rendering', :js do ...@@ -44,7 +44,7 @@ RSpec.describe 'Mermaid rendering', :js do
expect(page.html.scan(expected).count).to be(4) expect(page.html.scan(expected).count).to be(4)
end end
it 'renders only 2 Mermaid blocks and ', :js, quarantine: { issue: 'https://gitlab.com/gitlab-org/gitlab/-/issues/234081' } do it 'renders only 2 Mermaid blocks and ', quarantine: 'https://gitlab.com/gitlab-org/gitlab/-/issues/234081' do
description = <<~MERMAID description = <<~MERMAID
```mermaid ```mermaid
graph LR graph LR
...@@ -71,7 +71,7 @@ RSpec.describe 'Mermaid rendering', :js do ...@@ -71,7 +71,7 @@ RSpec.describe 'Mermaid rendering', :js do
end end
end end
it 'correctly sizes mermaid diagram inside <details> block', :js do it 'correctly sizes mermaid diagram inside <details> block' do
description = <<~MERMAID description = <<~MERMAID
<details> <details>
<summary>Click to show diagram</summary> <summary>Click to show diagram</summary>
...@@ -102,7 +102,7 @@ RSpec.describe 'Mermaid rendering', :js do ...@@ -102,7 +102,7 @@ RSpec.describe 'Mermaid rendering', :js do
end end
end end
it 'correctly sizes mermaid diagram block', :js do it 'correctly sizes mermaid diagram block' do
description = <<~MERMAID description = <<~MERMAID
```mermaid ```mermaid
graph TD; graph TD;
...@@ -121,7 +121,7 @@ RSpec.describe 'Mermaid rendering', :js do ...@@ -121,7 +121,7 @@ RSpec.describe 'Mermaid rendering', :js do
expect(page).to have_css('svg.mermaid[style*="max-width"][width="100%"]') expect(page).to have_css('svg.mermaid[style*="max-width"][width="100%"]')
end end
it 'display button when diagram exceeds length', :js do it 'display button when diagram exceeds length', quarantine: 'https://gitlab.com/gitlab-org/gitlab/-/issues/287806' do
graph_edges = "A-->B;B-->A;" * 420 graph_edges = "A-->B;B-->A;" * 420
description = <<~MERMAID description = <<~MERMAID
......
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