예제 #1
0
        public void ThenVerifyAccountSettingsPageContainsCorrectData()
        {
            ProfileSettings     settings        = sharedStorage.GetSharedInfo <ProfileSettings>(resourceTag);
            AccountSettingsPage accountSettings = new AccountSettingsPage(Driver, _appSettings, sharedStorage);

            accountSettings.AssertSettingDetailsData(settings);
        }
예제 #2
0
        public void WhenIFillAccountSettingsFormWithData()
        {
            ProfileSettings     settings        = sharedStorage.GetSharedInfo <ProfileSettings>(ContextTag.SettingData);
            AccountSettingsPage accountSettings = new AccountSettingsPage(Driver, _appSettings, sharedStorage);

            accountSettings.FillSettingsForm(settings);
        }
예제 #3
0
        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();
        }
예제 #4
0
        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);
        }
예제 #5
0
        public void WhenIClickIcon(string action)
        {
            AccountSettingsPage accountSettings = new AccountSettingsPage(Driver, _appSettings, sharedStorage);

            accountSettings.ClickSocialMediaIcons(action);
        }
예제 #6
0
        public void ThenVerifyTheDeactiveAccountContentInDialogueBox()
        {
            AccountSettingsPage accountSettings = new AccountSettingsPage(Driver, _appSettings, sharedStorage);

            accountSettings.VerifyDeactivateAccountContent();
        }
예제 #7
0
        public void WhenIClickDeactivateAccountLink()
        {
            AccountSettingsPage accountSettings = new AccountSettingsPage(Driver, _appSettings, sharedStorage);

            accountSettings.ClickDeactivateLink();
        }
예제 #8
0
        public void WhenIClearAndInputValuesAndVerifyValidationMessages()
        {
            AccountSettingsPage accountSettings = new AccountSettingsPage(Driver, _appSettings, sharedStorage);

            accountSettings.CompareSettingsErrorMessages();
        }
예제 #9
0
        public void WhenDrawANewSignatureOnCanvas()
        {
            AccountSettingsPage accountSettings = new AccountSettingsPage(Driver, _appSettings, sharedStorage);

            accountSettings.DrawSignature();
        }
예제 #10
0
        public void WhenIUploadedAllTheRequiredPhotos()
        {
            AccountSettingsPage accountSettings = new AccountSettingsPage(Driver, _appSettings, sharedStorage);

            accountSettings.UploadPhotos();
        }
예제 #11
0
        public void WhenISelectPaymentPreferencesRadioButton(string option)
        {
            AccountSettingsPage accountSettings = new AccountSettingsPage(Driver, _appSettings, sharedStorage);

            accountSettings.SelectSettingsRadioBtn(option);
        }
예제 #12
0
        public void WhenIClickLowerFooterLink(string action)
        {
            AccountSettingsPage accountSettings = new AccountSettingsPage(Driver, _appSettings, sharedStorage);

            accountSettings.ClickAboutLinks(action);
        }
예제 #13
0
        public void Select_Logout()
        {
            AccountSettingsPage Account_Settings = new AccountSettingsPage();

            Account_Settings.Logaut();
        }
예제 #14
0
        public void Change_Password_Save_Changes()
        {
            AccountSettingsPage Account_Settings = new AccountSettingsPage();

            Account_Settings.ChangePassword();
        }