public void AuthorizedUserNavigation()
        {
            using (IWebDriver driver = new ChromeDriver())
            {
                WebDriverWait wait            = new WebDriverWait(driver, TimeSpan.FromSeconds(3));
                var           loginPage       = new LoginPage(driver, wait);
                var           conferencesPage = new ConferencesPage(driver, wait);

                loginPage.NavigateTo();
                loginPage.Logoff();
                loginPage.Login(conferencesPage.AdminLogin, conferencesPage.AdminPassword);
                var helloMessageOrRegisterLink = loginPage.HelloMessageOrRegisterLink();
                Assert.Equal($"Hello {conferencesPage.AdminLogin}!", helloMessageOrRegisterLink);
                conferencesPage.EnsurePageLoaded();

                conferencesPage.WaitForPartialViewAndClickParticipatingUsersLink();
                Assert.Equal(ParticipatingUsersTitle, driver.Title);
                driver.Navigate().Back();

                conferencesPage.WaitForPartialViewAndClickCreateConfLink();
                Assert.Equal(CreateTitle, driver.Title);
                driver.Navigate().Back();

                conferencesPage.WaitForPartialViewAndClickDeleteLink();
                Assert.Equal(DeleteTitle, driver.Title);
                driver.Navigate().Back();

                conferencesPage.ClickCarouselNextButton();
                conferencesPage.SignInOnCarousel();
                Assert.Equal(SignUpTitle, driver.Title);
            }
        }
        public void UnauthorizedUserRedirection()
        {
            using (IWebDriver driver = new ChromeDriver())
            {
                WebDriverWait wait            = new WebDriverWait(driver, TimeSpan.FromSeconds(8));
                var           conferencesPage = new ConferencesPage(driver, wait);
                conferencesPage.NavigateTo();
                var loginPage = new LoginPage(driver, wait);
                loginPage.Logoff();

                conferencesPage.WaitForPartialViewAndClickParticipatingUsersLink();
                loginPage.EnsurePageLoaded();
                driver.Navigate().Back();

                conferencesPage.WaitForPartialViewAndClickCreateConfLink();
                loginPage.EnsurePageLoaded();
                driver.Navigate().Back();

                conferencesPage.WaitForPartialViewAndClickDeleteLink();
                loginPage.EnsurePageLoaded();
                driver.Navigate().Back();

                conferencesPage.ClickCarouselNextButton();
                conferencesPage.SignInOnCarousel();
                loginPage.EnsurePageLoaded();
            }
        }