public void ThenVerifyAccountSettingsPageContainsCorrectData() { ProfileSettings settings = sharedStorage.GetSharedInfo <ProfileSettings>(resourceTag); AccountSettingsPage accountSettings = new AccountSettingsPage(Driver, _appSettings, sharedStorage); accountSettings.AssertSettingDetailsData(settings); }
public void WhenIFillAccountSettingsFormWithData() { ProfileSettings settings = sharedStorage.GetSharedInfo <ProfileSettings>(ContextTag.SettingData); AccountSettingsPage accountSettings = new AccountSettingsPage(Driver, _appSettings, sharedStorage); accountSettings.FillSettingsForm(settings); }
public void Return_Default_Values_Password() { HomePage Home_page = new HomePage(); AccountSettingsPage Account_Settings = new AccountSettingsPage(); EditProfilePage Edit_Profile_page = new EditProfilePage(); Home_page.EditProfile(); Edit_Profile_page.AccountSettings(); Account_Settings.ReturnPassword(); }
private void App_CommandsRequested(SettingsPane sender, SettingsPaneCommandsRequestedEventArgs args) { SettingsCommand accountSetting = new SettingsCommand("Account", "Account", (x) => { var viewModel = Mvx.Resolve <AccountSettingsPageViewModel>(); var view = new AccountSettingsPage { DataContext = viewModel }; view.Show(); }); args.Request.ApplicationCommands.Add(accountSetting); SettingsCommand privacySetting = new SettingsCommand("Privacy", "Privacy Policy", this.OpenPrivacyPolicy); args.Request.ApplicationCommands.Add(privacySetting); }
public void WhenIClickIcon(string action) { AccountSettingsPage accountSettings = new AccountSettingsPage(Driver, _appSettings, sharedStorage); accountSettings.ClickSocialMediaIcons(action); }
public void ThenVerifyTheDeactiveAccountContentInDialogueBox() { AccountSettingsPage accountSettings = new AccountSettingsPage(Driver, _appSettings, sharedStorage); accountSettings.VerifyDeactivateAccountContent(); }
public void WhenIClickDeactivateAccountLink() { AccountSettingsPage accountSettings = new AccountSettingsPage(Driver, _appSettings, sharedStorage); accountSettings.ClickDeactivateLink(); }
public void WhenIClearAndInputValuesAndVerifyValidationMessages() { AccountSettingsPage accountSettings = new AccountSettingsPage(Driver, _appSettings, sharedStorage); accountSettings.CompareSettingsErrorMessages(); }
public void WhenDrawANewSignatureOnCanvas() { AccountSettingsPage accountSettings = new AccountSettingsPage(Driver, _appSettings, sharedStorage); accountSettings.DrawSignature(); }
public void WhenIUploadedAllTheRequiredPhotos() { AccountSettingsPage accountSettings = new AccountSettingsPage(Driver, _appSettings, sharedStorage); accountSettings.UploadPhotos(); }
public void WhenISelectPaymentPreferencesRadioButton(string option) { AccountSettingsPage accountSettings = new AccountSettingsPage(Driver, _appSettings, sharedStorage); accountSettings.SelectSettingsRadioBtn(option); }
public void WhenIClickLowerFooterLink(string action) { AccountSettingsPage accountSettings = new AccountSettingsPage(Driver, _appSettings, sharedStorage); accountSettings.ClickAboutLinks(action); }
public void Select_Logout() { AccountSettingsPage Account_Settings = new AccountSettingsPage(); Account_Settings.Logaut(); }
public void Change_Password_Save_Changes() { AccountSettingsPage Account_Settings = new AccountSettingsPage(); Account_Settings.ChangePassword(); }