You can not select more than 25 topics
			Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
		
		
		
		
			
				
					17 lines
				
				344 B
			
		
		
			
		
	
	
					17 lines
				
				344 B
			| 
								 
											8 years ago
										 
									 | 
							
								<?php
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								namespace frontend\tests\functional;
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								use frontend\tests\FunctionalTester;
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								class HomeCest
							 | 
						||
| 
								 | 
							
								{
							 | 
						||
| 
								 | 
							
								    public function checkOpen(FunctionalTester $I)
							 | 
						||
| 
								 | 
							
								    {
							 | 
						||
| 
								 | 
							
								        $I->amOnPage(\Yii::$app->homeUrl);
							 | 
						||
| 
								 | 
							
								        $I->see('My Application');
							 | 
						||
| 
								 | 
							
								        $I->seeLink('About');
							 | 
						||
| 
								 | 
							
								        $I->click('About');
							 | 
						||
| 
								 | 
							
								        $I->see('This is the About page.');
							 | 
						||
| 
								 | 
							
								    }
							 | 
						||
| 
								 | 
							
								}
							 |