fixing some tests
This commit is contained in:
25
tests/_pages/ResendPage.php
Normal file
25
tests/_pages/ResendPage.php
Normal file
@ -0,0 +1,25 @@
|
||||
<?php
|
||||
|
||||
namespace tests\_pages;
|
||||
|
||||
use yii\codeception\BasePage;
|
||||
|
||||
/**
|
||||
* Represents resend page.
|
||||
*
|
||||
* @property \FunctionalTester $actor
|
||||
*/
|
||||
class ResendPage extends BasePage
|
||||
{
|
||||
/** @inheritdoc */
|
||||
public $route = '/user/registration/resend';
|
||||
|
||||
/**
|
||||
* @param $email
|
||||
*/
|
||||
public function resend($email)
|
||||
{
|
||||
$this->actor->fillField('#resend-form-email', $email);
|
||||
$this->actor->click('Continue');
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user