tests/codeception/backend/acceptance/SettingCest.php
/**
     * This method is called before each cest class test method
     *
     * @param AcceptanceTester $I
     */
This method is called before each cest class test method
@param AcceptanceTester $I
This method is called before each cest class test method @param AcceptanceTester $I
public function _before($I)
    {
        $optionFixture = new OptionFixture();
        $optionFixture->load();
        $loginPage = LoginPage::openBy($I);
        $loginPage->submit(['username' => 'administrator', 'password' => 'administrator']);
    }
public function _before ( $ I ) { $ optionFixture = new OptionFixture ( ) ; $ optionFixture -> load ( ) ; $ loginPage = LoginPage :: openBy ( $ I ) ; $ loginPage -> submit ( [ 'username' => 'administrator' , 'password' => 'administrator' ] ) ; }
This method is called before each cest class test method
 @param AcceptanceTester $I
This method is called before each cest class test method @param AcceptanceTester $I