Fixed test break.
This commit is contained in:
parent
eb44722100
commit
41685fe8df
@ -17,6 +17,6 @@ class ContactPage extends BasePage
|
|||||||
$inputType = $field === 'body' ? 'textarea' : 'input';
|
$inputType = $field === 'body' ? 'textarea' : 'input';
|
||||||
$this->guy->fillField($inputType . '[name="ContactForm[' . $field . ']"]', $value);
|
$this->guy->fillField($inputType . '[name="ContactForm[' . $field . ']"]', $value);
|
||||||
}
|
}
|
||||||
$this->guy->click('Submit', '#contact-form');
|
$this->guy->click('#contact-form input[type=submit]');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -16,6 +16,6 @@ class LoginPage extends BasePage
|
|||||||
{
|
{
|
||||||
$this->guy->fillField('input[name="LoginForm[username]"]', $username);
|
$this->guy->fillField('input[name="LoginForm[username]"]', $username);
|
||||||
$this->guy->fillField('input[name="LoginForm[password]"]', $password);
|
$this->guy->fillField('input[name="LoginForm[password]"]', $password);
|
||||||
$this->guy->click('Login','#login-form');
|
$this->guy->click('#login-form input[type=submit]');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user