Issue #1174640 by Niklas Fiekas: test coverage follow-up for new HTML5 FAPI element: number.
parent
7388171b2b
commit
ea26475dac
|
@ -562,7 +562,7 @@ class FormElementTestCase extends DrupalWebTestCase {
|
|||
$this->drupalGet('form-test/placeholder-text');
|
||||
$expected = 'placeholder-text';
|
||||
// Test to make sure non-textarea elements have the proper placeholder text.
|
||||
foreach (array('textfield', 'tel', 'url', 'password', 'email') as $type) {
|
||||
foreach (array('textfield', 'tel', 'url', 'password', 'email', 'number') as $type) {
|
||||
$element = $this->xpath('//input[@id=:id and @placeholder=:expected]', array(
|
||||
':id' => 'edit-' . $type,
|
||||
':expected' => $expected,
|
||||
|
|
Loading…
Reference in New Issue