Exemple #1
0
        public void CheckUserDetails_TechnologySkill()
        {
            _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();

            _profile.Logout();
            _users.GoToUsers();

            Assert.True(_users.CheckOwnerCount("5", "*****@*****.**"));
            Assert.True(_users.CheckMemberCount("0", "*****@*****.**"));
            Assert.True(_users.CheckBeginnerCount("1", "*****@*****.**"));
            Assert.True(_users.CheckAdvancedCount("1", "*****@*****.**"));
            Assert.True(_users.CheckExpertCount("1", "*****@*****.**"));
        }
Exemple #2
0
        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"));
        }