Then I see visible "subjectsText"

Assert one or more named locators are visible.

Then (I |we )*see visible ([a-zA-Z0-9 ,\-]+)

 

Example #1: Then I see visible header
Example #2: Then I see visible nav, footer
Example #3: Then I see visible logo and search
Example #4: Then I see visible cta
Example #5: Then I see visible hero, content and sidebar
Example #6: Then I see visible menu
Example #7: Then I see visible search button
Example #8: Then I see visible banner
Example #9: Then I see visible footer
Example #10: Then I see visible top bar, nav and content

Advanced:


Example #11: Mix of components, inline CSS, inline XPath, all resolve:

When I add "page heading" selector for "h1" css selector
And  I add "first para" selector for "//p[1]" xpath selector
Then I see visible page heading, first para


Example #12: After breakpoint resize — assert still visible:

Given I am viewing the site on a xs screen
Then  I see visible heading, list


Example #13: After loading a selector file, names from the file are visible:

When I add selectors from "homepage-selectors.json" file
Then I see visible homepage heading, homepage first heading