mirror of
				https://github.com/yiisoft/yii2.git
				synced 2025-11-04 06:37:55 +08:00 
			
		
		
		
	
		
			
				
	
	
		
			13 lines
		
	
	
		
			315 B
		
	
	
	
		
			PHP
		
	
	
	
	
	
			
		
		
	
	
			13 lines
		
	
	
		
			315 B
		
	
	
	
		
			PHP
		
	
	
	
	
	
<?php
 | 
						|
use tests\codeception\frontend\FunctionalTester;
 | 
						|
 | 
						|
/* @var $scenario Codeception\Scenario */
 | 
						|
 | 
						|
$I = new FunctionalTester($scenario);
 | 
						|
$I->wantTo('ensure that home page works');
 | 
						|
$I->amOnPage(Yii::$app->homeUrl);
 | 
						|
$I->see('My Company');
 | 
						|
$I->seeLink('About');
 | 
						|
$I->click('About');
 | 
						|
$I->see('This is the About page.');
 |