Skip to content

Commit

Permalink
Add testcase for password input
Browse files Browse the repository at this point in the history
Co-authored-by: TillB <[email protected]>
Co-authored-by: rgwohlbold <[email protected]>
  • Loading branch information
3 people committed May 21, 2022
1 parent 68c037c commit 8d38e24
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
testing
testEnteringPasswordOpensTelegram

| inputField authenticationWindow |
| passwordField authenticationWindow |
authenticationWindow := self subject currentWindow.
authenticationWindow
showPhoneNumberStep;
showAuthCodeStep;
showAuthPasswordStep.
inputField := (self subject findByClass: TextMorph) findByCriteria: [:textMorph | textMorph isLocked not and: textMorph visible].
inputField sendKeys: '934505'.
passwordField := (self subject findByClass: TextMorph) findByCriteria: [:textMorph | textMorph isLocked not and: textMorph visible].
passwordField sendKeys: '934505'.
self assertReading: '934505' in: self subject.
authenticationWindow logInCompleted.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"instance" : {
"setUp" : "RS 7/17/2021 12:56",
"testEnteringCodeOpensTelegram" : "aka 5/21/2022 13:02",
"testEnteringPasswordOpensTelegram" : "aka 5/21/2022 13:02",
"testEnteringPasswordOpensTelegram" : "aka 5/21/2022 14:01",
"testEnteringPhoneNumberAsksForCode" : "aka 5/21/2022 13:29",
"testPressCancelOnAuthCode" : "aka 5/21/2022 13:51",
"testPressCancelOnAuthPassword" : "aka 5/21/2022 13:50",
Expand Down

0 comments on commit 8d38e24

Please sign in to comment.