Beispiel #1
0
        public static void FillNewProjectInformation(ProjectModel newProject)
        {
            var createProjectPage = new CreateProjectPage();

            createProjectPage.FillProjectName(newProject.name);
            createProjectPage.FillProjectStatus(newProject.status);
            createProjectPage.FillViewState(newProject.viewState);
            createProjectPage.FillProjectDescription(newProject.description);
        }
        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());
        }
        public void WhenClicarParaCriarUmNovoProjeto()
        {
            var createProjectPage = new CreateProjectPage();

            createProjectPage.ClickAddProject();
        }