* #17 - set up Laravel Dusk * #17 - ecs fix * #17 - fix * #17 - fix * #17 - fix * #17 - fix * Update .env.dusk.local Co-authored-by: Krzysztof Rewak <krzysztof.rewak@blumilk.pl> Co-authored-by: Adrian Hopek <adrian.hopek@blumilk.pl> Co-authored-by: Krzysztof Rewak <krzysztof.rewak@blumilk.pl>
		
			
				
	
	
		
			21 lines
		
	
	
		
			292 B
		
	
	
	
		
			PHP
		
	
	
	
	
	
			
		
		
	
	
			21 lines
		
	
	
		
			292 B
		
	
	
	
		
			PHP
		
	
	
	
	
	
| <?php
 | |
| 
 | |
| declare(strict_types=1);
 | |
| 
 | |
| namespace Tests\Browser\Pages;
 | |
| 
 | |
| use Laravel\Dusk\Browser;
 | |
| 
 | |
| class HomePage extends Page
 | |
| {
 | |
|     public function url()
 | |
|     {
 | |
|         return "/";
 | |
|     }
 | |
| 
 | |
|     public function assert(Browser $browser): void
 | |
|     {
 | |
|         $browser->assertPathIs($this->url());
 | |
|     }
 | |
| }
 |