Skip to content

Commit

Permalink
Fixes #1041: Fix Seo features by using English locale
Browse files Browse the repository at this point in the history
Fix after #1024
  • Loading branch information
alexislefebvre committed Jan 24, 2018
1 parent 3d7239a commit b7d1919
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 6 deletions.
2 changes: 1 addition & 1 deletion Tests/Features/Seo/Error404/create.feature
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Feature: Create new error
Background:
Given I maximize the window
And I am on "/fr/fake"
When I am on "/fr"
When I am on homepage
And I open the 404 menu
And I wait 1 second

Expand Down
2 changes: 1 addition & 1 deletion Tests/Features/Seo/Error404/modal.feature
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ Feature: Display the error's modal

Background:
Given I maximize the window
When I am on "/fr"
When I am on homepage
And I open the 404 menu
And I wait 1 second

Expand Down
3 changes: 2 additions & 1 deletion Tests/Features/Seo/Error404/redirect.feature
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ Feature: Redirect a 404 error

Background:
Given I maximize the window
When I am on "/fr"
And I am on homepage
And I open the 404 menu
And I wait 1 second

Expand Down Expand Up @@ -38,6 +38,7 @@ Feature: Redirect a 404 error
And I wait 1 second
Then I fill in "seo_bundle_redirection[link][url]" with "unvalidUrl"
And I click the ".vic-btn-default" element
# A warning from browser stops the form submission
And I wait 1 second
Then I should not see text matching "404 error successfully redirected!"
And the list "route-list" should contain 3 elements
2 changes: 1 addition & 1 deletion Tests/Features/Seo/Redirection/create.feature
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ Feature: Create new redirection

Background:
Given I maximize the window
When I am on "/fr"
And I am on homepage
And I open the redirection menu
And I wait 1 second

Expand Down
2 changes: 1 addition & 1 deletion Tests/Features/Seo/Redirection/delete.feature
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ Feature: Delete a redirection

Background:
Given I maximize the window
When I am on "/fr"
And I am on homepage
And I open the redirection menu
And I wait 1 second

Expand Down
2 changes: 1 addition & 1 deletion Tests/Features/Seo/Redirection/modify.feature
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ Feature: Modify a redirection

Background:
Given I maximize the window
When I am on "/fr"
And I am on homepage
And I open the redirection menu
And I wait 1 second

Expand Down

0 comments on commit b7d1919

Please sign in to comment.