diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index eb747e11144b425c0cd412b72f3ac9c7091d4c99..6fb7ba8fc8687feaabd313194c109ef0cf1f4886 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -55,7 +55,6 @@ test metager3: script: - cd ~/MetaGer_neu - sh test.sh - after_script: - kill $browserstackPid - kill $servePid diff --git a/test.sh b/test.sh index a9ef144b3dbc5d96a0a0a33271e8408e18b102cf..0e111881479a82d2527883977c9b2938aa8c6bb4 100644 --- a/test.sh +++ b/test.sh @@ -5,7 +5,7 @@ set -e cd ~/MetaGer_neu # Start Webserver -php artisan serve >/dev/null 2>&1 & +php artisan serve --port 8005 >/dev/null 2>&1 & servePid=$! # Start the Browserstack Proxy diff --git a/tests/Feature/StaticPagesTest.php b/tests/Feature/StaticPagesTest.php index 1e7aa196ac849af5d60e7b059531f070e5eba44f..3300fc7162eca7d1320afa1af305b95afe3a3971 100644 --- a/tests/Feature/StaticPagesTest.php +++ b/tests/Feature/StaticPagesTest.php @@ -18,7 +18,7 @@ class StaticPagesTest extends TestCase "resolution" => "1920x1080", ); private $webdriver; - private $mgServer = "http://localhost:8000"; + private $mgServer = "http://localhost:8005"; /** * A basic feature test example. *