Example #1
0
 public SeniorityPageHelper(IWebDriver driver) : base(driver)
 {
     _seniorityPage  = new SenioritiesPage(Driver);
     _useCasePage    = new UseCasePage(Driver);
     _technologyPage = new TechnologiesPage(Driver);
     wait            = new WebDriverWait(Driver, TimeSpan.FromSeconds(5));
 }
        public SenioritiesRelatedScenarios() : base()
        {
            _seniorityPageHelper   = new SeniorityPageHelper(Driver);
            _seniorityPage         = new SenioritiesPage(Driver);
            _dashboardPage         = new DashboardPage(Driver);
            _playgroundPage        = new PlaygroundPage(Driver);
            _playgroundPageHelpers = new PlaygroudPageHelpers(Driver);

            var homePage = LoginHelper.LoginAsStandardUser();

            _dashboardPage = homePage.MainNavigation.NavigateToDashboardPage().ClickOnPlaygroundCard();
            _playgroundPage.NavigateToSenioritiesPage();
        }