Commit b18478ab authored by intrigeri's avatar intrigeri
Browse files

Test suite: deduplicate.

parent acbf458a
...@@ -199,11 +199,6 @@ When /^I open Tails homepage in the (.+)$/ do |browser| ...@@ -199,11 +199,6 @@ When /^I open Tails homepage in the (.+)$/ do |browser|
step "I open the address \"https://tails.boum.org\" in the #{browser}" step "I open the address \"https://tails.boum.org\" in the #{browser}"
end end
Then /^Tails homepage loads in the Tor Browser$/ do
title = 'Tails - Privacy for anyone anywhere'
step "\"#{title}\" has loaded in the Tor Browser"
end
Then /^Tails homepage loads in the Unsafe Browser$/ do Then /^Tails homepage loads in the Unsafe Browser$/ do
@screen.wait('TailsHomepage.png', 60) @screen.wait('TailsHomepage.png', 60)
end end
......
...@@ -402,10 +402,12 @@ Given /^the Tor Browser (?:has started|starts)( in offline mode)?$/ do |offline| ...@@ -402,10 +402,12 @@ Given /^the Tor Browser (?:has started|starts)( in offline mode)?$/ do |offline|
end end
end end
Given /^the Tor Browser loads the (startup page|Tails roadmap)$/ do |page| Given /^the Tor Browser loads the (startup page|Tails homepage|Tails roadmap)$/ do |page|
case page case page
when "startup page" when "startup page"
title = 'Tails - News' title = 'Tails - News'
when "Tails homepage"
title = 'Tails - Privacy for anyone anywhere'
when "Tails roadmap" when "Tails roadmap"
title = 'Roadmap - Tails - RiseupLabs Code Repository' title = 'Roadmap - Tails - RiseupLabs Code Repository'
else else
......
...@@ -111,7 +111,7 @@ Feature: Browsing the web using the Tor Browser ...@@ -111,7 +111,7 @@ Feature: Browsing the web using the Tor Browser
When I start the Tor Browser When I start the Tor Browser
And the Tor Browser loads the startup page And the Tor Browser loads the startup page
And I open Tails homepage in the Tor Browser And I open Tails homepage in the Tor Browser
Then Tails homepage loads in the Tor Browser Then the Tor Browser loads the Tails homepage
When I request a new identity using Torbutton When I request a new identity using Torbutton
And I acknowledge Torbutton's New Identity confirmation prompt And I acknowledge Torbutton's New Identity confirmation prompt
Then the Tor Browser loads the startup page Then the Tor Browser loads the startup page
......
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