-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update snapshots for new blindsigning flow
1. test_basic.py - remove blindsigning settings from settings menu 2. test_blindsign_too_deep.py - Remove blindsign enabled section and consolidate two warning screens in one utils function. 3. test_blindsign_too_deep_rejections.py - Address changes due to two warning screens. Note that first warning screen has reverse confirm/reject buttons 4. test_blindsign_too_large.py - Remove blindsign enabled section. 5. test_parsing_errors.py - add the blindsign warning screen. note that the warning screen has reverse confirm/reject buttons.
- Loading branch information
1 parent
37e04ae
commit 469276a
Showing
97 changed files
with
58 additions
and
124 deletions.
There are no files selected for viewing
Binary file modified
BIN
-4.26 KB
(67%)
tests/integration/touch/snapshots/flex/test_basic/settings.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed
BIN
-13 KB
...integration/touch/snapshots/flex/test_basic/settings_blindsigning_expert_on.png
Binary file not shown.
Binary file removed
BIN
-13.1 KB
tests/integration/touch/snapshots/flex/test_basic/settings_blindsigning_on.png
Binary file not shown.
Binary file modified
BIN
-4.28 KB
(67%)
tests/integration/touch/snapshots/flex/test_basic/settings_expert_on.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed
BIN
-6.9 KB
.../integration/touch/snapshots/flex/test_blindsign_too_deep/blindsign_enabled.png
Binary file not shown.
Binary file removed
BIN
-16.6 KB
.../integration/touch/snapshots/flex/test_blindsign_too_deep/blindsign_warning.png
Binary file not shown.
Binary file modified
BIN
+1.01 KB
(110%)
tests/integration/touch/snapshots/flex/test_blindsign_too_deep/operation_sign.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed
BIN
-13.1 KB
...ation/touch/snapshots/flex/test_blindsign_too_deep/settings_blindsigning_on.png
Binary file not shown.
Binary file modified
BIN
+198 Bytes
(100%)
tests/integration/touch/snapshots/flex/test_blindsign_too_deep/tbtd_review_1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+9.84 KB
...on/touch/snapshots/flex/test_blindsign_too_deep/tbtd_start_review_blindsign.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed
BIN
-12.6 KB
...tion/touch/snapshots/flex/test_blindsign_too_deep/too_deep_blindsign_notify.png
Binary file not shown.
Binary file removed
BIN
-16.5 KB
...tion/touch/snapshots/flex/test_blindsign_too_deep/too_deep_enable_blindsign.png
Binary file not shown.
Binary file added
BIN
+16.4 KB
...ion/touch/snapshots/flex/test_blindsign_too_deep/unsafe_operation_warning_1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+18.9 KB
...ion/touch/snapshots/flex/test_blindsign_too_deep/unsafe_operation_warning_2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed
BIN
-6.9 KB
...n/touch/snapshots/flex/test_blindsign_too_deep_rejections/blindsign_enabled.png
Binary file not shown.
Binary file removed
BIN
-16.6 KB
...n/touch/snapshots/flex/test_blindsign_too_deep_rejections/blindsign_warning.png
Binary file not shown.
Binary file modified
BIN
+1.01 KB
(110%)
...tion/touch/snapshots/flex/test_blindsign_too_deep_rejections/operation_sign.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-116 Bytes
(99%)
...ation/touch/snapshots/flex/test_blindsign_too_deep_rejections/reject_review.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+198 Bytes
(100%)
...ation/touch/snapshots/flex/test_blindsign_too_deep_rejections/tbtd_review_1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
File renamed without changes
Binary file added
BIN
+9.84 KB
...pshots/flex/test_blindsign_too_deep_rejections/tbtdr_start_review_blindsign.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed
BIN
-12.6 KB
...snapshots/flex/test_blindsign_too_deep_rejections/too_deep_blindsign_notify.png
Binary file not shown.
Binary file removed
BIN
-16.5 KB
...snapshots/flex/test_blindsign_too_deep_rejections/too_deep_enable_blindsign.png
Binary file not shown.
Binary file added
BIN
+16.4 KB
...napshots/flex/test_blindsign_too_deep_rejections/unsafe_operation_warning_1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+18.9 KB
...napshots/flex/test_blindsign_too_deep_rejections/unsafe_operation_warning_2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed
BIN
-6.9 KB
...integration/touch/snapshots/flex/test_blindsign_too_large/blindsign_enabled.png
Diff not rendered.
Binary file removed
BIN
-16.6 KB
...integration/touch/snapshots/flex/test_blindsign_too_large/blindsign_warning.png
Diff not rendered.
Binary file modified
BIN
+1.01 KB
(110%)
tests/integration/touch/snapshots/flex/test_blindsign_too_large/operation_sign.png
Oops, something went wrong.
Binary file removed
BIN
-13.1 KB
...tion/touch/snapshots/flex/test_blindsign_too_large/settings_blindsigning_on.png
Diff not rendered.
Binary file added
BIN
+9.84 KB
...n/touch/snapshots/flex/test_blindsign_too_large/tbtd_start_review_blindsign.png
Oops, something went wrong.
Binary file modified
BIN
+197 Bytes
(100%)
tests/integration/touch/snapshots/flex/test_blindsign_too_large/tbtl_review_1.png
Oops, something went wrong.
Binary file removed
BIN
-12.8 KB
...on/touch/snapshots/flex/test_blindsign_too_large/too_large_blindsign_notify.png
Diff not rendered.
Binary file removed
BIN
-16.7 KB
...on/touch/snapshots/flex/test_blindsign_too_large/too_large_enable_blindsign.png
Diff not rendered.
Binary file added
BIN
+16.4 KB
...on/touch/snapshots/flex/test_blindsign_too_large/unsafe_operation_warning_1.png
Oops, something went wrong.
Binary file added
BIN
+19.1 KB
...on/touch/snapshots/flex/test_blindsign_too_large/unsafe_operation_warning_2.png
Oops, something went wrong.
Binary file removed
BIN
-13.1 KB
tests/integration/touch/snapshots/flex/test_blindsign_valid/settings.png
Diff not rendered.
Binary file removed
BIN
-13.1 KB
...egration/touch/snapshots/flex/test_blindsign_valid/settings_blindsigning_on.png
Diff not rendered.
Binary file modified
BIN
-116 Bytes
(99%)
.../integration/touch/snapshots/flex/test_expert_mode_rejections/reject_review.png
Oops, something went wrong.
Binary file modified
BIN
+2.53 KB
(110%)
tests/integration/touch/snapshots/flex/test_parsing_errors/invalid_tag.png
Oops, something went wrong.
Binary file modified
BIN
-116 Bytes
(99%)
tests/integration/touch/snapshots/flex/test_parsing_errors/reject_review.png
Oops, something went wrong.
Binary file modified
BIN
+2.43 KB
(110%)
tests/integration/touch/snapshots/flex/test_parsing_errors/too_deep.png
Oops, something went wrong.
Binary file modified
BIN
+2.41 KB
(110%)
tests/integration/touch/snapshots/flex/test_parsing_errors/too_large.png
Oops, something went wrong.
Binary file added
BIN
+16.4 KB
...gration/touch/snapshots/flex/test_parsing_errors/unsafe_operation_warning_1.png
Oops, something went wrong.
Binary file modified
BIN
-116 Bytes
(99%)
...gration/touch/snapshots/flex/test_reject_review_operation/confirm_rejection.png
Oops, something went wrong.
Binary file modified
BIN
-116 Bytes
(99%)
tests/integration/touch/snapshots/flex/test_reject_transfer/confirm_rejection.png
Oops, something went wrong.
Binary file modified
BIN
-3.56 KB
(69%)
tests/integration/touch/snapshots/stax/test_basic/settings.png
Oops, something went wrong.
Binary file removed
BIN
-11.5 KB
...integration/touch/snapshots/stax/test_basic/settings_blindsigning_expert_on.png
Diff not rendered.
Binary file removed
BIN
-11.6 KB
tests/integration/touch/snapshots/stax/test_basic/settings_blindsigning_on.png
Diff not rendered.
Binary file modified
BIN
-3.58 KB
(69%)
tests/integration/touch/snapshots/stax/test_basic/settings_expert_on.png
Oops, something went wrong.
Binary file removed
BIN
-6.56 KB
.../integration/touch/snapshots/stax/test_blindsign_too_deep/blindsign_enabled.png
Diff not rendered.
Binary file removed
BIN
-14.4 KB
.../integration/touch/snapshots/stax/test_blindsign_too_deep/blindsign_warning.png
Diff not rendered.
Binary file modified
BIN
+28 Bytes
(100%)
tests/integration/touch/snapshots/stax/test_blindsign_too_deep/operation_sign.png
Oops, something went wrong.
Binary file removed
BIN
-11.6 KB
...ation/touch/snapshots/stax/test_blindsign_too_deep/settings_blindsigning_on.png
Diff not rendered.
Binary file modified
BIN
-202 Bytes
(99%)
tests/integration/touch/snapshots/stax/test_blindsign_too_deep/tbtd_review_1.png
Oops, something went wrong.
Binary file added
BIN
+9.16 KB
...on/touch/snapshots/stax/test_blindsign_too_deep/tbtd_start_review_blindsign.png
Oops, something went wrong.
Binary file removed
BIN
-11.6 KB
...tion/touch/snapshots/stax/test_blindsign_too_deep/too_deep_blindsign_notify.png
Diff not rendered.
Binary file removed
BIN
-15 KB
...tion/touch/snapshots/stax/test_blindsign_too_deep/too_deep_enable_blindsign.png
Diff not rendered.
Binary file added
BIN
+14.3 KB
...ion/touch/snapshots/stax/test_blindsign_too_deep/unsafe_operation_warning_1.png
Oops, something went wrong.
Binary file added
BIN
+16.6 KB
...ion/touch/snapshots/stax/test_blindsign_too_deep/unsafe_operation_warning_2.png
Oops, something went wrong.
Binary file removed
BIN
-6.56 KB
...n/touch/snapshots/stax/test_blindsign_too_deep_rejections/blindsign_enabled.png
Diff not rendered.
Binary file removed
BIN
-14.4 KB
...n/touch/snapshots/stax/test_blindsign_too_deep_rejections/blindsign_warning.png
Diff not rendered.
Binary file modified
BIN
+28 Bytes
(100%)
...tion/touch/snapshots/stax/test_blindsign_too_deep_rejections/operation_sign.png
Oops, something went wrong.
Binary file modified
BIN
-86 Bytes
(99%)
...ation/touch/snapshots/stax/test_blindsign_too_deep_rejections/reject_review.png
Oops, something went wrong.
Binary file modified
BIN
-202 Bytes
(99%)
...ation/touch/snapshots/stax/test_blindsign_too_deep_rejections/tbtd_review_1.png
Oops, something went wrong.
File renamed without changes
Binary file added
BIN
+9.16 KB
...pshots/stax/test_blindsign_too_deep_rejections/tbtdr_start_review_blindsign.png
Oops, something went wrong.
Binary file removed
BIN
-11.6 KB
...snapshots/stax/test_blindsign_too_deep_rejections/too_deep_blindsign_notify.png
Diff not rendered.
Binary file removed
BIN
-15 KB
...snapshots/stax/test_blindsign_too_deep_rejections/too_deep_enable_blindsign.png
Diff not rendered.
Binary file added
BIN
+14.3 KB
...napshots/stax/test_blindsign_too_deep_rejections/unsafe_operation_warning_1.png
Oops, something went wrong.
Binary file added
BIN
+16.6 KB
...napshots/stax/test_blindsign_too_deep_rejections/unsafe_operation_warning_2.png
Oops, something went wrong.
Binary file removed
BIN
-6.56 KB
...integration/touch/snapshots/stax/test_blindsign_too_large/blindsign_enabled.png
Diff not rendered.
Binary file removed
BIN
-14.4 KB
...integration/touch/snapshots/stax/test_blindsign_too_large/blindsign_warning.png
Diff not rendered.
Binary file modified
BIN
+28 Bytes
(100%)
tests/integration/touch/snapshots/stax/test_blindsign_too_large/operation_sign.png
Oops, something went wrong.
Binary file removed
BIN
-11.6 KB
...tion/touch/snapshots/stax/test_blindsign_too_large/settings_blindsigning_on.png
Diff not rendered.
Binary file added
BIN
+9.16 KB
...n/touch/snapshots/stax/test_blindsign_too_large/tbtd_start_review_blindsign.png
Oops, something went wrong.
Binary file modified
BIN
-198 Bytes
(99%)
tests/integration/touch/snapshots/stax/test_blindsign_too_large/tbtl_review_1.png
Oops, something went wrong.
Binary file removed
BIN
-11.8 KB
...on/touch/snapshots/stax/test_blindsign_too_large/too_large_blindsign_notify.png
Diff not rendered.
Binary file removed
BIN
-15.2 KB
...on/touch/snapshots/stax/test_blindsign_too_large/too_large_enable_blindsign.png
Diff not rendered.
Binary file added
BIN
+14.3 KB
...on/touch/snapshots/stax/test_blindsign_too_large/unsafe_operation_warning_1.png
Oops, something went wrong.
Binary file added
BIN
+16.7 KB
...on/touch/snapshots/stax/test_blindsign_too_large/unsafe_operation_warning_2.png
Oops, something went wrong.
Binary file removed
BIN
-11.6 KB
tests/integration/touch/snapshots/stax/test_blindsign_valid/settings.png
Diff not rendered.
Binary file removed
BIN
-11.6 KB
...egration/touch/snapshots/stax/test_blindsign_valid/settings_blindsigning_on.png
Diff not rendered.
Binary file modified
BIN
-86 Bytes
(99%)
.../integration/touch/snapshots/stax/test_expert_mode_rejections/reject_review.png
Oops, something went wrong.
Binary file modified
BIN
+1.67 KB
(110%)
tests/integration/touch/snapshots/stax/test_parsing_errors/invalid_tag.png
Oops, something went wrong.
Binary file modified
BIN
-86 Bytes
(99%)
tests/integration/touch/snapshots/stax/test_parsing_errors/reject_review.png
Oops, something went wrong.
Binary file modified
BIN
+1.57 KB
(110%)
tests/integration/touch/snapshots/stax/test_parsing_errors/too_deep.png
Oops, something went wrong.
Binary file modified
BIN
+1.53 KB
(110%)
tests/integration/touch/snapshots/stax/test_parsing_errors/too_large.png
Oops, something went wrong.
Binary file added
BIN
+14.3 KB
...gration/touch/snapshots/stax/test_parsing_errors/unsafe_operation_warning_1.png
Oops, something went wrong.
Binary file modified
BIN
-86 Bytes
(99%)
...gration/touch/snapshots/stax/test_reject_review_operation/confirm_rejection.png
Oops, something went wrong.
Binary file modified
BIN
-86 Bytes
(99%)
tests/integration/touch/snapshots/stax/test_reject_transfer/confirm_rejection.png
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,6 @@ | ||
#!/usr/bin/env python3 | ||
# Copyright 2023 Trilitech <[email protected]> | ||
import os | ||
|
||
# Licensed under the Apache License, Version 2.0 (the "License"); | ||
# you may not use this file except in compliance with the License. | ||
|
@@ -23,13 +24,7 @@ | |
app.welcome.settings() | ||
app.assert_settings() | ||
|
||
app.settings.toggle_blindsigning() | ||
app.assert_settings(blindsigning=True) | ||
|
||
app.settings.toggle_expert_mode() | ||
app.assert_settings(blindsigning=True, expert_mode=True) | ||
|
||
app.settings.toggle_blindsigning() | ||
app.assert_settings(expert_mode=True) | ||
|
||
app.settings.toggle_expert_mode() | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters