示例#1
0
        public void ChangeProfileData()
        {
            KinopoiskHomePage homePage         = new KinopoiskHomePage(ConciseApi);
            RegistrationPage  registrationPage = homePage.GoToRegistartionPage();

            homePage = registrationPage.LoginWithCredentials <KinopoiskHomePage>(true);
            ProfilePage         profilePage         = homePage.GoToProfilePage();
            ProfileSettingsPage profileSettingsPage = profilePage.GoToProfileSettingsPage();

            profileSettingsPage.FillInFieldAndSave("test", ProfileSettingsPage.PageElements.AboutTextArea);

            Assert.AreEqual("test", profileSettingsPage.GetAboutText());
        }