فهرست منبع

traivs run dusk

jqh 5 سال پیش
والد
کامیت
3b897b43e1
3فایلهای تغییر یافته به همراه7 افزوده شده و 7 حذف شده
  1. 3 3
      tests/Browser/AuthTest.php
  2. 3 3
      tests/Browser/IndexTest.php
  3. 1 1
      tests/DuskTestCase.php

+ 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
             )
         );
     }