fixed test break.

This commit is contained in:
Qiang Xue 2014-02-13 20:00:12 -05:00
parent 41685fe8df
commit dd0a8defbf
2 changed files with 2 additions and 2 deletions

View File

@ -17,6 +17,6 @@ class ContactPage extends BasePage
$inputType = $field === 'body' ? 'textarea' : 'input';
$this->guy->fillField($inputType . '[name="ContactForm[' . $field . ']"]', $value);
}
$this->guy->click('#contact-form input[type=submit]');
$this->guy->click('#contact-form button[type=submit]');
}
}

View File

@ -16,6 +16,6 @@ class LoginPage extends BasePage
{
$this->guy->fillField('input[name="LoginForm[username]"]', $username);
$this->guy->fillField('input[name="LoginForm[password]"]', $password);
$this->guy->click('#login-form input[type=submit]');
$this->guy->click('#login-form button[type=submit]');
}
}