Browse Source

travis run dusk

jqh 5 years ago
parent
commit
3db4cbb73a
2 changed files with 2 additions and 5 deletions
  1. 2 4
      .travis.yml
  2. 0 1
      tests/DuskTestCase.php

+ 2 - 4
.travis.yml

@@ -42,10 +42,8 @@ install:
   - php artisan dusk:chrome-driver
 
 before_script:
- # - chmod 777 ./tests/resources/drivers/chromedriver-linux
-#  - chmod 777 ./vendor/laravel/dusk/bin/chromedriver-linux
-  - google-chrome-stable --whitelisted-ips --headless --disable-gpu --remote-debugging-port=9222 http://localhost &
-  #- ./vendor/laravel/dusk/bin/chromedriver-linux & --whitelisted-ips --headless --disable-gpu --remote-debugging-port=9515 http://localhost &
+  - chmod 777 ./vendor/laravel/dusk/bin/chromedriver-linux
+  - ./vendor/laravel/dusk/bin/chromedriver-linux --headless --disable-gpu &
   - php artisan serve &
 
 script:

+ 0 - 1
tests/DuskTestCase.php

@@ -84,7 +84,6 @@ abstract class DuskTestCase extends BaseTestCase
             '--disable-gpu',
             '--headless',
             '--window-size=1920,1080',
-            '--whitelisted-ips',
         ]);
 
         return RemoteWebDriver::create(