Commit f34d49b8 authored by Tails developers's avatar Tails developers
Browse files

Test that the Unsafe Browser has no proxy configured.

parent f56566c7
......@@ -174,6 +174,20 @@ Then /^I cannot configure the Unsafe Browser to use any local proxies$/ do
end
end
Then /^the Unsafe Browser has no proxy configured$/ do
next if @skip_steps_while_restoring_background
@screen.click('UnsafeBrowserMenuButton.png')
@screen.wait_and_click('UnsafeBrowserPreferencesButton.png', 10)
@screen.wait('UnsafeBrowserPreferencesWindow.png', 10)
@screen.wait_and_click('UnsafeBrowserAdvancedSettings.png', 10)
@screen.wait_and_click('UnsafeBrowserNetworkTab.png', 10)
@screen.type("e", Sikuli::KeyModifier.ALT)
@screen.wait('UnsafeBrowserProxySettings.png', 10)
@screen.wait('UnsafeBrowserNoProxySelected.png', 10)
@screen.type(Sikuli::Key.F4, Sikuli::KeyModifier.ALT)
@screen.type(Sikuli::Key.F4, Sikuli::KeyModifier.ALT)
end
Then /^the Unsafe Browser complains that no DNS server is configured$/ do
next if @skip_steps_while_restoring_background
@screen.wait("UnsafeBrowserDNSError.png", 30)
......
......@@ -23,6 +23,7 @@ Feature: Browsing the web using the Unsafe Browser
And the Unsafe Browser has no plugins installed
And the Unsafe Browser has no add-ons installed
And the Unsafe Browser has only Firefox's default bookmarks configured
And the Unsafe Browser has no proxy configured
And the Unsafe Browser uses all expected TBB shared libraries
Scenario: Closing the Unsafe Browser shows a stop notification and properly tears down the chroot.
......
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