Switch back to en at last to continue with testing.

This commit is contained in:
Martin Edenhofer 2016-07-28 13:00:35 +02:00
parent e200378dd6
commit b4e841f4fc

View file

@ -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