public void VerifyIsCheckBoxTimeOutSelected(ResponsibleGamblingSection responsibleGamblingSection, PlayerInfoPage playerInfoPage, string playerUsername) { _playerManagerPage.SelectPlayer(playerUsername); _playerManagerPage.OpenPlayerInfoPage(); playerInfoPage.OpenResponsibleGamblingSection(); Assert.IsTrue(responsibleGamblingSection.IsCheckBoxTimeOutSelected()); }
public void OpenResponsibleGamblingSectionInPlayerInfoPage(ResponsibleGamblingSection responsibleGamblingSection, PlayerInfoPage playerInfoPage, string playerUsername) { _playerManagerPage = _dashboardPage.Menu.ClickPlayerManagerMenuItem(); _playerManagerPage.SelectPlayer(playerUsername); playerInfoPage = _playerManagerPage.OpenPlayerInfoPage(); responsibleGamblingSection = playerInfoPage.OpenResponsibleGamblingSection(); }
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"); }