Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
tails
tails
Commits
7543c7d6
Commit
7543c7d6
authored
Jul 09, 2015
by
intrigeri
Browse files
Adjust test suite wrt. changes in GUI behaviour when a device cannot be upgraded.
Refs:
#5623
parent
94f9d14f
Changes
4
Hide whitespace changes
Inline
Side-by-side
features/images/TailsInstallerNoDevice.png
deleted
100644 → 0
View file @
94f9d14f
1.86 KB
features/images/USBCannotUpgrade.png
View replaced file @
94f9d14f
View file @
7543c7d6
2.27 KB
|
W:
|
H:
2.06 KB
|
W:
|
H:
2-up
Swipe
Onion skin
features/step_definitions/usb.rb
View file @
7543c7d6
...
...
@@ -625,7 +625,7 @@ end
Then
/^a suitable USB device is (?:still )?not found$/
do
next
if
@skip_steps_while_restoring_background
@screen
.
wait
(
"TailsInstallerNo
Device
.png"
,
6
0
)
@screen
.
wait
(
"TailsInstallerNo
QEMUHardDisk
.png"
,
3
0
)
end
Then
/^the "(?:[[:alpha:]]+)" USB drive is selected$/
do
...
...
features/usb_install.feature
View file @
7543c7d6
...
...
@@ -11,16 +11,18 @@ Feature: Installing Tails to a USB drive, upgrading it, and using persistence
And
I start Tails from DVD with network unplugged and I login
And
I create a 4 GiB disk named
"pristine"
And
I plug USB drive
"pristine"
And
I try to
"Upgrade from ISO"
USB drive
"pristine"
But
I am told that the destination device cannot be upgraded
And
I start Tails Installer in
"Upgrade from ISO"
mode
Then
a suitable USB device is not found
And
I am told that the destination device cannot be upgraded
Scenario
:
Try to "Clone & Upgrade" Tails to a pristine USB drive
Given
a computer
And
I start Tails from DVD with network unplugged and I login
And
I create a 4 GiB disk named
"pristine"
And
I plug USB drive
"pristine"
And
I try a
"Clone & Upgrade"
Tails to USB drive
"pristine"
But
I am told that the destination device cannot be upgraded
And
I start Tails Installer in
"Upgrade from ISO"
mode
Then
a suitable USB device is not found
And
I am told that the destination device cannot be upgraded
Scenario
:
Try to "Upgrade from ISO" Tails to a USB drive with GPT and a FAT partition
Given
a computer
...
...
@@ -29,8 +31,9 @@ Feature: Installing Tails to a USB drive, upgrading it, and using persistence
And
I create a 4 GiB disk named
"gptfat"
And
I create a gpt partition with a vfat filesystem on disk
"gptfat"
And
I plug USB drive
"gptfat"
And
I try to
"Upgrade from ISO"
USB drive
"gptfat"
But
I am told that the destination device cannot be upgraded
And
I start Tails Installer in
"Upgrade from ISO"
mode
Then
a suitable USB device is not found
And
I am told that the destination device cannot be upgraded
Scenario
:
Try to "Clone & Upgrade" Tails to a USB drive with GPT and a FAT partition
Given
a computer
...
...
@@ -38,8 +41,9 @@ Feature: Installing Tails to a USB drive, upgrading it, and using persistence
And
I create a 4 GiB disk named
"gptfat"
And
I create a gpt partition with a vfat filesystem on disk
"gptfat"
And
I plug USB drive
"gptfat"
And
I try a
"Clone & Upgrade"
Tails to USB drive
"gptfat"
But
I am told that the destination device cannot be upgraded
And
I start Tails Installer in
"Upgrade from ISO"
mode
Then
a suitable USB device is not found
And
I am told that the destination device cannot be upgraded
Scenario
:
Try installing Tails to a too small USB drive
Given
a computer
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment