public void ShouldCreateWithValidDetails() { EnterValidCredentials(); _createProjectPage.CreateProjectButton.Click(); var messageBox = MessageBoxUtil.GetSuccessMessageBox(MainWindow); Assert.NotNull(messageBox); MessageBoxUtil.ClickOKButton(messageBox); Assert.IsTrue(_userDashboardPage.IsCurrentPage()); _userDashboardPage.CreateProjectButton.Click(); Assert.IsTrue(_createProjectPage.IsCurrentPage()); }
public void OneTimeSetupProjectDashboardNonManagerActions() { _userDashboardPage = new UserDashboardPage(MainWindow); _projectDashboardPage = new ProjectDashboardPage(MainWindow); _createProjectPage = new CreateProjectPage(MainWindow); LoginPage.Login("*****@*****.**", "Aut0mation"); Assert.IsTrue(_userDashboardPage.IsCurrentPage()); _userDashboardPage.CreateProjectButton.Click(); Assert.IsTrue(_createProjectPage.IsCurrentPage()); }