Exemplo n.º 1
0
 public void VerifyIsCheckBoxTimeOutSelected(ResponsibleGamblingSection responsibleGamblingSection, PlayerInfoPage playerInfoPage, string playerUsername)
 {
     _playerManagerPage.SelectPlayer(playerUsername);
     _playerManagerPage.OpenPlayerInfoPage();
     playerInfoPage.OpenResponsibleGamblingSection();
     Assert.IsTrue(responsibleGamblingSection.IsCheckBoxTimeOutSelected());
 }
Exemplo n.º 2
0
 public void OpenResponsibleGamblingSectionInPlayerInfoPage(ResponsibleGamblingSection responsibleGamblingSection, PlayerInfoPage playerInfoPage, string playerUsername)
 {
     _playerManagerPage = _dashboardPage.Menu.ClickPlayerManagerMenuItem();
     _playerManagerPage.SelectPlayer(playerUsername);
     playerInfoPage             = _playerManagerPage.OpenPlayerInfoPage();
     responsibleGamblingSection = playerInfoPage.OpenResponsibleGamblingSection();
 }
Exemplo n.º 3
0
 public void UnselectedCheckBoxTimeOutAndVerify(ResponsibleGamblingSection responsibleGamblingSection, PlayerInfoPage playerInfoPage)
 {
     responsibleGamblingSection.UnSelectedCheckBoxTimeOut();
     responsibleGamblingSection.CloseTab("Player Info");
     _playerManagerPage.OpenPlayerInfoPage();
     playerInfoPage.OpenResponsibleGamblingSection();
     Assert.IsFalse(responsibleGamblingSection.IsCheckBoxTimeOutSelected());
     responsibleGamblingSection.CloseTab("Player Info");
 }