Last active
September 9, 2018 09:56
-
-
Save bezysoftware/53b04664605052028e1020916b77d01a to your computer and use it in GitHub Desktop.
This file contains hidden or 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
| private async Task LoginAsync(string lng) | |
| { | |
| // skip onboarding | |
| Keyboard.SendKeys("{Escape}"); | |
| // set locale | |
| this.UIMap.UISettleUpWindow.LocaleTextBox.Text = lng; | |
| // email login | |
| var email = $"screenshots-{lng}@settleup.io"; | |
| Gesture.Tap(this.UIMap.UISettleUpWindow.EmailLoginButton); | |
| this.UIMap.UISettleUpWindow.Dialog.EmailLoginTextBox.Text = email; | |
| Gesture.Tap(this.UIMap.UISettleUpWindow.Popup.EmailLoginSubmit); | |
| this.UIMap.UISettleUpWindow.EmailLoginPasswordBox.Text = "secret-password"; | |
| Gesture.Tap(this.UIMap.UISettleUpWindow.EmailLoginPasswordSubmit); | |
| this.UIMap.UISettleUpWindow.RightPivot.TransactionsPivotItem.ExpensesList.ExpenseItem.WaitForControlExist(20000); | |
| // wait till app loads | |
| await Task.Delay(5000); | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment