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"); }