Answer the question
In order to leave comments, you need to log in
Why does Codeception Acceptance tests sometimes pass tests sometimes not??
$I->amOnPage(Url::to(['/user/token/run', 'token' => $I->grabFromDatabase('user_token', 'token')]));
here goes the direction to the controller
the browser opens the address
there in TokenController/actionRun
there is the code
Yii::$app->session->setFlash('success', Yii::t('user', 'You successfully changed your email.')) ;
and so in representation session the message sometimes is sometimes is not present.
Answer the question
In order to leave comments, you need to log in
Why is codeception selenium fooling
Or should it not work
Or should it work
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question