jqh 5 rokov pred
rodič
commit
755802478c

+ 1 - 1
.travis.yml

@@ -35,7 +35,7 @@ install:
   - php artisan admin:publish --force
   - php artisan admin:install
   - php artisan migrate:rollback
-  - php artisan dusk:chrome-driver
+#  - php artisan dusk:chrome-driver
 
 before_script:
   - google-chrome-stable --headless --disable-gpu --remote-debugging-port=9515 http://localhost &

+ 2 - 3
tests/ChromeProcess.php

@@ -14,9 +14,8 @@ class ChromeProcess extends BaseChromeProcess
             $this->driver = realpath(__DIR__.'/resources/drivers/chromedriver-win.exe');
         } elseif ($this->onMac()) {
             $this->driver = realpath(__DIR__.'/resources/drivers/chromedriver-mac');
+        } else {
+            $this->driver = realpath(__DIR__.'/resources/drivers/chromedriver-linux');
         }
-        //else {
-        //    $this->driver = realpath(__DIR__.'/resources/drivers/chromedriver-linux');
-        //}
     }
 }

BIN
tests/resources/drivers/chromedriver-linux


BIN
tests/resources/drivers/chromedriver-mac