-
Notifications
You must be signed in to change notification settings - Fork 79
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Vladimir Druzhinin
committed
Apr 27, 2023
1 parent
5a6daf2
commit 25ad8d4
Showing
30 changed files
with
221 additions
and
223 deletions.
There are no files selected for viewing
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
24 changes: 21 additions & 3 deletions
24
test/ui-test/testSuites/suite_onboarding/shared/steps/steps.py
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,7 +1,25 @@ | ||
from screens.StatusWelcomeScreen import StatusWelcomeScreen | ||
from pathlib import Path | ||
import sys | ||
from screens.StatusWelcomeScreen import CreatePasswordView | ||
|
||
_welcome_screen = CreatePasswordView() | ||
|
||
|
||
@When('the user inputs the password \"|any|\"') | ||
def step(context, password): | ||
_welcome_screen.new_password = str(password) | ||
|
||
_welcomeScreen = StatusWelcomeScreen() | ||
|
||
@Then("the password strength indicator is \"|any|\"") | ||
def step(context, strength): | ||
_welcomeScreen.validate_password_strength(strength) | ||
fp = Path(__file__).resolve().parent.parent / 'shared' / 'verificationPoints' / sys.platform / f'{strength}.png' | ||
|
||
# # saved it for updating expected results | ||
# import time | ||
# time.sleep(10) | ||
# fp.parent.mkdir(exist_ok=True, parents=True) | ||
# _welcome_screen.password_strength_indicator.save(str(fp)) | ||
|
||
_welcome_screen.is_password_strength_indicator_equal(str(fp)) | ||
|
||
|
10 changes: 0 additions & 10 deletions
10
...-test/testSuites/suite_onboarding/shared/verificationPoints/VP-PWStrength-lower_very_weak
This file was deleted.
Oops, something went wrong.
10 changes: 0 additions & 10 deletions
10
...ites/suite_onboarding/shared/verificationPoints/VP-PWStrength-numbers_symbols_lower_so-so
This file was deleted.
Oops, something went wrong.
10 changes: 0 additions & 10 deletions
10
...suite_onboarding/shared/verificationPoints/VP-PWStrength-numbers_symbols_lower_upper_good
This file was deleted.
Oops, something went wrong.
10 changes: 0 additions & 10 deletions
10
...uite_onboarding/shared/verificationPoints/VP-PWStrength-numbers_symbols_lower_upper_great
This file was deleted.
Oops, something went wrong.
10 changes: 0 additions & 10 deletions
10
.../testSuites/suite_onboarding/shared/verificationPoints/VP-PWStrength-numbers_symbols_weak
This file was deleted.
Oops, something went wrong.
10 changes: 0 additions & 10 deletions
10
...est/testSuites/suite_onboarding/shared/verificationPoints/VP-PWStrength-numbers_very_weak
This file was deleted.
Oops, something went wrong.
10 changes: 0 additions & 10 deletions
10
...est/testSuites/suite_onboarding/shared/verificationPoints/VP-PWStrength-symbols_very_weak
This file was deleted.
Oops, something went wrong.
10 changes: 0 additions & 10 deletions
10
...-test/testSuites/suite_onboarding/shared/verificationPoints/VP-PWStrength-upper_very_weak
This file was deleted.
Oops, something went wrong.
Binary file added
BIN
+2.67 KB
test/ui-test/testSuites/suite_onboarding/shared/verificationPoints/darwin/good.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
+2.46 KB
.../ui-test/testSuites/suite_onboarding/shared/verificationPoints/darwin/great.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
+2.63 KB
.../ui-test/testSuites/suite_onboarding/shared/verificationPoints/darwin/so-so.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
+4.04 KB
...test/testSuites/suite_onboarding/shared/verificationPoints/darwin/very_weak.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
+2.88 KB
test/ui-test/testSuites/suite_onboarding/shared/verificationPoints/darwin/weak.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
+1.17 KB
test/ui-test/testSuites/suite_onboarding/shared/verificationPoints/linux/good.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
+1.13 KB
test/ui-test/testSuites/suite_onboarding/shared/verificationPoints/linux/great.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
+1.05 KB
test/ui-test/testSuites/suite_onboarding/shared/verificationPoints/linux/so-so.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
+1.52 KB
...-test/testSuites/suite_onboarding/shared/verificationPoints/linux/very_weak.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
+1.09 KB
test/ui-test/testSuites/suite_onboarding/shared/verificationPoints/linux/weak.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
Oops, something went wrong.