I am also getting Risky test with a fresh install of codeception:
<?php
$I = new FunctionalTester($scenario);
$I->am('guest');
$I->wantTo('view coming soon page');
$I->amOnPage('/');
$I->see('U izradi', "h1");
Hi, I have solved it for me.
If you run your test with codecept run -vvv
you should get a more detailed error message.
The problem with my code was that I closed my empty section with default value @section('title', "Stranica u izradi")@stop
. After removing @stop
it worked.
I hope this helps you too.
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community