Updated EIP-191 Zemu tests
|
Before Width: | Height: | Size: 492 B After Width: | Height: | Size: 409 B |
|
Before Width: | Height: | Size: 489 B After Width: | Height: | Size: 486 B |
|
Before Width: | Height: | Size: 474 B After Width: | Height: | Size: 481 B |
|
Before Width: | Height: | Size: 490 B After Width: | Height: | Size: 465 B |
|
Before Width: | Height: | Size: 407 B After Width: | Height: | Size: 484 B |
|
Before Width: | Height: | Size: 449 B After Width: | Height: | Size: 426 B |
|
Before Width: | Height: | Size: 349 B After Width: | Height: | Size: 449 B |
BIN
tests/zemu/snapshots/nanos_eip191_nonascii/00009.png
Normal file
|
After Width: | Height: | Size: 407 B |
BIN
tests/zemu/snapshots/nanos_eip191_nonascii/00010.png
Normal file
|
After Width: | Height: | Size: 349 B |
|
Before Width: | Height: | Size: 471 B After Width: | Height: | Size: 472 B |
|
Before Width: | Height: | Size: 466 B After Width: | Height: | Size: 478 B |
|
Before Width: | Height: | Size: 407 B After Width: | Height: | Size: 464 B |
|
Before Width: | Height: | Size: 449 B After Width: | Height: | Size: 463 B |
|
Before Width: | Height: | Size: 407 B After Width: | Height: | Size: 426 B |
|
Before Width: | Height: | Size: 349 B After Width: | Height: | Size: 404 B |
BIN
tests/zemu/snapshots/nanos_eip191_opensea/00010.png
Normal file
|
After Width: | Height: | Size: 448 B |
BIN
tests/zemu/snapshots/nanos_eip191_opensea/00011.png
Normal file
|
After Width: | Height: | Size: 470 B |
BIN
tests/zemu/snapshots/nanos_eip191_opensea/00012.png
Normal file
|
After Width: | Height: | Size: 406 B |
BIN
tests/zemu/snapshots/nanos_eip191_opensea/00013.png
Normal file
|
After Width: | Height: | Size: 464 B |
BIN
tests/zemu/snapshots/nanos_eip191_opensea/00014.png
Normal file
|
After Width: | Height: | Size: 407 B |
BIN
tests/zemu/snapshots/nanos_eip191_opensea/00015.png
Normal file
|
After Width: | Height: | Size: 449 B |
BIN
tests/zemu/snapshots/nanos_eip191_opensea/00016.png
Normal file
|
After Width: | Height: | Size: 407 B |
BIN
tests/zemu/snapshots/nanos_eip191_opensea/00017.png
Normal file
|
After Width: | Height: | Size: 349 B |
|
Before Width: | Height: | Size: 882 B After Width: | Height: | Size: 814 B |
|
Before Width: | Height: | Size: 570 B After Width: | Height: | Size: 846 B |
|
Before Width: | Height: | Size: 853 B After Width: | Height: | Size: 857 B |
|
Before Width: | Height: | Size: 852 B After Width: | Height: | Size: 829 B |
|
Before Width: | Height: | Size: 837 B After Width: | Height: | Size: 723 B |
|
Before Width: | Height: | Size: 814 B After Width: | Height: | Size: 849 B |
|
Before Width: | Height: | Size: 522 B After Width: | Height: | Size: 626 B |
|
Before Width: | Height: | Size: 463 B After Width: | Height: | Size: 496 B |
|
Before Width: | Height: | Size: 499 B After Width: | Height: | Size: 912 B |
|
Before Width: | Height: | Size: 463 B After Width: | Height: | Size: 692 B |
|
Before Width: | Height: | Size: 382 B After Width: | Height: | Size: 463 B |
BIN
tests/zemu/snapshots/nanox_eip191_opensea/00010.png
Normal file
|
After Width: | Height: | Size: 499 B |
BIN
tests/zemu/snapshots/nanox_eip191_opensea/00011.png
Normal file
|
After Width: | Height: | Size: 463 B |
BIN
tests/zemu/snapshots/nanox_eip191_opensea/00012.png
Normal file
|
After Width: | Height: | Size: 382 B |
@@ -34,7 +34,7 @@ nano_models.forEach(function(model) {
|
||||
|
||||
await waitForAppScreen(sim);
|
||||
|
||||
const rclicks = (model.letter == 'S') ? 6 : 4;
|
||||
const rclicks = (model.letter == 'S') ? 8 : 4;
|
||||
await sim.navigateAndCompareSnapshots('.', model.name + '_eip191_nonascii', [rclicks, -1, 0]);
|
||||
|
||||
await expect(tx).resolves.toEqual({
|
||||
@@ -54,7 +54,14 @@ nano_models.forEach(function(model) {
|
||||
|
||||
await waitForAppScreen(sim);
|
||||
|
||||
await sim.navigateAndCompareSnapshots('.', model.name + '_eip191_opensea', [7, -1, 0]);
|
||||
if (model.letter == 'S')
|
||||
{
|
||||
await sim.navigateAndCompareSnapshots('.', model.name + '_eip191_opensea', [1, 5, 1, 6, 0, 1, -1, 0]);
|
||||
}
|
||||
else
|
||||
{
|
||||
await sim.navigateAndCompareSnapshots('.', model.name + '_eip191_opensea', [1, 5, 1, 2, 1, -1, 0]);
|
||||
}
|
||||
|
||||
await expect(tx).resolves.toEqual({
|
||||
"v": 28,
|
||||
|
||||