public void CreateTeam_Success()
        {
            // arrange
            var teamTitle = "Test team title";

            // act
            _teamsPage.ClickOnCreateTeamButton();
            _teamsPage.EnterTeamTitle(teamTitle);
            _teamsPage.SubmitTeam();

            // assert
            Assert.Equal(teamTitle, _teamsPage.GetTitleOfTeam(1));

            // clean up
            _teamsPageHelper.DeleteTeam();
        }
예제 #2
0
        public TeamsPageHelper CreateTeam()
        {
            string teamTitle = "test team";

            _teamsPage.ClickOnCreateTeamButton()
            .EnterTeamTitle(teamTitle)
            .SubmitTeam();

            return(this);
        }