Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
tails
tails
Commits
6b139543
Commit
6b139543
authored
Jul 02, 2015
by
anonym
Browse files
Improve step names.
parent
27ab6701
Changes
4
Hide whitespace changes
Inline
Side-by-side
features/step_definitions/common_steps.rb
View file @
6b139543
...
...
@@ -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
...
...
features/step_definitions/torified_browsing.rb
View file @
6b139543
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
)),
...
...
features/torified_browsing.feature
View file @
6b139543
...
...
@@ -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
...
...
features/unsafe_browser.feature
View file @
6b139543
...
...
@@ -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.
...
...
anonym
@anonym
mentioned in issue
#7976 (closed)
·
May 15, 2020
mentioned in issue
#7976 (closed)
mentioned in issue #7976
Toggle commit list
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment