jqh 5 anni fa
parent
commit
d26c81a6ec
2 ha cambiato i file con 2 aggiunte e 2 eliminazioni
  1. 1 1
      .travis.yml
  2. 1 1
      tests/DuskTestCase.php

+ 1 - 1
.travis.yml

@@ -40,7 +40,7 @@ install:
 before_script:
  # - chmod 777 ./tests/resources/drivers/chromedriver-linux
   - chmod 777 ./vendor/laravel/dusk/bin/chromedriver-linux
-  - ./vendor/laravel/dusk/bin/chromedriver-linux & --whitelisted-ips --headless --disable-gpu --remote-debugging-port=9515 http://127.0.0.1 &
+  - ./vendor/laravel/dusk/bin/chromedriver-linux & --whitelisted-ips --headless --disable-gpu --remote-debugging-port=9515 http://localhost &
   - php artisan serve &
 
 script:

+ 1 - 1
tests/DuskTestCase.php

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