Commit 6daff19d authored by Tails developers's avatar Tails developers
Browse files

Generalise the "Then I see <image>" outcome.

parent 4a5ad32f
......@@ -12,8 +12,8 @@ When /^I log in a new session$/ do
@screen.click('Logln.png')
end
Then /^I should see YourbrowserT\.png$/ do
@screen.wait('YourbrowserT.png', 300)
Then /^I see "([^"]*)" after at most (\d+) seconds$/ do |image, time|
@screen.wait(image, time.to_i)
end
Then /^the network traffic should flow only through Tor$/ do
......
......@@ -7,5 +7,5 @@ Feature: Iceweasel must be torified.
Scenario: See check.torproject green page on session startup
When I log in a new session
Then I should see YourbrowserT.png
Then I should see "YourbrowserT.png"
And the network traffic should flow only through Tor
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