Пример #1
0
        public void GivenIAccessTheAllProductsPageNumber(int pageNumber)
        {
            _commonStepHelper.AccessWebsite(pageNumber.ToString());
            //_site.InitialiseChromeDriver();

            //var url = _urlHelper.SetUrl(pageNumber.ToString());

            //_site.NavigateAndMaximise(url);

            //var currentUrl = _site.GetWebPageUrl();

            //var preReleaseMode = _preReleaseLoginHelper.IsWebsiteInPreReleaseMode(currentUrl);

            //_preReleaseLoginHelper.ByPassPreReleaseAndNavigateToPage(preReleaseMode, url);
        }
Пример #2
0
 public void GivenIAccessThePage(string informationalPage)
 {
     _commonStepHelper.AccessWebsite(informationalPage);
 }
Пример #3
0
 public void GivenIAccessTheCreateAccountPage()
 {
     _commonStepHelper.AccessWebsite("register");
     CookieOverlayActions.ClearCookieOverlay();
 }
Пример #4
0
 public void GivenIAccessTheLoginPage()
 {
     _commonStepHelper.AccessWebsite("login");
     CookieOverlayActions.ClearCookieOverlay();
 }
Пример #5
0
 public void GivenIAccessingThePage(string pageName)
 {
     _commonStepHelper.AccessWebsite(pageName);
 }
Пример #6
0
 public void GivenIAccessMyAccount()
 {
     _commonStepHelper.AccessWebsite("login");
     CookieOverlayActions.ClearCookieOverlay();
     _loginFormActions.LoginUserAccount(_credentials.ValidCredentials());
 }