mirror of
https://github.com/discourse/discourse.git
synced 2025-06-07 17:06:01 +08:00
DEV: Fix the build on github (#28831)
This commit is contained in:
@ -16,11 +16,11 @@ module PageObjects
|
|||||||
end
|
end
|
||||||
|
|
||||||
def has_banner_image?(upload)
|
def has_banner_image?(upload)
|
||||||
has_css?("img.about__banner[src=\"#{GlobalPath.full_cdn_url(upload.url)}\"]")
|
has_css?("img.about__banner-img[src=\"#{GlobalPath.full_cdn_url(upload.url)}\"]")
|
||||||
end
|
end
|
||||||
|
|
||||||
def has_no_banner_image?
|
def has_no_banner_image?
|
||||||
has_no_css?("img.about__banner")
|
has_no_css?("img.about__banner-img")
|
||||||
end
|
end
|
||||||
|
|
||||||
def has_members_count?(count, formatted_number)
|
def has_members_count?(count, formatted_number)
|
||||||
|
Reference in New Issue
Block a user