You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I want to push url where test failed in standard html report
Details
support/MyHelper.php I have this code:
publicfunction_failed(TestInterface$test, $fail)
{
$url = $this->getModule('WebDriver')->_getCurrentUri();
//HOW TO DO HERE SOMETHING LIKE "$I->comment($url);"?parent::_failed($test, $fail); // TODO: Change the autogenerated stub
}
So I want to include some analog of $I->comment($url_of_failed_test); to push it in each failed test in html report. How to do it without make _failed function in each my test?
Codeception version: 2.5.1
PHP Version: PHP 7.1.17
Operating System: centos
Installation type: Composer
The text was updated successfully, but these errors were encountered:
I want to push url where test failed in standard html report
Details
support/MyHelper.php I have this code:
So I want to include some analog of
$I->comment($url_of_failed_test);
to push it in each failed test in html report. How to do it without make _failed function in each my test?The text was updated successfully, but these errors were encountered: