Repo rebuild

This commit is contained in:
Mark Gregory
2026-09-15 12:33:28 +01:00
commit be28c4feec
5629 changed files with 317074 additions and 0 deletions
+33
View File
@@ -0,0 +1,33 @@
<?php
namespace Tests\Browser;
use Laravel\Dusk\Browser;
use Tests\Browser\Concerns\InteractsWithWmsData;
use Tests\DuskTestCase;
class ExampleTest extends DuskTestCase
{
use InteractsWithWmsData;
public function test_public_homepage_is_reachable_in_browser(): void
{
$this->browse(function (Browser $browser): void {
$browser->visit('/')
->assertSourceHas('<html');
});
}
public function test_authenticated_application_shell_is_reachable_in_browser(): void
{
$admin = $this->platformAdminUser();
$this->browse(function (Browser $browser) use ($admin): void {
$browser->loginAs($admin)
->visit('/admin')
->waitFor('.wms-app-shell', 10)
->assertPresent('.wms-sidebar')
->assertPresent('.wms-content');
});
}
}