Skip to content

Commit f3eda0a

Browse files
authored
DEV: Add debugging info to figure out why system test is failing on CI (#225)
1 parent fe25a76 commit f3eda0a

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

spec/system/admin_update_spec.rb

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,12 @@
1111
it "displays the admin update page with the right respositories" do
1212
visit("/admin/update")
1313

14+
# We are getting a blank page on CI so adding debugging steps to figure out why
15+
if ENV["CI"]
16+
expect(page).to have_current_path("/admin/update")
17+
puts page.html
18+
end
19+
1420
expect(page).to have_css("h3", exact_text: I18n.t("js.admin.docker.update_title"))
1521
expect(page).to have_css("tr.repo .repo__name", exact_text: "Discourse")
1622
expect(page).to have_css("tr.repo .repo__name", exact_text: "Docker Manager")

0 commit comments

Comments
 (0)