Commit f0e00b9c authored by anonym's avatar anonym
Browse files

Add retry magic to the Totem HTTPS scenario.

parent 867de604
......@@ -30,3 +30,14 @@ end
When /^I close Totem$/ do
step 'I kill the process "totem"'
end
Then /^I can watch a WebM video over HTTPs$/ do
test_url = 'https://webm.html5.org/test.webm'
recovery_on_failure = Proc.new do
step 'I close Totem'
end
retry_tor(recovery_on_failure) do
step "I open \"#{test_url}\" with Totem"
@screen.wait("SampleRemoteWebMVideoFrame.png", 120)
end
end
......@@ -43,8 +43,7 @@ Feature: Using Totem
@check_tor_leaks @fragile
Scenario: Watching a WebM video over HTTPS
Given I have started Tails from DVD and logged in and the network is connected
When I open "https://webm.html5.org/test.webm" with Totem
Then I see "SampleRemoteWebMVideoFrame.png" after at most 60 seconds
Then I can watch a WebM video over HTTPs
Scenario: Watching MP4 videos stored on the persistent volume should work as expected given our AppArmor confinement
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen
......
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