Adjust spec after changing welcome pages

Welcome pages no longer have classes or `span' tags.
They still have the 4 `li' tags, so we check for them.
This commit is contained in:
Julian Herrero
2019-03-12 17:31:39 +01:00
parent ddca825f9f
commit 1e04643576

View File

@@ -95,8 +95,7 @@ feature "Welcome screen" do
login_through_form_as(user)
4.times do |i|
expect(page).to have_css ".user-permissions > ul:nth-child(2) >
li:nth-child(#{i + 1}) > span:nth-child(1)"
expect(page).to have_css "li:nth-child(#{i + 1})"
end
Setting["feature.user.skip_verification"] = nil