diff --git a/tests/snapshots/nanos_deposit_eth_compound_blind/00009.png b/tests/snapshots/nanos_deposit_eth_compound_blind/00009.png new file mode 120000 index 0000000..10266b3 --- /dev/null +++ b/tests/snapshots/nanos_deposit_eth_compound_blind/00009.png @@ -0,0 +1 @@ +00007.png \ No newline at end of file diff --git a/tests/snapshots/nanos_deposit_eth_compound_blind/00010.png b/tests/snapshots/nanos_deposit_eth_compound_blind/00010.png new file mode 100644 index 0000000..ce795f3 Binary files /dev/null and b/tests/snapshots/nanos_deposit_eth_compound_blind/00010.png differ diff --git a/tests/snapshots/nanox_deposit_eth_compound_blind/00007.png b/tests/snapshots/nanox_deposit_eth_compound_blind/00007.png new file mode 120000 index 0000000..7159a12 --- /dev/null +++ b/tests/snapshots/nanox_deposit_eth_compound_blind/00007.png @@ -0,0 +1 @@ +00005.png \ No newline at end of file diff --git a/tests/snapshots/nanox_deposit_eth_compound_blind/00008.png b/tests/snapshots/nanox_deposit_eth_compound_blind/00008.png new file mode 100644 index 0000000..a58590b Binary files /dev/null and b/tests/snapshots/nanox_deposit_eth_compound_blind/00008.png differ diff --git a/tests/src/blind_compound_deposit.test.js b/tests/src/blind_compound_deposit.test.js index e81ec0f..d94f6f8 100644 --- a/tests/src/blind_compound_deposit.test.js +++ b/tests/src/blind_compound_deposit.test.js @@ -14,14 +14,9 @@ nano_models.forEach(function(model) { await waitForAppScreen(sim); let clicks; - if (model.letter === 'S') clicks = [8]; - else clicks = [6]; - // Go to the reject screen - await sim.navigateAndCompareSnapshots('.', model.name + '_deposit_eth_compound_blind', clicks); - // Accepting the transaction somehow takes too long for Zemu and takes the same screenshot - // twice, so accept it manually - await sim.clickLeft(); - await sim.clickBoth(); + if (model.letter === 'S') clicks = 8; + else clicks = 6; + await sim.navigateAndCompareSnapshots('.', model.name + '_deposit_eth_compound_blind', [clicks, -1, 0]); await expect(tx).resolves.toEqual({ "r": "b5ae3a011eb50e7d1fe9f5e6f6d91ca9f4dfca5f73805fc4866d49e72ead2f5c",