summaryrefslogtreecommitdiffstats
path: root/features/electrum.feature
diff options
context:
space:
mode:
authorkytv <killyourtv@i2pmail.org>2015-05-03 17:21:37 +0000
committerkytv <killyourtv@i2pmail.org>2015-05-11 11:31:46 +0000
commit1369d916a4d7e42a82c6d5cda83183d10c0696ab (patch)
tree0a6cd745172b55d69c906caed294ab9538dd777c /features/electrum.feature
parent4f6a882020d75b2ea48945c74566eafe04aa61e0 (diff)
Add Electrum test feature
This feature will test that * Electrum will display a warning message if Electrum is not persistent * creating a wallet will work * persistence for Electrum works Will-fix: #8963
Diffstat (limited to 'features/electrum.feature')
-rw-r--r--features/electrum.feature38
1 files changed, 38 insertions, 0 deletions
diff --git a/features/electrum.feature b/features/electrum.feature
new file mode 100644
index 0000000..89de323
--- /dev/null
+++ b/features/electrum.feature
@@ -0,0 +1,38 @@
+@product @check_tor_leaks
+Feature: Electrum Bitcoin client
+ As a Tails user
+ I might want to use a Bitcoin client
+ And all Internet traffic should flow only through Tor
+
+ Scenario: A warning will be displayed if Electrum is not persistent
+ Given a computer
+ And I capture all network traffic
+ And I start the computer
+ And the computer boots Tails
+ And I log in to a new session
+ And the Tails desktop is ready
+ And Tor is ready
+ And available upgrades have been checked
+ And all notifications have disappeared
+ When I start Electrum through the GNOME menu
+ But persistence for "electrum" is not enabled
+ Then I see a warning that Electrum is not persistent
+
+ Scenario: Using a persistent Electrum configuration
+ Given the USB drive "current" contains Tails with persistence configured and password "asdf"
+ And a computer
+ And I start Tails from USB drive "current" and I login with persistence password "asdf"
+ And persistence for "electrum" is enabled
+ When I start Electrum through the GNOME menu
+ But a bitcoin wallet is not present
+ Then I am prompted to create a new wallet
+ When I create a new bitcoin wallet
+ Then a bitcoin wallet is present
+ And I see the main Electrum client window
+ And I shutdown Tails and wait for the computer to power off
+ Given a computer
+ And I start Tails from USB drive "current" and I login with persistence password "asdf"
+ When I start Electrum through the GNOME menu
+ And a bitcoin wallet is present
+ And I see the main Electrum client window
+ Then Electrum successfully connects to the network