new seeders
This commit is contained in:
@@ -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);
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user