public void CheckAddingSkill() { _profile.LoginOwner(); _profile.GoToUsers(); _users.ClickOnUser("*****@*****.**"); _profile.SelectTechnology(6); _profile.SelectSkillLevel(1); _profile.ClickOnAdd(); _profile.SelectTechnology(1); _profile.SelectSkillLevel(2); _profile.ClickOnAdd(); _profile.SelectTechnology(3); _profile.SelectSkillLevel(3); _profile.ClickOnAdd(); Assert.True(_profile.HowManySkills() == 3); Assert.True(_profile.CheckUserNameInHeader("*****@*****.**")); Assert.True(_profile.CheckNameOfSkill("Java")); Assert.True(_profile.CheckLevelOfSkill("Java", "Beginner")); Assert.True(_profile.CheckNameOfSkill("Angular")); Assert.True(_profile.CheckLevelOfSkill("Angular", "Advanced")); Assert.True(_profile.CheckNameOfSkill("C")); Assert.True(_profile.CheckLevelOfSkill("C", "Expert")); }
public void CheckLinksToProfile() { _users.GoToUsers(); _users.ClickOnUser("*****@*****.**"); Assert.True(_users.IsOnPage_Profile()); Assert.True(_profile.CheckUserNameInHeader("*****@*****.**")); }