-
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add a test for HTML5 data attributes to testAssertNotHasElementWithAt…
…tributes()
- Loading branch information
1 parent
9723456
commit 76c5092
Showing
1 changed file
with
7 additions
and
1 deletion.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -78,7 +78,7 @@ public function testAssertNotHasElementWithAttributes() | |
'type' => 'email', | ||
'value' => '[email protected]', | ||
], | ||
'<label>City</label><br><input type="text" value="New York" />' | ||
'<label>City</label><br><input type="text" value="New York" data-foo="bar" />' | ||
); | ||
} | ||
|
||
|
@@ -129,6 +129,12 @@ public function attributeProvider() | |
], | ||
'[checked]', | ||
], | ||
'Data attribute' => [ | ||
[ | ||
'data-foo' => 'bar', | ||
], | ||
'[data-foo="bar"]', | ||
], | ||
'Value contains quotes' => [ | ||
[ | ||
'name' => 'Austin "Danger" Powers', | ||
|