Commit b0680eba authored by Tails developers's avatar Tails developers Committed by kytv
Browse files

Check whether Unsafe Browser can be opened in supported languages, determined programmatically.

parent 50187072
......@@ -23,10 +23,21 @@ end
Then /^I start the Unsafe Browser in the "([^"]+)" locale$/ do |loc|
next if @skip_steps_while_restoring_background
step "I run \"LANG=#{loc}.UTF-8 LC_ALL=#{loc}.UTF-8 sudo unsafe-browser\" in GNOME Terminal"
step "I run \"LANG=#{loc} LC_ALL=#{loc} sudo unsafe-browser\" in GNOME Terminal"
step "I see and accept the Unsafe Browser start verification"
end
Then /^the Unsafe Browser works in all supported languages$/ do
next if @skip_steps_while_restoring_background
langs = supported_torbrowser_languages
langs.each do |lang|
step "I start the Unsafe Browser in the \"#{lang}\" locale"
step "the Unsafe Browser has started"
step "I close the Unsafe Browser"
step "the Unsafe Browser chroot is torn down"
end
end
Then /^I see the Unsafe Browser start notification and wait for it to close$/ do
next if @skip_steps_while_restoring_background
@screen.wait("UnsafeBrowserStartNotification.png", 30)
......
......@@ -26,61 +26,8 @@ Feature: Browsing the web using the Unsafe Browser
And the Unsafe Browser has no proxy configured
And the Unsafe Browser uses all expected TBB shared libraries
Scenario: Starting the Unsafe Browser works in Arabic
When I start the Unsafe Browser in the "ar_EG" locale
Then the Unsafe Browser has started
Scenario: Starting the Unsafe Browser works in Brazilian Portuguese
When I start the Unsafe Browser in the "pt_BR" locale
Then the Unsafe Browser has started
Scenario: Starting the Unsafe Browser works in Chinese
When I start the Unsafe Browser in the "zh_CN" locale
Then the Unsafe Browser has started
Scenario: Starting the Unsafe Browser works in Dutch
When I start the Unsafe Browser in the "nl_NL" locale
Then the Unsafe Browser has started
Scenario: Starting the Unsafe Browser works in Farsi
When I start the Unsafe Browser in the "fa_IR" locale
Then the Unsafe Browser has started
Scenario: Starting the Unsafe Browser works in French
When I start the Unsafe Browser in the "fr_FR" locale
Then the Unsafe Browser has started
Scenario: Starting the Unsafe Browser works in German
When I start the Unsafe Browser in the "de_DE" locale
Then the Unsafe Browser has started
Scenario: Starting the Unsafe Browser works in Italian
When I start the Unsafe Browser in the "it_IT" locale
Then the Unsafe Browser has started
Scenario: Starting the Unsafe Browser works in Korean
When I start the Unsafe Browser in the "kr_KR" locale
Then the Unsafe Browser has started
Scenario: Starting the Unsafe Browser works in Polish
When I start the Unsafe Browser in the "pl_PL" locale
Then the Unsafe Browser has started
Scenario: Starting the Unsafe Browser works in Portuguese
When I start the Unsafe Browser in the "pt_PT" locale
Then the Unsafe Browser has started
Scenario: Starting the Unsafe Browser works in Russian
When I start the Unsafe Browser in the "ru_RU" locale
Then the Unsafe Browser has started
Scenario: Starting the Unsafe Browser works in Turkish
When I start the Unsafe Browser in the "tr_TR" locale
Then the Unsafe Browser has started
Scenario: Starting the Unsafe Browser works in Vietnamese
When I start the Unsafe Browser in the "vi_VN" locale
Then the Unsafe Browser has started
Scenario: The Unsafe Browser can be used in all languges supported in Tails
Then the Unsafe Browser works in all supported languages
Scenario: Closing the Unsafe Browser shows a stop notification and properly tears down the chroot.
When I successfully start the Unsafe Browser
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment