Commit 7787166d authored by Emmanuel Milou's avatar Emmanuel Milou
Browse files

Define tests in english

Refs #89070
parent 49e548e9
......@@ -32,7 +32,3 @@ default:
"Content": "main.main"
"Footer": "footer.siteFooter"
username_field: "Nom d'utilisateur"
password_field: "Mot de passe"
log_in: "Se connecter"
log_out: "Se déconnecter"
......@@ -46,18 +46,18 @@ Scenario: Run cron
Given I am logged in as a user with the "administrator" role
When I run cron
And am on "admin/reports/status"
Then I should see the link "lancer le cron manuellement"
Then I should see the link "run cron manually"
Scenario: Login as a user created during this scenario
Given users:
| name | status | roles |
| Test user | 1 | authenticated user |
When I am logged in as "Test user"
Then I should see the link "Se déconnecter"
Then I should see the link "Log out"
Scenario: Error messages
Given I am on "/user"
When I press "Se connecter"
When I press "Log in"
Then I should see the error message "Le champ Mot de passe est requis."
And I should not see the error message "Désolé, nom d'utilisateur ou mot de passe non reconnu."
And I should see the following error messages:
Supports Markdown
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