summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorintrigeri <intrigeri@boum.org>2019-03-05 10:13:57 +0000
committerintrigeri <intrigeri@boum.org>2019-03-05 10:19:34 +0000
commit740d8b8d542aa59882a2562d3c2dfac92016af9c (patch)
treeb6f938789363399f50679dff92d485dbb1051889
parent8756a16da57645a3e3d4d7b686290400a8382888 (diff)
Test suite: use the same terminology as what we expose to users (refs: #14596)
That's kinda what BDD is about :)
-rw-r--r--features/additional_software_packages.feature4
-rw-r--r--features/step_definitions/additional_software_packages.rb4
2 files changed, 4 insertions, 4 deletions
diff --git a/features/additional_software_packages.feature b/features/additional_software_packages.feature
index e5a9c67..0775662 100644
--- a/features/additional_software_packages.feature
+++ b/features/additional_software_packages.feature
@@ -26,8 +26,8 @@ Feature: Additional software
Given I start Tails from a freshly installed USB drive with an administration password and the network is plugged and I login
And I update APT using apt
And I install "sslh" using apt
- Then I am proposed to create an Additional Software persistence for the "sslh" package
- And I create the Additional Software persistence
+ Then I am proposed to add the "sslh" package to my Additional Software
+ And I create a persistent storage and activate the Additional Software feature
And I shutdown Tails and wait for the computer to power off
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled
And Additional Software is correctly configured for package "sslh"
diff --git a/features/step_definitions/additional_software_packages.rb b/features/step_definitions/additional_software_packages.rb
index e18a73d..d6b0e0d 100644
--- a/features/step_definitions/additional_software_packages.rb
+++ b/features/step_definitions/additional_software_packages.rb
@@ -30,12 +30,12 @@ Then /^I am notified that the installation succeeded$/ do
step "I see the \"#{title}\" notification after at most 300 seconds"
end
-Then /^I am proposed to create an Additional Software persistence for the "([^"]*)" package$/ do |package|
+Then /^I am proposed to add the "([^"]*)" package to my Additional Software$/ do |package|
title = "Add #{package} to your additional software?"
step "I see the \"#{title}\" notification after at most 300 seconds"
end
-Then /^I create the Additional Software persistence$/ do
+Then /^I create a persistent storage and activate the Additional Software feature$/ do
gnome_shell = Dogtail::Application.new('gnome-shell')
gnome_shell.child('Create Persistent Storage', roleName: 'push button').click
step 'I create a persistent partition for Additional Software'