diff --git a/.env.dusk b/.env.dusk index 4c8e50527..237f61d32 100644 --- a/.env.dusk +++ b/.env.dusk @@ -20,7 +20,7 @@ MAIL_FROM_NAME="Pterodactyl Panel" RECAPTCHA_ENABLED=false DB_CONNECTION=testing -TESTING_DB_HOST=services.pterodactyl.local +TESTING_DB_HOST=192.168.1.202 TESTING_DB_DATABASE=panel_test TESTING_DB_USERNAME=panel_test TESTING_DB_PASSWORD=Test1234 diff --git a/phpunit.dusk.xml b/phpunit.dusk.xml new file mode 100644 index 000000000..60392c932 --- /dev/null +++ b/phpunit.dusk.xml @@ -0,0 +1,21 @@ + + + + + ./tests/Browser + + + + + ./app + + + diff --git a/tests/Browser/BrowserTestCase.php b/tests/Browser/BrowserTestCase.php index dd96930a8..7451fa1e8 100644 --- a/tests/Browser/BrowserTestCase.php +++ b/tests/Browser/BrowserTestCase.php @@ -45,7 +45,7 @@ abstract class BrowserTestCase extends TestCase ]); return RemoteWebDriver::create( - 'http://services.pterodactyl.local:4444/wd/hub', DesiredCapabilities::chrome()->setCapability( + 'http://host.pterodactyl.local:4444/wd/hub', DesiredCapabilities::chrome()->setCapability( ChromeOptions::CAPABILITY, $options ) );