public void PageBar_ItemsPerPageSetMaxMinValue_Test_2() { using (var driver = new ChromeDriver()) { /* Initialization */ var wait = new WebDriverWait(driver, TimeSpan.FromSeconds(60)); driver.Manage().Window.Maximize(); driver.Navigate().GoToUrl("https://tms.lionbridge.com/"); string projectTitle = "Qlik"; ProjectsPage testPage = new ProjectsPage(driver, projectTitle); testPage.ClickChosenProject(); ParticularProjectPage testProjectPage = new ParticularProjectPage(driver); testProjectPage.StatusClick(driver); StatusPage testStatusPage = new StatusPage(driver); PageBar testPageBar = new PageBar(driver); /* Set of assertions */ Assert.IsTrue(testPageBar.IsParsingCorrect); Assert.AreEqual(0, testPageBar.ItemsPerPageOptionsContainerIsDisplayed); Assert.AreEqual("250", testPageBar.ItemsPerPageCurrentSelection); testPageBar.ItemsPerPageSetMinimalValue(driver); testPageBar = new PageBar(driver); Assert.AreEqual(0, testPageBar.ItemsPerPageOptionsContainerIsDisplayed); Assert.AreEqual("25", testPageBar.ItemsPerPageCurrentSelection); } }