diff --git a/tests/elfs/ethereum_nanox.elf b/tests/elfs/ethereum_nanox.elf index a1e31a9..3cd6cc1 100755 Binary files a/tests/elfs/ethereum_nanox.elf and b/tests/elfs/ethereum_nanox.elf differ diff --git a/tests/elfs/quickswap_nanox.elf b/tests/elfs/quickswap_nanox.elf index 8302dc2..3f0323a 100755 Binary files a/tests/elfs/quickswap_nanox.elf and b/tests/elfs/quickswap_nanox.elf differ diff --git a/tests/package.json b/tests/package.json index 29bba36..f53f1b5 100644 --- a/tests/package.json +++ b/tests/package.json @@ -15,7 +15,7 @@ "@ledgerhq/hw-app-eth": "^6.9.0", "@ledgerhq/hw-transport-http": "^4.74.2", "@ledgerhq/logs": "^5.50.0", - "@zondax/zemu": "0.21.1", + "@zondax/zemu": "0.22.0", "bignumber.js": "^9.0.0", "bip32-path": "^0.4.2", "core-js": "^3.7.0", @@ -38,4 +38,4 @@ "flow-bin": "^0.112.0", "jest": "^26.6.3" } -} +} \ No newline at end of file diff --git a/tests/src/add_liquidity.test.js b/tests/src/add_liquidity.test.js index 4869f7d..8e04cfe 100644 --- a/tests/src/add_liquidity.test.js +++ b/tests/src/add_liquidity.test.js @@ -24,9 +24,9 @@ const devices = [ steps: 13, // <= Define the number of steps for this test case and this device }, { - name: "nanox", - label: "Nano X", - steps: 7, // <= Define the number of steps for this test case and this device + name: "nanox", + label: "Nano X", + steps: 7, // <= Define the number of steps for this test case and this device }, ]; diff --git a/tests/src/add_liquidity_eth.test.js b/tests/src/add_liquidity_eth.test.js index 1fa39ff..9c87ada 100644 --- a/tests/src/add_liquidity_eth.test.js +++ b/tests/src/add_liquidity_eth.test.js @@ -25,9 +25,9 @@ const devices = [ steps: 13, // <= Define the number of steps for this test case and this device }, { - name: "nanox", - label: "Nano X", - steps: 8, // <= Define the number of steps for this test case and this device + name: "nanox", + label: "Nano X", + steps: 8, // <= Define the number of steps for this test case and this device }, ]; diff --git a/tests/src/remove_liquidity.test.js b/tests/src/remove_liquidity.test.js index 751fbe8..ee71cda 100644 --- a/tests/src/remove_liquidity.test.js +++ b/tests/src/remove_liquidity.test.js @@ -24,9 +24,9 @@ const devices = [ steps: 11, // <= Define the number of steps for this test case and this device }, { - name: "nanox", - label: "Nano X", - steps: 8, // <= Define the number of steps for this test case and this device + name: "nanox", + label: "Nano X", + steps: 8, // <= Define the number of steps for this test case and this device }, ]; diff --git a/tests/src/remove_liquidity_eth.test.js b/tests/src/remove_liquidity_eth.test.js index 4e86d1f..5042613 100644 --- a/tests/src/remove_liquidity_eth.test.js +++ b/tests/src/remove_liquidity_eth.test.js @@ -24,9 +24,9 @@ const devices = [ steps: 13, // <= Define the number of steps for this test case and this device }, { - name: "nanox", - label: "Nano X", - steps: 8, // <= Define the number of steps for this test case and this device + name: "nanox", + label: "Nano X", + steps: 8, // <= Define the number of steps for this test case and this device }, ]; diff --git a/tests/src/remove_liquidity_eth_supporting_fee_on_transfer_tokens.test.js b/tests/src/remove_liquidity_eth_supporting_fee_on_transfer_tokens.test.js index f096237..2f0d4ca 100644 --- a/tests/src/remove_liquidity_eth_supporting_fee_on_transfer_tokens.test.js +++ b/tests/src/remove_liquidity_eth_supporting_fee_on_transfer_tokens.test.js @@ -24,9 +24,9 @@ const devices = [ steps: 13, // <= Define the number of steps for this test case and this device }, { - name: "nanox", - label: "Nano X", - steps: 8, // <= Define the number of steps for this test case and this device + name: "nanox", + label: "Nano X", + steps: 8, // <= Define the number of steps for this test case and this device }, ]; diff --git a/tests/src/remove_liquidity_eth_with_permit.test.js b/tests/src/remove_liquidity_eth_with_permit.test.js index b81992e..5b35b6e 100644 --- a/tests/src/remove_liquidity_eth_with_permit.test.js +++ b/tests/src/remove_liquidity_eth_with_permit.test.js @@ -24,9 +24,9 @@ const devices = [ steps: 13, // <= Define the number of steps for this test case and this device }, { - name: "nanox", - label: "Nano X", - steps: 8, // <= Define the number of steps for this test case and this device + name: "nanox", + label: "Nano X", + steps: 8, // <= Define the number of steps for this test case and this device }, ]; diff --git a/tests/src/remove_liquidity_eth_with_permit_supporting_fee_on_transfer_tokens.test.js b/tests/src/remove_liquidity_eth_with_permit_supporting_fee_on_transfer_tokens.test.js index 5a4c53e..0859e65 100644 --- a/tests/src/remove_liquidity_eth_with_permit_supporting_fee_on_transfer_tokens.test.js +++ b/tests/src/remove_liquidity_eth_with_permit_supporting_fee_on_transfer_tokens.test.js @@ -24,9 +24,9 @@ const devices = [ steps: 11, // <= Define the number of steps for this test case and this device }, { - name: "nanox", - label: "Nano X", - steps: 7, // <= Define the number of steps for this test case and this device + name: "nanox", + label: "Nano X", + steps: 7, // <= Define the number of steps for this test case and this device }, ]; diff --git a/tests/src/remove_liquidity_with_permit.test.js b/tests/src/remove_liquidity_with_permit.test.js index 86b76bf..4bdeeff 100644 --- a/tests/src/remove_liquidity_with_permit.test.js +++ b/tests/src/remove_liquidity_with_permit.test.js @@ -24,9 +24,9 @@ const devices = [ steps: 11, // <= Define the number of steps for this test case and this device }, { - name: "nanox", - label: "Nano X", - steps: 8, // <= Define the number of steps for this test case and this device + name: "nanox", + label: "Nano X", + steps: 8, // <= Define the number of steps for this test case and this device }, ]; diff --git a/tests/src/swap_eth_for_exact_tokens.test.js b/tests/src/swap_eth_for_exact_tokens.test.js index 3197284..3fabc75 100644 --- a/tests/src/swap_eth_for_exact_tokens.test.js +++ b/tests/src/swap_eth_for_exact_tokens.test.js @@ -24,9 +24,9 @@ const devices = [ steps: 11, // <= Define the number of steps for this test case and this device }, { - name: "nanox", - label: "Nano X", - steps: 7, // <= Define the number of steps for this test case and this device + name: "nanox", + label: "Nano X", + steps: 7, // <= Define the number of steps for this test case and this device }, ]; diff --git a/tests/src/swap_exact_eth_for_tokens.test.js b/tests/src/swap_exact_eth_for_tokens.test.js index e9593b7..759f3bb 100644 --- a/tests/src/swap_exact_eth_for_tokens.test.js +++ b/tests/src/swap_exact_eth_for_tokens.test.js @@ -23,9 +23,9 @@ const devices = [ steps: 9, // <= Define the number of steps for this test case and this device }, { - name: "nanox", - label: "Nano X", - steps: 7, // <= Define the number of steps for this test case and this device + name: "nanox", + label: "Nano X", + steps: 7, // <= Define the number of steps for this test case and this device }, ]; diff --git a/tests/src/swap_exact_eth_for_tokens_supporting_fee_on_transfer_tokens.test.js b/tests/src/swap_exact_eth_for_tokens_supporting_fee_on_transfer_tokens.test.js index 037086b..b7c1ce4 100644 --- a/tests/src/swap_exact_eth_for_tokens_supporting_fee_on_transfer_tokens.test.js +++ b/tests/src/swap_exact_eth_for_tokens_supporting_fee_on_transfer_tokens.test.js @@ -25,9 +25,9 @@ const devices = [ steps: 9, // <= Define the number of steps for this test case and this device }, { - name: "nanox", - label: "Nano X", - steps: 7, // <= Define the number of steps for this test case and this device + name: "nanox", + label: "Nano X", + steps: 7, // <= Define the number of steps for this test case and this device }, ]; diff --git a/tests/src/swap_exact_tokens_for_eth.test.js b/tests/src/swap_exact_tokens_for_eth.test.js index 257d53b..d6febbd 100644 --- a/tests/src/swap_exact_tokens_for_eth.test.js +++ b/tests/src/swap_exact_tokens_for_eth.test.js @@ -22,9 +22,9 @@ const devices = [ steps: 11, // <= Define the number of steps for this test case and this device }, { - name: "nanox", - label: "Nano X", - steps: 7, // <= Define the number of steps for this test case and this device + name: "nanox", + label: "Nano X", + steps: 7, // <= Define the number of steps for this test case and this device }, ]; diff --git a/tests/src/swap_exact_tokens_for_eth_supporting_fee_on_transfer_tokens.test.js b/tests/src/swap_exact_tokens_for_eth_supporting_fee_on_transfer_tokens.test.js index 808ebcf..a13fd3f 100644 --- a/tests/src/swap_exact_tokens_for_eth_supporting_fee_on_transfer_tokens.test.js +++ b/tests/src/swap_exact_tokens_for_eth_supporting_fee_on_transfer_tokens.test.js @@ -23,9 +23,9 @@ const devices = [ steps: 12, // <= Define the number of steps for this test case and this device }, { - name: "nanox", - label: "Nano X", - steps: 8, // <= Define the number of steps for this test case and this device + name: "nanox", + label: "Nano X", + steps: 8, // <= Define the number of steps for this test case and this device }, ]; diff --git a/tests/src/swap_exact_tokens_for_tokens.test.js b/tests/src/swap_exact_tokens_for_tokens.test.js index 83ba4b8..7e090f1 100644 --- a/tests/src/swap_exact_tokens_for_tokens.test.js +++ b/tests/src/swap_exact_tokens_for_tokens.test.js @@ -22,9 +22,9 @@ const devices = [ steps: 13, // <= Define the number of steps for this test case and this device }, { - name: "nanox", - label: "Nano X", - steps: 7, // <= Define the number of steps for this test case and this device + name: "nanox", + label: "Nano X", + steps: 7, // <= Define the number of steps for this test case and this device }, ]; diff --git a/tests/src/swap_exact_tokens_for_tokens_supporting_fee_on_transfer_tokens.test.js b/tests/src/swap_exact_tokens_for_tokens_supporting_fee_on_transfer_tokens.test.js index 78003fe..95e0c49 100644 --- a/tests/src/swap_exact_tokens_for_tokens_supporting_fee_on_transfer_tokens.test.js +++ b/tests/src/swap_exact_tokens_for_tokens_supporting_fee_on_transfer_tokens.test.js @@ -23,9 +23,9 @@ const devices = [ steps: 11, // <= Define the number of steps for this test case and this device }, { - name: "nanox", - label: "Nano X", - steps: 7, // <= Define the number of steps for this test case and this device + name: "nanox", + label: "Nano X", + steps: 7, // <= Define the number of steps for this test case and this device }, ]; diff --git a/tests/src/swap_tokens_for_exact_eth.test.js b/tests/src/swap_tokens_for_exact_eth.test.js index a36cd32..2ab7e48 100644 --- a/tests/src/swap_tokens_for_exact_eth.test.js +++ b/tests/src/swap_tokens_for_exact_eth.test.js @@ -23,9 +23,9 @@ const devices = [ steps: 13, // <= Define the number of steps for this test case and this device }, { - name: "nanox", - label: "Nano X", - steps: 8, // <= Define the number of steps for this test case and this device + name: "nanox", + label: "Nano X", + steps: 8, // <= Define the number of steps for this test case and this device }, ]; diff --git a/tests/src/swap_tokens_for_exact_tokens.test.js b/tests/src/swap_tokens_for_exact_tokens.test.js index 59df196..c4fce33 100644 --- a/tests/src/swap_tokens_for_exact_tokens.test.js +++ b/tests/src/swap_tokens_for_exact_tokens.test.js @@ -23,9 +23,9 @@ const devices = [ steps: 9, // <= Define the number of steps for this test case and this device }, { - name: "nanox", - label: "Nano X", - steps: 7, // <= Define the number of steps for this test case and this device + name: "nanox", + label: "Nano X", + steps: 7, // <= Define the number of steps for this test case and this device }, ]; diff --git a/tests/src/test.fixture.js b/tests/src/test.fixture.js index 5736721..0df4f08 100644 --- a/tests/src/test.fixture.js +++ b/tests/src/test.fixture.js @@ -9,7 +9,6 @@ const transactionUploadDelay = 10000; const sim_options_generic = { logging: true, - X11: false, startDelay: 15000, startText: 'is ready' }; diff --git a/tests/yarn.lock b/tests/yarn.lock index 883b6e2..06f346c 100644 --- a/tests/yarn.lock +++ b/tests/yarn.lock @@ -845,9 +845,9 @@ source-map-support "^0.5.16" "@babel/runtime@^7.15.4": - version "7.17.0" - resolved "https://registry.yarnpkg.com/@babel/runtime/-/runtime-7.17.0.tgz#b8d142fc0f7664fb3d9b5833fd40dcbab89276c0" - integrity sha512-etcO/ohMNaNA2UBdaXBBSX/3aEzFMRrVfaPv8Ptc0k+cWpWW0QFiGZ2XnVqQZI1Cf734LbPGmqBKWESfW4x/dQ== + version "7.17.2" + resolved "https://registry.yarnpkg.com/@babel/runtime/-/runtime-7.17.2.tgz#66f68591605e59da47523c631416b18508779941" + integrity sha512-hzeyJyMA1YGdJTuWU0e/j4wKXrU4OMFvY2MSlaI9B7VQb0r5cxTE3EAIS2Q7Tn2RIcDkRvTA/v2JsAEhxe99uw== dependencies: regenerator-runtime "^0.13.4" @@ -1879,10 +1879,10 @@ dependencies: "@types/yargs-parser" "*" -"@zondax/zemu@0.21.1": - version "0.21.1" - resolved "https://registry.yarnpkg.com/@zondax/zemu/-/zemu-0.21.1.tgz#528861c8c0908f88d9104406519b5468dd440d91" - integrity sha512-lWsh4ih/BMaEQYbsjXfia1sw2ouXu2nCSNV5QfeCVdvMfmFC9s95imA16P5QwKR1ISAZ55IndwPtmuxTT+xIcA== +"@zondax/zemu@0.22.0": + version "0.22.0" + resolved "https://registry.yarnpkg.com/@zondax/zemu/-/zemu-0.22.0.tgz#4512729d4df4aed435242b4889e186df106ea6a0" + integrity sha512-sQ1CCPvwhrYd5Cc0NAfbPV0m9uqx3FvgJkvo+FzJQmEW60D3IfsSoxw4lCKEyMzCEKWQ1JEcsC3pCkqdo9Zp6g== dependencies: "@grpc/grpc-js" "^1.3.4" "@grpc/proto-loader" "^0.6.4"