Commit 23a68595 authored by Dominik Hebeler's avatar Dominik Hebeler

testing ci

parent 17d025ea
......@@ -55,6 +55,9 @@ test metager3:
script:
- cd ~/MetaGer_neu
- sh test.sh
after_script:
- kill $browserstackPid
- kill $servePid
deploy metager3:
stage: deploy
......
......@@ -13,7 +13,4 @@ servePid=$!
browserstackPid=$!
sleep 5
./vendor/bin/phpunit
kill $browserstackPid
kill $servePid
\ No newline at end of file
./vendor/bin/phpunit
\ No newline at end of file
......@@ -41,7 +41,7 @@ class StaticPagesTest extends TestCase
private function startPageTest()
{
$this->webdriver->get("http://localhost");
$this->webdriver->get($mgServer);
# Test for Page Title
$this->assertEquals($this->webdriver->getTitle(), "MetaGer - Mehr als eine Suchmaschine");
......@@ -57,7 +57,7 @@ class StaticPagesTest extends TestCase
*/
private function navigationMenuTest()
{
$this->webdriver->get("http://localhost");
$this->webdriver->get($mgServer);
// Check if the Navigation menu expands on click
$sidebarToggle = $this->webdriver->findElement(WebDriverBy::cssSelector("label[for=sidebarToggle]"));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment