39 Commits

Author SHA1 Message Date
Charles-Edouard de la Vergne
cf3c5c3064 Improve ragger tests
- Use defined firmware instead of strings
- Fix compatibility with Python 3.9
- Fix test navigation steps
2024-07-22 15:27:55 +02:00
Alexandre Paillier
0a2071d07f Fix EIP-712 Ragger tests 2024-07-16 16:23:36 +02:00
Alexandre Paillier
978d6dcb12 Replaced REVIEW_TAP with SWIPE_CENTER_TO_LEFT in Ragger tests 2024-07-16 15:05:18 +02:00
Alexandre Paillier
f259889c90 Ragger test 2024-06-24 17:26:18 +02:00
Alexandre Paillier
9c426dc0c6 Ragger tests fix
Also lower the EIP-712 autonext delay but slow it down for golden runs
2024-06-20 13:31:14 +02:00
Alexandre Paillier
a95e690143 Ragger tests 2024-06-20 10:42:31 +02:00
Alexandre Paillier
c639207d6c Add date/time ragger tests 2024-05-24 17:36:38 +02:00
Alexandre Paillier
d6a533b720 Add amount-join ragger tests 2024-05-24 17:36:34 +02:00
Alexandre Paillier
c4049fc039 Removed old substitutions in EIP-712 test and renamed it
message JSON directly in test
2024-05-24 17:35:28 +02:00
Alexandre Paillier
1c8482799c Enable EIP712 Ragger tests for Flex 2024-05-24 15:17:12 +02:00
Charles-Edouard de la Vergne
817e7a846a Disable eip712 tests because of not supported swipe 2024-05-07 16:24:03 +02:00
Charles-Edouard de la Vergne
0ce1e7c3b8 Port scenario review in 'test_eip712' 2024-05-07 16:23:59 +02:00
Alexandre Paillier
a2107b81c4 Now uses Web3 to check EIP-712 signatures in Ragger tests
Fixed platformFeeRecipient address length in 14-rabby_bug-data.json since Web3 does not handle addresses with a length != 20B
2024-05-02 18:37:35 +02:00
Charles-Edouard de la Vergne
c9436ab668 Improve 'ROOT_SNAPSHOT_PATH' with latest ragger version 2024-04-11 18:08:45 +02:00
Charles-Edouard de la Vergne
29630f9cf3 Remove client installation, and use local module with symlink 2024-04-11 18:07:52 +02:00
Charles-Edouard de la Vergne
5d5b68f56b Refactor of 'ragger' test 'eip712' 2024-04-11 16:44:57 +02:00
Charles-Edouard de la Vergne
fa3e87a06c Fix pylint issues 2024-04-10 19:02:00 +02:00
Francois Beutin
8d9e79ba0a Use sync or async exchange calls in ethereum client 2024-03-28 16:54:57 +01:00
Alexandre Paillier
faa2d3aabf Ragger tests 2024-02-14 12:10:16 +01:00
Alexandre Paillier
c8c6b9a2d1 EIP-712 Ragger tests snapshots handling
Also moved snapshots root path to a centralized/common file
2024-02-14 12:10:16 +01:00
Alexandre Paillier
c65db6f307 Removed old type hinting 2023-11-30 10:55:45 +01:00
Alexandre Paillier
620167633b Modified EIP712 function to take dictionaries directly instead of filenames 2023-11-30 10:55:34 +01:00
Alexandre Paillier
711b083f69 flake8 fixes 2023-11-29 18:25:42 +01:00
Lucas PASCAL
e5c82d910e [add] Python client packaging first draft 2023-08-07 11:52:12 +02:00
Alexandre Paillier
8f4fb59ec0 Updated Ragger 2023-05-16 11:42:46 +02:00
Alexandre Paillier
fec9a80d27 Stax Ragger tests 2023-05-16 11:42:40 +02:00
Alexandre Paillier
e3a6db7c93 Now uses Ragger's bip-32 packing function 2023-04-20 10:12:50 +02:00
Alexandre Paillier
25b57bb830 Small refactoring : renamed the Ragger client 2023-04-20 10:12:49 +02:00
Alexandre Paillier
be3aa9f1ba Now uses the reusable Ragger tests workflows 2023-04-20 10:12:49 +02:00
Alexandre Paillier
3ee1fa419a Now supports EIP-712 filtering with missing chain id & contract address 2022-09-14 09:41:37 +02:00
Alexandre Paillier
089de9e28f EIP712 tests - Renamed -test.json files into -data.json 2022-09-14 09:41:37 +02:00
Alexandre Paillier
3c321a04ea Split ragger ethereum client into multiple smaller files 2022-08-09 17:49:05 +02:00
Alexandre Paillier
e8f58bdce7 Ragger tests now have EIP721 filtering 2022-08-09 14:07:36 +02:00
Alexandre Paillier
0d38bea388 Ragger tests - Refactored the handling of the app settings 2022-08-09 14:07:36 +02:00
Alexandre Paillier
5e9b426b3e EIP-712 tests now have reference response signatures they can check against 2022-08-09 14:07:36 +02:00
Alexandre Paillier
ca04b5e213 Now properly handles UI clicks in EIP712 automated tests 2022-08-09 14:07:35 +02:00
Alexandre Paillier
311c266084 Fixes problem with field values too long for one APDU 2022-08-09 14:07:34 +02:00
Alexandre Paillier
fe13260140 EIP712 feeder script ragger support 2022-08-09 14:07:34 +02:00
Alexandre Paillier
aef491fdee Added a ragger ethereum client with EIP712 support 2022-08-09 14:07:33 +02:00