Commit 6b139543 authored by anonym's avatar anonym
Browse files

Improve step names.

parent 27ab6701
......@@ -1055,7 +1055,7 @@ EOF
end
end
When /^I open the LAN web server in the (.*)$/ do |browser|
When /^I open a page on the LAN web server in the (.*)$/ do |browser|
next if @skip_steps_while_restoring_background
step "I open the address \"#{@web_server_url}\" in the #{browser}"
end
......
When /^no traffic has flowed to the LAN web server$/ do
When /^no traffic has flowed to the LAN$/ do
next if @skip_steps_while_restoring_background
leaks = FirewallLeakCheck.new(@sniffer.pcap_file, :ignore_lan => false)
assert(not(leaks.ipv4_tcp_leaks.include?(@lan_host)),
......
......@@ -20,9 +20,9 @@ Feature: Browsing the web using the Tor Browser
And I capture all network traffic
When I start the Tor Browser
And the Tor Browser has started and loaded the startup page
And I open the LAN web server in the Tor Browser
And I open a page on the LAN web server in the Tor Browser
Then I see "TorBrowserUnableToConnect.png" after at most 20 seconds
And no traffic has flowed to the LAN web server
And no traffic has flowed to the LAN
@check_tor_leaks
Scenario: The Tor Browser directory is usable
......
......@@ -18,7 +18,7 @@ Feature: Browsing the web using the Unsafe Browser
Scenario: The Unsafe Browser can access the LAN
Given a web server is running on the LAN
When I successfully start the Unsafe Browser
And I open the LAN web server in the Unsafe Browser
And I open a page on the LAN web server in the Unsafe Browser
Then I see "UnsafeBrowserHelloLANWebServer.png" after at most 20 seconds
Scenario: Starting the Unsafe Browser works as it should.
......
Supports Markdown
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