Commit 265251ed authored by Albert Salim's avatar Albert Salim

Quarantine error_tracking_shared_example tests

parent fdfb6a5c
# frozen_string_literal: true # frozen_string_literal: true
shared_examples 'error tracking index page' do shared_examples 'error tracking index page' do
it 'renders the error index page' do it 'renders the error index page', quarantine: { issue: 'https://gitlab.com/gitlab-org/gitlab/-/issues/217810' } do
within('div.js-title-container') do within('div.js-title-container') do
expect(page).to have_content(project.namespace.name) expect(page).to have_content(project.namespace.name)
expect(page).to have_content(project.name) expect(page).to have_content(project.name)
...@@ -15,7 +15,7 @@ shared_examples 'error tracking index page' do ...@@ -15,7 +15,7 @@ shared_examples 'error tracking index page' do
end end
end end
it 'loads the error show page on click' do it 'loads the error show page on click', quarantine: { issue: 'https://gitlab.com/gitlab-org/gitlab/-/issues/217810' } do
click_on issues_response[0]['title'] click_on issues_response[0]['title']
wait_for_requests wait_for_requests
...@@ -23,7 +23,7 @@ shared_examples 'error tracking index page' do ...@@ -23,7 +23,7 @@ shared_examples 'error tracking index page' do
expect(page).to have_content('Error Details') expect(page).to have_content('Error Details')
end end
it 'renders the error index data' do it 'renders the error index data', quarantine: { issue: 'https://gitlab.com/gitlab-org/gitlab/-/issues/217810' } do
within('div.error-list') do within('div.error-list') do
expect(page).to have_content(issues_response[0]['title']) expect(page).to have_content(issues_response[0]['title'])
expect(page).to have_content(issues_response[0]['count'].to_s) expect(page).to have_content(issues_response[0]['count'].to_s)
...@@ -34,7 +34,7 @@ shared_examples 'error tracking index page' do ...@@ -34,7 +34,7 @@ shared_examples 'error tracking index page' do
end end
shared_examples 'expanded stack trace context' do |selected_line: nil, expected_line: 1| shared_examples 'expanded stack trace context' do |selected_line: nil, expected_line: 1|
it 'expands the stack trace context' do it 'expands the stack trace context', quarantine: { issue: 'https://gitlab.com/gitlab-org/gitlab/-/issues/217810' } do
within('div.stacktrace') do within('div.stacktrace') do
find("div.file-holder:nth-child(#{selected_line}) svg.ic-chevron-right").click if selected_line find("div.file-holder:nth-child(#{selected_line}) svg.ic-chevron-right").click if selected_line
......
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