Support the ongoing development of Laravel.io →
posted 9 years ago
Testing
Last updated 1 year ago.
0

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");
Last updated 1 year ago.
0

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.

Last updated 1 year ago.
0

Sign in to participate in this thread!

Eventy

Your banner here too?

mrobit mrobit Joined 9 Feb 2014

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2024 Laravel.io - All rights reserved.