selenium - Yii2, Codeception: How to configurate acceptance tests to use the URL of my test server -


i want run functional tests on localhost, acceptance test on test server. changed configuration of acceptancetester (yii\tests\codeception\frontend\acceptance.suite.yml) from:

webdriver:     url: 'http://localhost' 

to:

webdriver:     url: 'https://test.mydomain.com' 

when run tests, need have following url in browser: https://test.mydomain.com/test-page have: https://test.mydomain.com/yii/frontpage/web/index-test.php/test-page

how can remove root yii/frontpage/web/index-test.php/ url?

in end have solved problem configuring test server able run acceptance tests:

this solution has advantage, colleagues can run tests independent me.


Comments

Popular posts from this blog

Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.12:test (default-test) on project.Error occurred in starting fork -

windows - Debug iNetMgr.exe unhandle exception System.Management.Automation.CmdletInvocationException -

configurationsection - activeMq-5.13.3 setup configurations for wildfly 10.0.0 -