Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Drupal
sfl-boilerplate
Commits
7787166d
Commit
7787166d
authored
Mar 23, 2016
by
Emmanuel Milou
Browse files
Define tests in english
Refs
#89070
parent
49e548e9
Changes
2
Hide whitespace changes
Inline
Side-by-side
tests/behat/example.behat.yml
View file @
7787166d
...
...
@@ -32,7 +32,3 @@ default:
"
Content"
:
"
main.main"
"
Footer"
:
"
footer.siteFooter"
text
:
username_field
:
"
Nom
d'utilisateur"
password_field
:
"
Mot
de
passe"
log_in
:
"
Se
connecter"
log_out
:
"
Se
déconnecter"
tests/behat/features/generic.feature
View file @
7787166d
...
...
@@ -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 manu
e
ll
ement
"
Then
I should see the link
"
run
cron manu
a
ll
y
"
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
:
...
...
Write
Preview
Supports
Markdown
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