public void BeforeTest() { _settlementMonitorRequest = new BetViewRequest(); _authorizationPage = new AuthorizationMonitor(); _settlementMonitorPage = new SettlementMonitorPage(); _settlenemtMonitorEventPage = new SettlenemtMonitorEventPage(); _playerHistoryPage = new PlayerHistoryPage(); _betsMonitorPage = new BetsMonitorPage(); }
public void BeforeTest() { _backOfficeLoginPage = new BackOfficeLoginPage(); _settlementMonitorPage = new SettlementMonitorEventTreePage(); _settlementMonitorEventPage = new SettlementMonitorEventPage(); _playerHistoryPage = new PlayerHistoryPage(); _betsMonitorPage = new BetsMonitorPage(); _betViewRequest = new BetViewRequest(); }
public void NavigateToPlayerHistoryFromBetsMonitor(string acceptTime, string playerId) { _betsMonitorPage = new BetsMonitorPage(); _betsMonitorPage .FilterBetsByAcceptTimeAndPlayerId(acceptTime, playerId) .NavigateToPlayerHistoryPage(); _playerHistoryPage = new PlayerHistoryPage(); Assert.AreEqual(playerId, _playerHistoryPage.GetPlayerId(), "Player ID does not match"); }
public void NavigateToPlayerHistoryFromSettlementMonitor(string eventsDate, string text, string betsDate, string betsAmountFrom, string betsAmountTo, string channel, string playerId) { _settlementMonitorPage = new SettlementMonitorPage(); _settlementMonitorPage .SelectDate(eventsDate) .SearchEventByText(text) .NavigateIntoEvent() .FilterBets(betsDate, betsAmountFrom, betsAmountTo, channel) .NavigateToPlayerHistoryPage(); _playerHistoryPage = new PlayerHistoryPage(); Assert.AreEqual(playerId, _playerHistoryPage.GetPlayerId(), "Player ID does not match"); }