Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
open-source
MetaGer
Commits
a53e95c4
Commit
a53e95c4
authored
Oct 07, 2021
by
Dominik Hebeler
Browse files
fixed integration tests
parent
ffdb4b83
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
tests/Browser/Pages/Datenschutz.php
View file @
a53e95c4
...
...
@@ -25,13 +25,13 @@ class Datenschutz extends Page
public
function
assert
(
Browser
$browser
)
{
$browser
->
assertPathIs
(
$this
->
url
())
->
waitForText
(
"Datenschutz
bei MetaGer/SUMA-EV
"
)
->
waitForText
(
"Datenschutz
erklärung
"
)
->
assertTitle
(
"Datenschutz und Privatsphäre - MetaGer"
)
->
switchLanguage
(
"English"
)
->
waitForText
(
"Data protection
at MetaGer/SUMA-EV
"
)
->
waitForText
(
"Data protection"
)
->
assertTitle
(
"Privacy - MetaGer"
)
->
switchLanguage
(
"Español"
)
->
waitForText
(
"Data protection
at MetaGer/SUMA-EV
"
)
->
waitForText
(
"Data protection"
)
->
assertTitle
(
"Protección de datos y privacidad - MetaGer"
)
->
switchLanguage
(
"Deutsch"
);
}
...
...
tests/Browser/Pages/Spende.php
View file @
a53e95c4
...
...
@@ -25,13 +25,13 @@ class Spende extends Page
public
function
assert
(
Browser
$browser
)
{
$browser
->
assertPathIs
(
$this
->
url
())
->
waitForText
(
"Ihre Spende
für SUMA-EV und MetaGer
"
)
->
waitForText
(
"Ihre Spende"
)
->
assertTitle
(
"Spenden - MetaGer"
)
->
switchLanguage
(
"English"
)
->
waitForText
(
"Your Donation
for MetaGer to SUMA-EV
"
)
->
waitForText
(
"Your Donation"
)
->
assertTitle
(
"Donation - MetaGer"
)
->
switchLanguage
(
"Español"
)
->
waitForText
(
"Su donación
para SUME-EV y MetaGer
"
)
->
waitForText
(
"Su donación"
)
->
assertTitle
(
"Donaciones - MetaGer"
)
->
switchLanguage
(
"Deutsch"
);
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment