Commit 867de604 authored by anonym's avatar anonym
Browse files

Remove superfluous part of test.

We still do the essential part i.e. test that Totem can open videos
over Tor. The removed part is essentially a test of the GUI, and what
a confusing and hard-to-discover GUI it is! I doubt users will ever
find out how to do it, so I fail to see why we should test it (and
waste time dealing with the robustness issue that plague this test).
parent c56659ca
......@@ -23,17 +23,6 @@ Given /^I copy the sample videos to "([^"]+)" as user "([^"]+)"$/ do |destinatio
end
end
When /^I start Totem through the GNOME menu$/ do
step 'I start "Totem" via the GNOME "SoundVideo" applications menu'
@screen.wait_and_click("TotemMainWindow.png", 20)
end
When /^I load the "([^"]+)" URL in Totem$/ do |url|
@screen.type("l", Sikuli::KeyModifier.CTRL)
@screen.wait("TotemOpenUrlDialog.png", 10)
@screen.type(url + Sikuli::Key.ENTER)
end
When /^I(?:| try to) open "([^"]+)" with Totem$/ do |filename|
step "I run \"totem #{filename}\" in GNOME Terminal"
end
......
......@@ -41,14 +41,10 @@ Feature: Using Totem
And AppArmor has denied "/usr/bin/totem" from opening "/lib/live/mount/overlay/home/amnesia/.gnupg/video.mp4"
@check_tor_leaks @fragile
Scenario: Watching a WebM video over HTTPS, with and without the command-line
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
When I close Totem
And I start Totem through the GNOME menu
When I load the "https://webm.html5.org/test.webm" URL in Totem
Then I see "SampleRemoteWebMVideoFrame.png" after at most 60 seconds
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