<?php use tests\codeception\_pages\AboutPage; //* @var $scenario Codeception\Scenario */ $I = new FunctionalTester($scenario); $I->wantTo('ensure that about works'); AboutPage::openBy($I); $I->see('About', 'h1');
/** * Test about page. * * @param \Codeception\FunctionalTester $I * @param \Codeception\Scenario $scenario */ public function testAboutPage($I, $scenario) { $I->wantTo('ensure that about page works'); AboutPage::openBy($I); $I->see('About', 'h1'); }