Commit a53e95c4 authored by Dominik Hebeler's avatar Dominik Hebeler
Browse files

fixed integration tests

parent ffdb4b83
...@@ -25,13 +25,13 @@ class Datenschutz extends Page ...@@ -25,13 +25,13 @@ class Datenschutz extends Page
public function assert(Browser $browser) public function assert(Browser $browser)
{ {
$browser->assertPathIs($this->url()) $browser->assertPathIs($this->url())
->waitForText("Datenschutz bei MetaGer/SUMA-EV") ->waitForText("Datenschutzerklärung")
->assertTitle("Datenschutz und Privatsphäre - MetaGer") ->assertTitle("Datenschutz und Privatsphäre - MetaGer")
->switchLanguage("English") ->switchLanguage("English")
->waitForText("Data protection at MetaGer/SUMA-EV") ->waitForText("Data protection")
->assertTitle("Privacy - MetaGer") ->assertTitle("Privacy - MetaGer")
->switchLanguage("Español") ->switchLanguage("Español")
->waitForText("Data protection at MetaGer/SUMA-EV") ->waitForText("Data protection")
->assertTitle("Protección de datos y privacidad - MetaGer") ->assertTitle("Protección de datos y privacidad - MetaGer")
->switchLanguage("Deutsch"); ->switchLanguage("Deutsch");
} }
......
...@@ -25,13 +25,13 @@ class Spende extends Page ...@@ -25,13 +25,13 @@ class Spende extends Page
public function assert(Browser $browser) public function assert(Browser $browser)
{ {
$browser->assertPathIs($this->url()) $browser->assertPathIs($this->url())
->waitForText("Ihre Spende für SUMA-EV und MetaGer") ->waitForText("Ihre Spende")
->assertTitle("Spenden - MetaGer") ->assertTitle("Spenden - MetaGer")
->switchLanguage("English") ->switchLanguage("English")
->waitForText("Your Donation for MetaGer to SUMA-EV") ->waitForText("Your Donation")
->assertTitle("Donation - MetaGer") ->assertTitle("Donation - MetaGer")
->switchLanguage("Español") ->switchLanguage("Español")
->waitForText("Su donación para SUME-EV y MetaGer") ->waitForText("Su donación")
->assertTitle("Donaciones - MetaGer") ->assertTitle("Donaciones - MetaGer")
->switchLanguage("Deutsch"); ->switchLanguage("Deutsch");
} }
......
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