Commit a3d9bc43 authored by David Lucadou's avatar David Lucadou

Debugging CI failure of tests

I cannot reproduce the error locally with rspec or gitlab-runner, so I have to debug in Gitlab CI...
parent 112559b0
Pipeline #64522744 failed with stage
in 13 minutes and 48 seconds
...@@ -463,6 +463,7 @@ RSpec.describe "AdminReportsSearch", type: :request do ...@@ -463,6 +463,7 @@ RSpec.describe "AdminReportsSearch", type: :request do
search_admin_reports_with(end_time: (Time.now.utc - 3.minutes).strftime('%Y-%m-%d %H:%M')) search_admin_reports_with(end_time: (Time.now.utc - 3.minutes).strftime('%Y-%m-%d %H:%M'))
expect(page).not_to have_content("Failed to execute search, see errors below") expect(page).not_to have_content("Failed to execute search, see errors below")
expect(page).not_to have_content("No reports") expect(page).not_to have_content("No reports")
puts page.html
expect(page).to have_content("reasOn 130/") expect(page).to have_content("reasOn 130/")
(27..35).each do |n| (27..35).each do |n|
expect(page).to have_content("Sample text #{n}") expect(page).to have_content("Sample text #{n}")
......
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