Skip to content
This repository has been archived by the owner on Apr 15, 2019. It is now read-only.

Commit

Permalink
Add voting bar e2e test specification
Browse files Browse the repository at this point in the history
  • Loading branch information
slaweet committed Sep 19, 2017
1 parent 0a544a0 commit 5155b7f
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions features/voting.feature
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,19 @@ Feature: Voting tab
Then I should see "Insufficient funds for 1 LSK fee" error message
And "submit button" should be disabled

@ignore
Scenario: should display voting bar with numbers of selected votes if any selected
Given I'm logged in as "delegate candidate"
When I click tab number 2
And I should see no "voting bar"
And I click checkbox on table row no. 3
Then I should see text "Upvotes: 1 Downvotes: 0 Total new votes: 1 / 33 Total votes: 1 / 101" in "voting bar" elment
And I click checkbox on table row no. 5
And I should see text "Upvotes: 2 Downvotes: 0 Total new votes: 2 / 33 Total votes: 2 / 101" in "voting bar" elment
And I click checkbox on table row no. 3
And I click checkbox on table row no. 5
And I should see no "voting bar"

Scenario: should allow to select delegates in the "Voting" tab and vote for them
Given I'm logged in as "delegate candidate"
When I click tab number 2
Expand Down

0 comments on commit 5155b7f

Please sign in to comment.