Commit 7bfd12036ce1b4f2d39561f09d106d885c8ed0c3

Authored by Rodrigo Souto
1 parent e64ddc54

Circumventing encoding problem on edit_language_block_test

The test was failing because the encoding is breaking accentuation. So
using languages that do not have accentuation stills testing what needs
to be tested without dealing with the encoding problem.
Showing 1 changed file with 4 additions and 3 deletions   Show diff stats
features/edit_language_block.feature
... ... @@ -23,16 +23,17 @@ Feature: edit language of block
23 23 Scenario: display in the selected language
24 24 Given I go to edit LinkListBlock of joaosilva
25 25 And I fill in "Custom title for this block" with "Block displayed"
26   - And I select "Português"
  26 + And I select "English"
27 27 And I press "Save"
28   - And my browser prefers Portuguese
  28 + And my browser prefers English
29 29 When I go to Jose Silva's homepage
30 30 Then I should see "Block displayed"
31 31  
32 32 Scenario: not display in a not selected language
33 33 Given I go to edit LinkListBlock of joaosilva
34 34 And I fill in "Custom title for this block" with "Block not displayed"
35   - And I select "Português"
  35 + And I select "English"
36 36 And I press "Save"
  37 + And my browser prefers Portuguese
37 38 When I go to Jose Silva's homepage
38 39 Then I should not see "Block displayed"
... ...