Created
September 9, 2018 09:28
-
-
Save bezysoftware/43d7d2e2d893133ef8cc553ab8d8ac77 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
| [TestMethod] public async Task LoginAndTakeScreenshotsFiAsync() => await this.LoginAndTakeScreenshotsAsync("cs-CZ"); | |
| [TestMethod] public async Task LoginAndTakeScreenshotsDeAsync() => await this.LoginAndTakeScreenshotsAsync("de"); | |
| //... other languages | |
| public async Task LoginAndTakeScreenshotsAsync(string lng) | |
| { | |
| var window = XamlWindow.Launch("app-automation-id"); | |
| // 1) main screen | |
| await this.LoginAsync(lng, email); | |
| this.Screenshot(1, lng); | |
| // 2) edit tx dialog | |
| this.OpenTransactionDialog(); | |
| this.Screenshot(2, lng); | |
| // 3) simple split | |
| await this.SimpleSplitAsync(); | |
| this.Screenshot(3, lng); | |
| // 4) simple split | |
| await this.HideDialogAsync(); | |
| await this.EditGroupAsync(); | |
| this.Screenshot(4, lng); | |
| // 5) member detail | |
| await this.HideDialogAsync(); | |
| await this.MemberDetailAsync(); | |
| this.Screenshot(5, lng); | |
| // logout | |
| await this.HideDialogAsync(); | |
| this.Logout(); | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment