I can not understand what the problem is, I installed Codeception globally.
codeception itself is in the folder / home / mypc /
configured its acceptance.suite.yml config and wrote the URL of the web server 127.0.0.1 into the url
Here is the contents of the test itself.
<?php $I = new AcceptanceTester($scenario); $I->wantTo('perform actions and see result'); $I->amOnPage('/test.html'); $I->see('hello'); This is what the Test displays.
1) Welcome2Cept: Perform actions and see result Test tests/acceptance/Welcome2Cept.php Step See "hello" Fail Failed asserting that on page 127.0.0.1/test.html --> 404 Not Found Not Found The requested URL /127.0.0.1/test.html was not found on this server. Apache/2.4.18 (Ubuntu) Server at Port 80 --> contains "hello". Scenario Steps: 2. $I->see("hello") at tests/acceptance/Welcome2Cept.php:5 1. $I->amOnPage("/test.html") at tests/acceptance/Welcome2Cept.php:4 FAILURES! Tests: 1, Assertions: 1, Failures: 1. I can not understand the problem, maybe someone has already encountered?