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