示例#1
0
        public void AddNewSkill()
        {
            IdentityAPI.SigninAs(Role.talent);
            ProfilePage.Open();
            var skill = new Skill();

            ProfilePage.Skills.AddNewSkill(skill);
            Assert.IsTrue(ProfilePage.Skills.IsAdded(skill));
        }
示例#2
0
        public void DeleteSkill()
        {
            IdentityAPI.SigninAs(Role.talent);
            var skill = new Skill();

            TalentAPI.PostSkill(skill);
            ProfilePage.Open();
            ProfilePage.Skills.DeleteSkill(skill);
            Assert.IsTrue(ProfilePage.Skills.IsDeleted(skill));
        }