Posted about 5 years ago. Visible to the public.

Spreewald: Check that a CSS selector is present on the current page

Spreewald 1.3.0 comes with these steps:

Copy
Then I should see an element ".panel" Then I should not see an element ".sidebar" Then I should see an element ".twitter-timeline"

We recommend to define a selector_for method in features/support/selectors.rb so you can refer to the selector in plain English:

Copy
Then I should see an element for a panel Then I should not see an element for the sidebar Then I should see an element for the Twitter timeline
Growing Rails Applications in Practice
Check out our new e-book:
Learn to structure large Ruby on Rails codebases with the tools you already know and love.

Owner of this card:

Avatar
Henning Koch
Last edit:
about 5 years ago
by Henning Koch
About this deck:
We are makandra and do test-driven, agile Ruby on Rails software development.
License for source code
Posted by Henning Koch to makandra dev
This website uses short-lived cookies to improve usability.
Accept or learn more