Completed
Push — dev ( 39ba5f...0b8cdb )
by Tristan
04:57 queued 04:51
created

ExampleTest   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 14
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
wmc 1
eloc 6
dl 0
loc 14
rs 10
c 0
b 0
f 0

1 Method

Rating   Name   Duplication   Size   Complexity  
A testBasicExample() 0 7 1
1
<?php
2
3
namespace Tests\Browser;
4
5
use Tests\DuskTestCase;
6
use Laravel\Dusk\Browser;
7
use Illuminate\Foundation\Testing\DatabaseMigrations;
8
9
class ExampleTest extends DuskTestCase
10
{
11
    /**
12
     * A basic browser test example.
13
     *
14
     * @return void
15
     */
16
    public function testBasicExample()
17
    {
18
        $this->browse(function (Browser $browser) {
19
            $browser->visit('/')
20
                    ->assertSee('GC Talent Cloud')
21
                    ->assertRouteIs('lang.en')
22
                    ->assertDontSee('404');
23
        });
24
    }
25
}
26