Skip to content
This repository was archived by the owner on Jun 27, 2024. It is now read-only.

Commit be6df28

Browse files
committed
WIP
1 parent ef3df71 commit be6df28

File tree

2 files changed

+22
-23
lines changed

2 files changed

+22
-23
lines changed

app/tests/Browser/AutoFillTest.php

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
<?php
2+
3+
namespace Tests\Browser;
4+
5+
use Illuminate\Support\Str;
6+
use Laravel\Dusk\Browser;
7+
use Tests\DuskTestCase;
8+
9+
class AutoFillTest extends DuskTestCase
10+
{
11+
/** @test */
12+
public function it_generates_the_table_header()
13+
{
14+
$this->browse(function (Browser $browser) {
15+
$browser->visit('/users')
16+
->assertSeeIn('th:nth-child(1)', Str::upper('Name'))
17+
->assertSeeIn('th:nth-child(2)', Str::upper('Email'))
18+
->assertSeeIn('th:nth-child(3)', Str::upper('Language'))
19+
->assertSeeIn('th:nth-child(4)', Str::upper('Actions'));
20+
});
21+
}
22+
}

app/tests/Browser/ExampleTest.php

Lines changed: 0 additions & 23 deletions
This file was deleted.

0 commit comments

Comments
 (0)