Skip to content

Commit

Permalink
Review e2e tests and add @advanced tag to tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Gina Contrino committed Mar 22, 2018
1 parent b1b2995 commit 2b87f22
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 14 deletions.
1 change: 1 addition & 0 deletions test/e2e/explorer.feature
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ Feature: Explorer page
When I click "search bar button"
Then I should see ID "9938914350729699234" in transaction header

@advanced
Scenario: should show search results on custom node for an account and a transactions while being logged in
Given I'm logged in as "genesis"
And I wait 1 seconds
Expand Down
7 changes: 0 additions & 7 deletions test/e2e/login.feature
Original file line number Diff line number Diff line change
@@ -1,11 +1,4 @@
Feature: Login page
@pending
Scenario: should allow to login
Given I'm on login page
When I fill in passphrase of "genesis" to "passphrase" field
And I click "login button"
Then I should be logged in as "genesis" account

@integration
Scenario: should show toast when trying to connect to an unavailable custom node
Given I'm on login page
Expand Down
1 change: 1 addition & 0 deletions test/e2e/savedAccounts.feature
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ Feature: Saved Accounts
And I click "edit button"
Then I should see 1 instances of "saved account card"

@advanced
Scenario: should save accounts only once
When I go to "/"
And I fill in passphrase of "empty account" to "passphrase" field
Expand Down
1 change: 1 addition & 0 deletions test/e2e/send.feature
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ Feature: Send dialog
Then I should see "Not enough LSK" error message
And "send next button" should be disabled

@advanced
Scenario: should allow to send with second passphrase
Given I'm logged in as "second passphrase account"
And I fill in "1" to "amount" field
Expand Down
9 changes: 2 additions & 7 deletions test/e2e/voting.feature
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,6 @@ Feature: Voting page
When I scroll to the bottom of "delegate list"
Then I should see 200 instances of "delegate row"

Scenario: should allow to view delegates with cold account
Given I'm logged in as "empty account"
And I wait 0.1 seconds
When I go to "main/voting/"
Then I should see 100 instances of "delegate row"

Scenario: should allow to search delegates
Given I'm logged in as "any account"
And I wait 0.1 seconds
Expand All @@ -37,6 +31,7 @@ Feature: Voting page
And I wait 0.5 seconds
Then I should see text "You’re votes are being processed and will be confirmed. It may take up to 10 minutes to be secured in the blockchain." in "result box message" element

@advanced
Scenario: should allow to vote with second passphrase account
Given I'm logged in as "second passphrase account"
And I wait 0.1 seconds
Expand All @@ -50,7 +45,7 @@ Feature: Voting page
And I click "confirm"
And I wait 0.5 seconds
Then I should see text "You’re votes are being processed and will be confirmed. It may take up to 10 minutes to be secured in the blockchain." in "result box message" element

@pending
Scenario: should allow to select delegates by URL
Given I'm logged in as "delegate candidate"
Expand Down

0 comments on commit 2b87f22

Please sign in to comment.