diff options
author | Angie Byron <webchick@24967.no-reply.drupal.org> | 2010-02-07 05:36:57 +0000 |
---|---|---|
committer | Angie Byron <webchick@24967.no-reply.drupal.org> | 2010-02-07 05:36:57 +0000 |
commit | 32fc5ac8359b1db9533708e212f29369ff18543c (patch) | |
tree | ecbac300108e09072680c98190184a9a67b64fca /modules/simpletest/tests/form.test | |
parent | 66c63ff3e2be461b9edf1775c7ffffca74c8efde (diff) | |
download | brdo-32fc5ac8359b1db9533708e212f29369ff18543c.tar.gz brdo-32fc5ac8359b1db9533708e212f29369ff18543c.tar.bz2 |
#567192 by mgifford: Fixed Expanding simpletest groups not accessible via keyboard.
Diffstat (limited to 'modules/simpletest/tests/form.test')
-rw-r--r-- | modules/simpletest/tests/form.test | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/modules/simpletest/tests/form.test b/modules/simpletest/tests/form.test index b7dec7b6a..9dd5c9997 100644 --- a/modules/simpletest/tests/form.test +++ b/modules/simpletest/tests/form.test @@ -305,6 +305,9 @@ class FormsElementsLabelsTestCase extends DrupalWebTestCase { $elements = $this->xpath('//input[@id="edit-form-textfield-test-title-after"]/following-sibling::label[@for="edit-form-textfield-test-title-after" and @class="option"]'); $this->assertTrue(isset($elements[0]), t("Label after field and label option class correct for text field.")); + $elements = $this->xpath('//input[@id="edit-form-textfield-test-title-invisible"]/following-sibling::label[@for="edit-form-textfield-test-title-invisible" and @class="element-invisible"]'); + $this->assertTrue(isset($elements[0]), t("Label after field and label class is element-invisible.")); + $elements = $this->xpath('//label[@for="edit-form-textfield-test-title-no-show"]'); $this->assertFalse(isset($elements[0]), t("No label tag when title set not to display.")); } |