Update tests
|
Before Width: | Height: | Size: 357 B After Width: | Height: | Size: 359 B |
@@ -1 +0,0 @@
|
||||
00013.png
|
||||
|
Before Width: | Height: | Size: 9 B After Width: | Height: | Size: 414 B |
BIN
tests/zemu/snapshots/nanos_starkware_usdt_deposit/00015.png
Normal file
|
Before Width: | Height: | Size: 9 B After Width: | Height: | Size: 414 B |
|
Before Width: | Height: | Size: 330 B After Width: | Height: | Size: 306 B |
|
Before Width: | Height: | Size: 367 B After Width: | Height: | Size: 360 B |
@@ -1 +0,0 @@
|
||||
00009.png
|
||||
|
Before Width: | Height: | Size: 9 B After Width: | Height: | Size: 414 B |
|
Before Width: | Height: | Size: 9 B After Width: | Height: | Size: 414 B |
|
Before Width: | Height: | Size: 374 B |
|
Before Width: | Height: | Size: 330 B |
|
Before Width: | Height: | Size: 451 B |
|
Before Width: | Height: | Size: 320 B |
|
Before Width: | Height: | Size: 497 B |
|
Before Width: | Height: | Size: 504 B |
|
Before Width: | Height: | Size: 373 B |
|
Before Width: | Height: | Size: 338 B |
|
Before Width: | Height: | Size: 367 B |
|
Before Width: | Height: | Size: 414 B |
|
Before Width: | Height: | Size: 340 B |
@@ -1 +0,0 @@
|
||||
00009.png
|
||||
|
Before Width: | Height: | Size: 349 B |
|
Before Width: | Height: | Size: 414 B |
|
Before Width: | Height: | Size: 566 B |
|
Before Width: | Height: | Size: 773 B |
|
Before Width: | Height: | Size: 390 B |
|
Before Width: | Height: | Size: 436 B |
|
Before Width: | Height: | Size: 472 B |
|
Before Width: | Height: | Size: 365 B |
@@ -1 +0,0 @@
|
||||
00005.png
|
||||
|
Before Width: | Height: | Size: 382 B |
@@ -36,25 +36,3 @@ nano_models.forEach(function(model) {
|
||||
await expect(tx).rejects.toEqual(new TransportStatusError(0x6807));
|
||||
}));
|
||||
});
|
||||
|
||||
nano_models.forEach(function(model) {
|
||||
test('[Nano ' + model.letter + '] Transfer Ether on network 5234 on Ethereum app', zemu(model, async (sim, eth) => {
|
||||
|
||||
const tx = eth.signTransaction(
|
||||
"44'/60'/1'/0/0",
|
||||
'ED44850306DC4200825208945A321744667052AFFA8386ED49E00EF223CBFFC3876F9C9E7BF61818808214728080',
|
||||
);
|
||||
|
||||
await waitForAppScreen(sim);
|
||||
let clicks;
|
||||
if (model.letter === 'S') clicks = 10;
|
||||
else clicks = 6;
|
||||
await sim.navigateAndCompareSnapshots('.', model.name + '_transfer_ethereum_5234_network', [clicks, -1, 0]);
|
||||
|
||||
await expect(tx).resolves.toEqual({
|
||||
"r": "07a7982dfd16360c96a03467877d0cf9c36f799deff4dace250cdb18e28a3b90",
|
||||
"s": "773318a93da2e32c1cf308ddd6add1e8c0d285973e541520a05fb4dc720e4fb1",
|
||||
"v": "2908",
|
||||
});
|
||||
}));
|
||||
});
|
||||
|
||||