예제 #1
0
<?php

use tests\codeception\_pages\site\AboutPage;
/* @var $scenario Codeception\Scenario */
$I = new AcceptanceTester($scenario);
$I->wantTo('ensure that about works');
AboutPage::openBy($I);
$I->see('Помощь', 'h1');
예제 #2
0
 public function testPageContent(\FunctionalTester $I)
 {
     $I->wantTo('ensure that about page works');
     AboutPage::openBy($I);
     $I->see(AboutPage::$textContent);
 }