public void WhenIGetToAParticularMatchPage(string team1, string team2, int score1, int score2) { match.MatchInfo = new MatchInfo(team1, team2, score1, score2); var actualMatchInfo = new ChampionshipPage().ScoreBoard.GetMatchInfo(match.MatchInfo.GetTeams); Assert.AreEqual(match.MatchInfo, actualMatchInfo); new ChampionshipPage().GoToMatchInfoPage(); }
public void ThenGoToPageWhereTheTeamsAndDetailsOfMatch(string actualFirstTeam, string actualSecondTeam) { ChampionshipPage championshipPage = new ChampionshipPage(DriverInstance.Current); championshipPage.ClickLinkOfMatch(actualFirstTeam, actualSecondTeam); }
public void WhenChooseThePeriodInWhichTheMatchTookPlace(string dateOfMatch) { ChampionshipPage championshipPage = new ChampionshipPage(DriverInstance.Current); championshipPage.ChoosePeriodMonthAndYear(dateOfMatch); }