コード例 #1
0
        public void Manager_Can_Rate_TeamMembers_Goal_Below()
        {
            HomePage homePage = new HomePage(browser);

            GoalsPage        goalsPage        = new GoalsPage(browser);
            GoalDetailsPage  goalDetailsPage  = new GoalDetailsPage(browser);
            TeamPage         teamPage         = new TeamPage(browser);
            ActivityFeedPage activityFeedPage = new ActivityFeedPage(browser);

            homePage.GoTo();
            var teamsRatedGoalsBefore = homePage.GetRatedTeamsGoalsCount();

            teamPage.GoTo();
            teamPage.SelectTeamMember();
            goalsPage.SelectUnratedGoal();
            goalsPage.Rate(Rating.Below, "Manager's rating below expectation");
            activityFeedPage.ExpandActivityFeed();
            activityFeedPage.CheckNewUpdates();

            Assert.AreEqual("You rated their goal", activityFeedPage.GetFirstCardAction());
            Assert.AreEqual(goalDetailsPage.Title, activityFeedPage.GetFirstCardTitle());

            homePage.GoTo();
            var teamsRatedGoalsAfter = homePage.GetRatedTeamsGoalsCount();

            Assert.AreEqual(teamsRatedGoalsBefore + 1, teamsRatedGoalsAfter);

            activityFeedPage.CloseActivityFeed();
        }
コード例 #2
0
        public void Manager_Can_Request_Internal_360Feedback()
        {
            TeamPage teamPage = new TeamPage(browser);

            teamPage.GoTo();
            teamPage.SelectTeamMember();
            teamPage.GoTo360FeedbackSection();
            //teamPage.SendInternal360FeedbackRequest();
        }