test: cucumber saf test
## Description
Integration test for SAF.
This test has some long sleeps, because we need to timeout the connections.
Once we solve the issue we can lower the sleeps (I've added TODO in the code).
@@ -41,3 +41,22 @@ Scenario Outline: Wallets transacting via specified routing mechanism only
Examples:
| NumBaseNodes | NumWallets | Mechanism |
| 5 | 5 | StoreAndForwardOnly |
+
+ Scenario: Store and forward TX
+ Given I have a seed node SEED
+ And I have a base node BASE connected to seed SEED
+ And I have wallet SENDER connected to base node BASE
+ And I have wallet RECEIVER connected to base node BASE
+ And I stop wallet RECEIVER
+ And I have mining node MINE connected to base node BASE and wallet SENDER
+ And mining node MINE mines 5 blocks
+ Then I wait for wallet SENDER to have at least 1000000 uT
+ And I send 1000000 uT from wallet SENDER to wallet RECEIVER at fee 100
+ And I wait 121 seconds
+ And I stop wallet SENDER
+ And I wait 360 seconds
+ And I restart wallet RECEIVER
+ And I wait 121 seconds
+ And I stop wallet RECEIVER
+ And I restart wallet SENDER
+ And wallet SENDER detects all transactions are at least Broadcast
\ No newline at end of file
