Skip to content
Permalink
Browse files

porting ada-redemption and daedalus-transfer features

fixing tests
  • Loading branch information...
YankoFelipe committed Jul 11, 2019
1 parent 9552c0b commit 29a4863b96bd5220fc24d200d304b8c600b31688
@@ -47,7 +47,7 @@ You can test Yoroi as a temporary extension, but the extension will disappear ev
To avoid this, we recommend the following:
1) [Setting up Firefox-dev](https://askubuntu.com/questions/548003/how-do-i-install-the-firefox-developer-edition) (note that the Aurora PPA has been deprecated, so you might want to try another installation method).
2) Setting `xpinstall.signatures.required` to `false` in `about:config`.
3) Make sure typing `firefox` in your terminal opens firefox-dev (otherwise the unittests will not pass)
3) Make sure typing `firefox` in your terminal opens firefox-dev or set the path of the binary using `setBinary(path)` in `firefox.Options()` in webdriver.js (otherwise the unittests will not pass).

### Git hooks

@@ -3,7 +3,7 @@ Feature: Ada Redemption
Background:
Given I have opened the extension
And I have completed the basic setup
Given There is a wallet stored named empty-wallet
Given I import a snapshot named empty-wallet
And I go to the ada redemption screen

Scenario: User accepts "Daedalus Redemption Disclaimer"
@@ -3,7 +3,7 @@ Feature: Transfer Daedalus Wallet funds
Background:
Given I have opened the extension
And I have completed the basic setup
Given There is a wallet stored named empty-wallet
Given I import a snapshot named empty-wallet

@it-99
Scenario: Daedalus transfer fails when user type invalid mnemonic phrase (IT-99)
@@ -2,10 +2,10 @@ Feature: Main UI

Background:
Given I have opened the extension
And I have completed the basic setup

@it-81
Scenario: Restore wallet and get balance with many addresses
And I have completed the basic setup
And There is a wallet stored named many-tx-wallet
Then I should see the balance number "3.110004 ADA"

@@ -41,19 +41,16 @@ Feature: Main UI

@it-30
Scenario: User can't restore Daedalus wallet in Yoroi if Yoroi wallet is not created (IT-30)
And I have completed the basic setup
When There is no wallet stored
And I am on the Daedalus Transfer instructions screen
Then I see transactions buttons are disabled

@serverDown @it-31
Scenario: The networkError banner must be displayed if the server is not reachable
And I have completed the basic setup
Then I should see the networkError banner

@serverMaintenance @it-32
Scenario: The serverError banner must be displayed for as long as the server reports an issue
And I have completed the basic setup
Then I should see the serverError banner

@it-110
@@ -2,6 +2,7 @@ Feature: Wallet UI Settings

Background:
Given I have opened the extension
And I have completed the basic setup

@it-12
Scenario Outline: User can't change password if it doesn't meet complexity requirements (IT-12)
@@ -145,7 +146,6 @@ Feature: Wallet UI Settings

@it-2
Scenario: Change language in General Settings (IT-2)
And I have completed the basic setup
When I navigate to the general settings screen
And I open General Settings language selection dropdown
And I select Japanese language
@@ -155,28 +155,24 @@ Feature: Wallet UI Settings

@it-3
Scenario: Yoroi Settings Screen / Terms of Use in Default English(IT-3)
And I have completed the basic setup
And I navigate to the general settings screen
And I click on secondary menu "Terms of use" item
Then I should see the "Terms of use" screen

@it-23
Scenario: Wallet settings tab isn't active if wallet is not created (IT-23)
And I have completed the basic setup
When There is no wallet stored
And I navigate to the general settings screen
Then I should see secondary menu "wallet" item disabled

@it-4
Scenario: Yoroi Settings Screen / Support (IT-4)
And I have completed the basic setup
And I navigate to the general settings screen
And I click on secondary menu "support" item
Then I should see support screen

@it-77
Scenario: Paper wallet creation (IT-77)
And I have completed the basic setup
And I navigate to the general settings screen
Then I click on secondary menu "paperWallet" item
Then I open Number of Adddresses selection dropdown
@@ -2,8 +2,8 @@ Feature: URI scheme

Background:
Given I have opened the extension
And I have completed the basic setup
And I import a snapshot named empty-wallet
And I refresh the page

@it-107
Scenario: Ensure user can generate a wallet URI and copy it to clipboard (IT-107)

0 comments on commit 29a4863

Please sign in to comment.
You can’t perform that action at this time.