Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
What changed? ============ We add an `assert_has/2` helper that does not require the user to pass text. Sometimes, we want to assert that an element is present on the page even if we don't pass the text. Recently, that was something we wanted to do in a project when we were trying to assert the value of an input. Since the `value` is passed as part of the CSS selector, we did not need the third argument.
- Loading branch information
Showing
3 changed files
with
82 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters