From 6aa59246452a99018040b7de9263f5e488feee2f Mon Sep 17 00:00:00 2001 From: tadeubas Date: Sun, 25 Feb 2024 19:31:30 -0300 Subject: [PATCH] fixing sequences to generate imgs for tools menu --- simulator/generate-device-screenshots.sh | 2 ++ simulator/sequences/tools-create-QR.txt | 2 +- simulator/sequences/tools-mnemonic.txt | 15 +-------------- simulator/sequences/tools-print-test-QR.txt | 11 +++++++++++ simulator/sequences/tools-wipe-device.txt | 11 +++++++++++ 5 files changed, 26 insertions(+), 15 deletions(-) create mode 100644 simulator/sequences/tools-print-test-QR.txt create mode 100644 simulator/sequences/tools-wipe-device.txt diff --git a/simulator/generate-device-screenshots.sh b/simulator/generate-device-screenshots.sh index 5a0adb785..dd368850f 100755 --- a/simulator/generate-device-screenshots.sh +++ b/simulator/generate-device-screenshots.sh @@ -84,6 +84,8 @@ poetry run python simulator.py --sequence sequences/load-mnemonic-sequence.txt # poetry run python simulator.py --sequence sequences/tools-check-sd.txt --sd --device $device # poetry run python simulator.py --sequence sequences/tools-create-QR.txt --sd --device $device # poetry run python simulator.py --sequence sequences/tools-mnemonic.txt --sd --device $device +# poetry run python simulator.py --sequence sequences/tools-print-test-qr.txt --sd --device $device +# poetry run python simulator.py --sequence sequences/tools-wipe-device.txt --sd --device $device # poetry run python simulator.py --sequence sequences/wallet-type-options.txt --device $device # poetry run python simulator.py --sequence sequences/wallet-wpkh.txt --device $device # poetry run python simulator.py --sequence sequences/wallet-wsh.txt --device $device diff --git a/simulator/sequences/tools-create-QR.txt b/simulator/sequences/tools-create-QR.txt index abaaadfaa..606566499 100644 --- a/simulator/sequences/tools-create-QR.txt +++ b/simulator/sequences/tools-create-QR.txt @@ -5,7 +5,7 @@ x3 press BUTTON_B press BUTTON_A # Create QR Code -x3 press BUTTON_B +x2 press BUTTON_B press BUTTON_A screenshot create-qr-code.png diff --git a/simulator/sequences/tools-mnemonic.txt b/simulator/sequences/tools-mnemonic.txt index 25c4027d7..a77b96f49 100644 --- a/simulator/sequences/tools-mnemonic.txt +++ b/simulator/sequences/tools-mnemonic.txt @@ -5,20 +5,7 @@ x3 press BUTTON_B press BUTTON_A # Delete Mnemonic -press BUTTON_B +x3 press BUTTON_B press BUTTON_A screenshot delete-mnemonic.png - -# Leave Delete Mnemonic -press BUTTON_C -press BUTTON_A - -# Print test QR -press BUTTON_B -press BUTTON_A - -screenshot print-test-qr.png - -#Leave Print test QR -press BUTTON_A diff --git a/simulator/sequences/tools-print-test-QR.txt b/simulator/sequences/tools-print-test-QR.txt new file mode 100644 index 000000000..10fb2f08c --- /dev/null +++ b/simulator/sequences/tools-print-test-QR.txt @@ -0,0 +1,11 @@ +include _wait-for-logo.txt + +# Navigate to Tools +x3 press BUTTON_B +press BUTTON_A + +# Print Test QR +press BUTTON_B +press BUTTON_A + +screenshot print-test-qr.png diff --git a/simulator/sequences/tools-wipe-device.txt b/simulator/sequences/tools-wipe-device.txt new file mode 100644 index 000000000..e5173f371 --- /dev/null +++ b/simulator/sequences/tools-wipe-device.txt @@ -0,0 +1,11 @@ +include _wait-for-logo.txt + +# Navigate to Tools +x3 press BUTTON_B +press BUTTON_A + +# Wipe Device +x4 press BUTTON_B +press BUTTON_A + +screenshot wipe-device.png