We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9723456 commit 76c5092Copy full SHA for 76c5092
tests/MarkupAssertionsTraitTest.php
@@ -78,7 +78,7 @@ public function testAssertNotHasElementWithAttributes()
78
'type' => 'email',
79
'value' => 'test@example.com',
80
],
81
- '<label>City</label><br><input type="text" value="New York" />'
+ '<label>City</label><br><input type="text" value="New York" data-foo="bar" />'
82
);
83
}
84
@@ -129,6 +129,12 @@ public function attributeProvider()
129
130
'[checked]',
131
132
+ 'Data attribute' => [
133
+ [
134
+ 'data-foo' => 'bar',
135
+ ],
136
+ '[data-foo="bar"]',
137
138
'Value contains quotes' => [
139
[
140
'name' => 'Austin "Danger" Powers',
0 commit comments