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: ...@@ -32,7 +32,3 @@ default:
"Content": "main.main" "Content": "main.main"
"Footer": "footer.siteFooter" "Footer": "footer.siteFooter"
text: text:
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 ...@@ -46,18 +46,18 @@ Scenario: Run cron
Given I am logged in as a user with the "administrator" role Given I am logged in as a user with the "administrator" role
When I run cron When I run cron
And am on "admin/reports/status" 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 Scenario: Login as a user created during this scenario
Given users: Given users:
| name | status | roles | | name | status | roles |
| Test user | 1 | authenticated user | | Test user | 1 | authenticated user |
When I am logged in as "Test 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 Scenario: Error messages
Given I am on "/user" 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." 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 not see the error message "Désolé, nom d'utilisateur ou mot de passe non reconnu."
And I should see the following error messages: And I should see the following error messages:
......
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