File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 44
55RSpec . describe "Admin update" do
66 fab! ( :admin )
7- let ( :admin_update_page ) { PageObjects ::Pages ::AdminUpdate . new }
87
98 before { sign_in ( admin ) }
109
11- xit "displays the admin update page with the right repositories" do
10+ it "displays the admin update page with the right repositories" do
1211 visit ( "/admin/update" )
1312
14- expect ( page ) . to have_css ( "h3 " , exact_text : I18n . t ( "js.admin.docker.update_title" ) )
13+ expect ( page ) . to have_css ( "h1 " , exact_text : I18n . t ( "js.admin.docker.update_title" ) )
1514 expect ( page ) . to have_css ( "tr.repo .d-table__overview-name" , exact_text : "Discourse" )
16- expect ( page ) . to have_css ( "tr.repo .d-table__overview-name" , exact_text : "Docker Manager" )
15+ expect ( page ) . to have_css ( "tr.repo .d-table__overview-name" , text : / \A Docker[ _]manager \z / )
1716 expect ( page ) . to have_css (
1817 "tr.repo .d-table__overview-about a[href='https://meta.discourse.org/t/12655']" ,
1918 )
20- ensure
21- puts page . html if ENV [ "CI" ]
2219 end
2320end
You can’t perform that action at this time.
0 commit comments