forked from algorand/algorand-sdk-testing
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsend.feature
45 lines (39 loc) · 1.44 KB
/
send.feature
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
Feature: Sending transactions
Background:
Given an algod v2 client connected to "localhost" port 60000 with token "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"
And a kmd client
And wallet information
@send
Scenario Outline: Sending transactions
Given default transaction with parameters <amt> "<note>"
When I get the private key
And I sign the transaction with the private key
And I send the transaction
Then I wait for the transaction to be confirmed.
Examples:
| amt | note |
| 0 | X4Bl4wQ9rCo= |
| 1234523 | X4Bl4wQ9rCo= |
@send
Scenario Outline: Sending multisig transactions
Given default multisig transaction with parameters <amt> "<note>"
When I get the private key
And I sign the multisig transaction with the private key
And I send the multisig transaction
Then the transaction should not go through
Examples:
| amt | note |
| 0 | X4Bl4wQ9rCo= |
| 1234523 | X4Bl4wQ9rCo= |
@send.keyregtxn
Scenario Outline: Sending key registration transactions
Given default V2 key registration transaction "<type>"
When I get the private key
And I sign the transaction with the private key
And I send the transaction
Then I wait for the transaction to be confirmed.
Examples:
| type |
| online |
| offline |
| nonparticipation |