Ejemplo n.º 1
0
 public void BeforeTest()
 {
     _settlementMonitorRequest   = new BetViewRequest();
     _authorizationPage          = new AuthorizationMonitor();
     _settlementMonitorPage      = new SettlementMonitorPage();
     _settlenemtMonitorEventPage = new SettlenemtMonitorEventPage();
     _playerHistoryPage          = new PlayerHistoryPage();
     _betsMonitorPage            = new BetsMonitorPage();
 }
Ejemplo n.º 2
0
 public void BeforeTest()
 {
     _backOfficeLoginPage        = new BackOfficeLoginPage();
     _settlementMonitorPage      = new SettlementMonitorEventTreePage();
     _settlementMonitorEventPage = new SettlementMonitorEventPage();
     _playerHistoryPage          = new PlayerHistoryPage();
     _betsMonitorPage            = new BetsMonitorPage();
     _betViewRequest             = new BetViewRequest();
 }
Ejemplo n.º 3
0
        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");
        }
Ejemplo n.º 4
0
        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");
        }