A
A
Andrey Lipin2015-09-16 17:31:37
Codeception
Andrey Lipin, 2015-09-16 17:31:37

How to make Bitrix and codeception friends?

installed according to the codeception.com/quickstart
instructions, the tests are launched, but the first acceptance test Welcome from the example does not pass (fail).
test code:

<?php
$I = new WebGuy($scenario);
$I->wantTo('perform actions and see result');
$I->amOnPage('/');
$I->see('ВОЙТИ НА САЙТ');

the phrase is on the site,
the contents of acceptance.suite.yml:
class_name: WebGuy
modules:
    enabled:
        - PhpBrowser
        - WebHelper
    config:
        PhpBrowser:
            url: 'http://localhost/'

the authorization page for the portal should open
scenario steps:
2. I see null
1. I am on page "/"
installed Bitrix corporate portal
Who faced the problem, please tell me

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question