-
Notifications
You must be signed in to change notification settings - Fork 33
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
13 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,28 +1,36 @@ | ||
# TECHDEBT: Validator should eventually be changed to full node or just node. | ||
Feature: Validator Namespace | ||
|
||
Scenario: User Wants Help Using The Validator Command | ||
Scenario: User Wants Help Using The Validator Command | ||
Given the user has a validator | ||
When the user runs the command "Validator help" | ||
Then the user should be able to see standard output containing "Available Commands" | ||
And the validator should have exited without error | ||
|
||
Scenario: User Can Stake An Address | ||
Scenario: User Can Stake An Address | ||
Given the user has a validator | ||
When the user stakes their validator with amount 150000000001 uPOKT | ||
Then the user should be able to see standard output containing "" | ||
And the validator should have exited without error | ||
And the user runs the command "query UnconfirmedTxs" | ||
And the validator should have exited without error | ||
|
||
Scenario: User Can Unstake An Address | ||
Given the user has a validator | ||
When the user stakes their validator with amount 150000000001 uPOKT | ||
Then the user should be able to see standard output containing "" | ||
Then the user should be able to unstake their validator | ||
Then the user should be able to unstake their validator | ||
Then the user should be able to see standard output containing "" | ||
And the validator should have exited without error | ||
And the user runs the command "query UnconfirmedTxs" | ||
And the validator should have exited without error | ||
|
||
|
||
Scenario: User Can Send To An Address | ||
Given the user has a validator | ||
When the user sends 150000000 uPOKT to another address | ||
Then the user should be able to see standard output containing "" | ||
And the validator should have exited without error | ||
And the user runs the command "query UnconfirmedTxs" | ||
And the validator should have exited without error | ||
|