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
c072f588
Commit
c072f588
authored
Jan 17, 2013
by
Tails developers
Browse files
Improve Iceweasel feature.
parent
5ac30e8c
Changes
2
Hide whitespace changes
Inline
Side-by-side
features/cucumber/iceweasel/step_definitions/torified_browsing.rb
View file @
c072f588
...
...
@@ -84,12 +84,9 @@ Given /^I have a network connection$/ do
wait_until_remote_shell_is_up
end
Given
/^Tor has b
ootstrapped
$/
do
Given
/^Tor has b
uilt a circuit
$/
do
next
if
@background_restored
# FIXME: A better approach would be to check this via the control
# port with: GETINFO status/circuit-established
cmd
=
'grep -q "Bootstrapped 100%" /var/log/tor/log'
try_for
(
120
,
lambda
{
@vm
.
execute
(
cmd
,
"root"
).
success?
})
wait_until_tor_is_working
end
Given
/^Iceweasel has autostarted and is not loading a web page$/
do
...
...
features/cucumber/iceweasel/torified_browsing.feature
View file @
c072f588
Feature
:
Iceweasel must be anonymous.
In order to be anonymous, the iceweasel web browser must connect through Tor.
Feature
:
Browsing the web using Iceweasel
As a Tails user
when I browse the web using Iceweasel
all network traffic should flow only through Tor
Background
:
Given
I restore the background snapshot if it exists
...
...
@@ -7,7 +9,7 @@ Feature: Iceweasel must be anonymous.
And
the network traffic is sniffed
And
I log in to a new session
And
I have a network connection
And
Tor has b
ootstrapped
And
Tor has b
uilt a circuit
And
Iceweasel has autostarted and is not loading a web page
And
the time has synced
And
I save the background snapshot if it does not exist
...
...
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