new seeders

This commit is contained in:
Mark Gregory
2026-06-11 15:00:41 +01:00
parent a55b98cf38
commit 6c038f5672
12 changed files with 101 additions and 67 deletions
@@ -23,7 +23,6 @@ class MobileNavigationBrowserTest extends DuskTestCase
$this->openMobileNavigation($browser);
$browser->assertSee('Platform')
->assertSee('Administration')
->assertSee('Prices');
$this->closeMobileNavigation($browser);
@@ -40,7 +39,7 @@ class MobileNavigationBrowserTest extends DuskTestCase
'/inventory-management' => 'Inventory',
'/document-archive' => 'Documents',
'/warehouses' => 'Warehouses',
'/admin/prices' => 'Platform Prices',
'/admin/prices' => 'Prices',
];
$this->browse(function (Browser $browser) use ($admin, $paths): void {
@@ -48,8 +47,7 @@ class MobileNavigationBrowserTest extends DuskTestCase
foreach ($paths as $path => $title) {
$this->openMobileNavigation($browser);
$browser->script("document.querySelector('.wms-sidebar a[href=\"{$path}\"]')?.click();");
$browser->waitForLocation($path, 10);
$this->clickSidebarHref($browser, $path);
$this->assertSingleProfessionalHeader($browser, $title);
}
});