Switch back to en at last to continue with testing.
This commit is contained in:
parent
e200378dd6
commit
b4e841f4fc
1 changed files with 16 additions and 0 deletions
|
@ -376,6 +376,22 @@ class PreferencesTest < TestCase
|
||||||
css: '.content.active',
|
css: '.content.active',
|
||||||
value: 'Meine'
|
value: 'Meine'
|
||||||
)
|
)
|
||||||
|
|
||||||
|
# switch to en again
|
||||||
|
click(css: 'a[href="#current_user"]')
|
||||||
|
click(css: 'a[href="#profile"]')
|
||||||
|
click(css: 'a[href="#profile/language"]')
|
||||||
|
select(
|
||||||
|
css: '.language_item [name="locale"]',
|
||||||
|
value: 'English (United States)',
|
||||||
|
)
|
||||||
|
click(css: '.content button[type="submit"]')
|
||||||
|
sleep 2
|
||||||
|
watch_for(
|
||||||
|
css: 'body',
|
||||||
|
value: 'Language',
|
||||||
|
)
|
||||||
|
|
||||||
end
|
end
|
||||||
|
|
||||||
def test_token_access
|
def test_token_access
|
||||||
|
|
Loading…
Reference in a new issue