personal_area_php/frontend/tests/_support/FunctionalTester.php

35 lines
824 B
PHP
Raw Normal View History

2024-04-24 18:02:58 +03:00
<?php
namespace frontend\tests;
/**
* Inherited Methods
* @method void wantToTest($text)
* @method void wantTo($text)
* @method void execute($callable)
* @method void expectTo($prediction)
* @method void verify($prediction)
* @method void amGoingTo($argumentation)
* @method void am($role)
* @method void lookForwardTo($achieveValue)
* @method void comment($description)
* @method \Codeception\Lib\Friend haveFriend($name, $actorClass = NULL)
*
* @SuppressWarnings(PHPMD)
*/
class FunctionalTester extends \Codeception\Actor
{
use _generated\FunctionalTesterActions;
public function seeValidationError($message)
{
$this->see($message, '.invalid-feedback');
}
public function dontSeeValidationError($message)
{
$this->dontSee($message, '.invalid-feedback');
}
}