Przeglądaj źródła

travis run dusk

jqh 5 lat temu
rodzic
commit
76fa89dea1
2 zmienionych plików z 4 dodań i 1 usunięć
  1. 2 1
      .travis.yml
  2. 2 0
      tests/Browser/AuthTest.php

+ 2 - 1
.travis.yml

@@ -45,7 +45,8 @@ before_script:
 #  - chmod 777 ./vendor/laravel/dusk/bin/chromedriver-linux
 #  - ./vendor/laravel/dusk/bin/chromedriver-linux --headless --disable-gpu --remote-debugging-port=9515 http://localhost &
 #  - google-chrome --headless --disable-gpu --remote-debugging-port=9515 http://localhost &
-  - google-chrome-stable --headless --disable-gpu --remote-debugging-port=9515 http://localhost &
+#  - google-chrome-stable --headless --disable-gpu --remote-debugging-port=9222 http://localhost &
+  - google-chrome-stable --headless --disable-gpu --remote-debugging-port=9222 http://localhost &
   - php artisan serve &
 
 script:

+ 2 - 0
tests/Browser/AuthTest.php

@@ -16,6 +16,8 @@ class AuthTest extends TestCase
 
     public function testLoginPage()
     {
+        dump(admin_url('auth/login'));
+
         $this->browse(function (Browser $browser) {
             $browser->visit(test_admin_path('auth/login'))
                 ->assertSee(__('admin.login'));