Ejemplo n.º 1
0
        public void ShouldSetUserInTeamAsScrumMaster()
        {
            WPFListItem teamMemberListItem = _projectDashboardPage.GetTeamMemberListItem("e2eForename6 e2eSurname6");

            Assert.NotNull(teamMemberListItem);

            teamMemberListItem.RightClick();
            _projectDashboardPage.GetSetScrumMasterContextMenuItem(MainWindow).Click();

            Assert.NotNull(_projectDashboardPage.GetScrumMasterListItem("e2eForename6 e2eSurname6"));
        }
Ejemplo n.º 2
0
        public void ShouldRemoveUserFromScrumMasters()
        {
            WPFListItem scrumMasterListItem = _projectDashboardPage.GetScrumMasterListItem("e2eForename5 e2eSurname5");

            Assert.NotNull(scrumMasterListItem);

            scrumMasterListItem.RightClick();
            _projectDashboardPage.GetRemoveScrumMasterContextMenuItem(MainWindow).Click();

            Assert.Null(_projectDashboardPage.GetScrumMasterListItem("e2eForename5 e2eSurname5"));
        }
Ejemplo n.º 3
0
        public void ShouldSetUserInTeamAsProductOwner()
        {
            WPFListItem teamMemberListItem = _projectDashboardPage.GetTeamMemberListItem("e2eForename4 e2eSurname4");

            Assert.NotNull(teamMemberListItem);

            teamMemberListItem.RightClick();
            _projectDashboardPage.GetSetProductOwnerContextMenuItem(MainWindow).Click();

            Assert.AreEqual("e2eForename4 e2eSurname4", _projectDashboardPage.ProductOwnerNameTextBlock.Text);
        }
Ejemplo n.º 4
0
        public void ShouldSuccessfullyCreateASprint()
        {
            EnterValidCredentials();

            string sprintName = _createSprintPage.SprintNameTextBox.Text;

            _createSprintPage.CreateButton.Click();

            var messageBox = MessageBoxUtil.GetSuccessMessageBox(MainWindow);

            Assert.NotNull(messageBox);
            MessageBoxUtil.ClickOKButton(messageBox);

            Assert.IsTrue(_manageSprintsPage.IsCurrentPage());

            WPFListItem sprintListItem = _manageSprintsPage.GetSprintListItem(sprintName);

            Assert.NotNull(sprintListItem);

            _manageSprintsPage.CreateSprintButton.Click();
        }
 public Button GetViewDetailsForUserStoryListItem(WPFListItem listItem)
 {
     return(listItem.Get <Button>("ViewStoryDetailsButton"));
 }
 public Image ProductOwnerIcon(WPFListItem listItem)
 {
     return(listItem.Get <Image>("TeamMemberListProductOwnerIcon"));
 }
 public Image ScrumMaserIcon(WPFListItem listItem)
 {
     return(listItem.Get <Image>("TeamMemberListScrumMasterIcon"));
 }
 public Image DeveloperIcon(WPFListItem listItem)
 {
     return(listItem.Get <Image>("TeamMemberListDeveloperIcon"));
 }
 public Image ManagerIcon(WPFListItem listItem)
 {
     return(listItem.Get <Image>("TeamMemberListManagerIcon"));
 }