jqh 5 rokov pred
rodič
commit
3b897b43e1

+ 3 - 3
tests/Browser/AuthTest.php

@@ -51,9 +51,9 @@ class AuthTest extends TestCase
                 ->assertSee('New Users')
                 ->assertSee('New Devices')
                 ->assertSee('Tickets')
-                ->assertSee(__('admin.documentation'))
-                ->assertSee(__('admin.extensions'))
-                ->assertSee(__('admin.demo'))
+                ->assertSee(strtoupper(__('admin.documentation')))
+                ->assertSee(strtoupper(__('admin.extensions')))
+                ->assertSee(strtoupper(__('admin.demo')))
                 ->assertSee('GITHUB');
 
             $browser->within('.main-menu-content', function (Browser $browser) {

+ 3 - 3
tests/Browser/IndexTest.php

@@ -22,9 +22,9 @@ class IndexTest extends TestCase
                 ->assertSee('New Users')
                 ->assertSee('New Devices')
                 ->assertSee('Tickets')
-                ->assertSee(__('admin.documentation'))
-                ->assertSee(__('admin.extensions'))
-                ->assertSee(__('admin.demo'))
+                ->assertSee(strtoupper(__('admin.documentation')))
+                ->assertSee(strtoupper(__('admin.extensions')))
+                ->assertSee(strtoupper(__('admin.demo')))
                 ->assertSee('GITHUB');
         });
     }

+ 1 - 1
tests/DuskTestCase.php

@@ -88,7 +88,7 @@ abstract class DuskTestCase extends BaseTestCase
 
         return RemoteWebDriver::create(
             'http://localhost:9515', DesiredCapabilities::chrome()->setCapability(
-                ChromeOptions::CAPABILITY_W3C, $options
+                ChromeOptions::CAPABILITY, $options
             )
         );
     }