-
-
Notifications
You must be signed in to change notification settings - Fork 279
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* feat(e2e): new Trading sell tests * feat(e2e): catch and abort solana send request in e2e sell test * feat(e2e): Expands sell Solana flow till the end change expiration of all quotes test renaming one file rename * fix(e2e): PR improvements
- Loading branch information
Showing
20 changed files
with
506 additions
and
35 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
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
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
38 changes: 38 additions & 0 deletions
38
packages/suite-desktop-core/e2e/fixtures/invity/sell/quotes-ethereum-token.json
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 |
---|---|---|
@@ -0,0 +1,38 @@ | ||
[ | ||
{ | ||
"exchange": "btcdirect-sell", | ||
"fiatCurrency": "EUR", | ||
"cryptoCurrency": "ethereum--0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48", | ||
"rate": 0.9453571428571429, | ||
"amountInCrypto": true, | ||
"exp": "smWJR5rZZn8vPQSVap5/lQ==", | ||
"country": "CZ", | ||
"paymentMethodName": "Bank Transfer", | ||
"fiatStringAmount": "9.32", | ||
"cryptoStringAmount": "9.87", | ||
"minFiat": 1, | ||
"maxFiat": 50726.17, | ||
"minCrypto": 1, | ||
"maxCrypto": 52373.58101, | ||
"paymentMethod": "bankTransfer", | ||
"validUntil": "2099-02-11T14:16:33Z" | ||
}, | ||
{ | ||
"exchange": "btcdirect-sell", | ||
"fiatCurrency": "EUR", | ||
"cryptoCurrency": "ethereum--0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48", | ||
"rate": 0.9453571428571429, | ||
"amountInCrypto": true, | ||
"exp": "smWJR5rZZn8vPQSVap5/lQ==", | ||
"country": "CZ", | ||
"paymentMethodName": "SEPA", | ||
"fiatStringAmount": "9.32", | ||
"cryptoStringAmount": "9.87", | ||
"minFiat": 1, | ||
"maxFiat": 50726.17, | ||
"minCrypto": 1, | ||
"maxCrypto": 52373.58101, | ||
"paymentMethod": "sepa", | ||
"validUntil": "2099-02-11T14:16:33Z" | ||
} | ||
] |
72 changes: 72 additions & 0 deletions
72
packages/suite-desktop-core/e2e/fixtures/invity/sell/quotes-solana.json
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 |
---|---|---|
@@ -0,0 +1,72 @@ | ||
[ | ||
{ | ||
"exchange": "moonpay-sell", | ||
"fiatCurrency": "EUR", | ||
"cryptoCurrency": "solana", | ||
"rate": 167, | ||
"amountInCrypto": true, | ||
"exp": "D2jSTmfl+NCtueFHot1j2Q==", | ||
"country": "CZ", | ||
"paymentMethodName": "Credit Card", | ||
"fiatStringAmount": "8.183", | ||
"cryptoStringAmount": "0.049", | ||
"minFiat": 20, | ||
"maxFiat": 30000, | ||
"minCrypto": 0.01, | ||
"maxCrypto": 30000, | ||
"paymentMethod": "creditCard" | ||
}, | ||
{ | ||
"exchange": "btcdirect-sell", | ||
"fiatCurrency": "EUR", | ||
"cryptoCurrency": "solana", | ||
"rate": 185.2, | ||
"amountInCrypto": true, | ||
"exp": "D2jSTmfl+NCtueFHot1j2Q==", | ||
"country": "CZ", | ||
"paymentMethodName": "Bank Transfer", | ||
"fiatStringAmount": "9.0758", | ||
"cryptoStringAmount": "0.049", | ||
"minFiat": 30.52, | ||
"maxFiat": 50894.54, | ||
"minCrypto": 0.01, | ||
"maxCrypto": 267.73919776, | ||
"paymentMethod": "bankTransfer", | ||
"validUntil": "2099-02-11T18:53:29Z" | ||
}, | ||
{ | ||
"exchange": "btcdirect-sell", | ||
"fiatCurrency": "EUR", | ||
"cryptoCurrency": "solana", | ||
"rate": 185.2, | ||
"amountInCrypto": true, | ||
"exp": "D2jSTmfl+NCtueFHot1j2Q==", | ||
"country": "CZ", | ||
"paymentMethodName": "SEPA", | ||
"fiatStringAmount": "9.0758", | ||
"cryptoStringAmount": "0.049", | ||
"minFiat": 30.52, | ||
"maxFiat": 50894.54, | ||
"minCrypto": 0.01, | ||
"maxCrypto": 267.73919776, | ||
"paymentMethod": "sepa", | ||
"validUntil": "2099-02-11T18:53:29Z" | ||
}, | ||
{ | ||
"exchange": "moonpay-sell", | ||
"fiatCurrency": "EUR", | ||
"cryptoCurrency": "solana", | ||
"rate": 167, | ||
"amountInCrypto": true, | ||
"exp": "D2jSTmfl+NCtueFHot1j2Q==", | ||
"country": "CZ", | ||
"paymentMethodName": "SEPA", | ||
"fiatStringAmount": "8.183", | ||
"cryptoStringAmount": "0.049", | ||
"minFiat": 20, | ||
"maxFiat": 30000, | ||
"minCrypto": 0.01, | ||
"maxCrypto": 30000, | ||
"paymentMethod": "sepa" | ||
} | ||
] |
Oops, something went wrong.