diff --git a/tests/Selector/NamedSelectorTest.php b/tests/Selector/NamedSelectorTest.php index 5124a4628..ebcf53fd4 100644 --- a/tests/Selector/NamedSelectorTest.php +++ b/tests/Selector/NamedSelectorTest.php @@ -75,6 +75,7 @@ public function getSelectorTests() // Fixture file, selector name, locator, expected number of exact matched elements, expected number of partial matched elements if different return array( 'fieldset' => array('test.html', 'fieldset', 'fieldset-text', 2, 3), + 'fieldset nested' => array('test.html', 'fieldset', 'inner', 1), 'field (name/placeholder/label)' => array('test.html', 'field', 'the-field', $fieldCount), 'field (input, with-id)' => array('test.html', 'field', 'the-field-input', 1), diff --git a/tests/Selector/fixtures/test.html b/tests/Selector/fixtures/test.html index 1190e9ea6..2a04a8f84 100644 --- a/tests/Selector/fixtures/test.html +++ b/tests/Selector/fixtures/test.html @@ -56,6 +56,14 @@
+ + +