breakign dusk tests

This commit is contained in:
Mark Gregory
2026-06-19 12:28:03 +01:00
parent e21c09a005
commit ac694f8aae
26 changed files with 43 additions and 12 deletions
@@ -22,7 +22,7 @@ class AuthBrandingLayoutBrowserTest extends DuskTestCase
$this->browse(function (Browser $browser) use ($page, $expectedText): void {
$browser->resize(1280, 900)
->visit($page)
->waitFor('body', 10)
->waitFor('[data-dusk="page-ready"]')
->assertSee('WMS')
->assertSee($expectedText)
->assertScript('document.documentElement.scrollWidth <= document.documentElement.clientWidth + 1');