diff --git a/.env.dusk b/.env.dusk index 4c8e5052..237f61d3 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 00000000..60392c93 --- /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 dd96930a..7451fa1e 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 ) );