public void ShouldSetUserInTeamAsScrumMaster() { WPFListItem teamMemberListItem = _projectDashboardPage.GetTeamMemberListItem("e2eForename6 e2eSurname6"); Assert.NotNull(teamMemberListItem); teamMemberListItem.RightClick(); _projectDashboardPage.GetSetScrumMasterContextMenuItem(MainWindow).Click(); Assert.NotNull(_projectDashboardPage.GetScrumMasterListItem("e2eForename6 e2eSurname6")); }
public void ShouldRemoveUserFromScrumMasters() { WPFListItem scrumMasterListItem = _projectDashboardPage.GetScrumMasterListItem("e2eForename5 e2eSurname5"); Assert.NotNull(scrumMasterListItem); scrumMasterListItem.RightClick(); _projectDashboardPage.GetRemoveScrumMasterContextMenuItem(MainWindow).Click(); Assert.Null(_projectDashboardPage.GetScrumMasterListItem("e2eForename5 e2eSurname5")); }
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); }