<?php namespace frontend\tests\functional; use frontend\tests\FunctionalTester; class AboutCest { public function checkAbout(FunctionalTester $I) { $I->amOnRoute('site/about'); $I->see('About', 'h1'); } }