public void AddingFirstTwoProductsToComparisonTest() { var productsPage = new ProductsPage(driver); productsPage.GoToPage(); productsPage.AddTwoProducts(); var comparisonPage = productsPage.GoToComparisonPage(); var productsAmount = comparisonPage.CountProudcts(); Assert.IsTrue(productsAmount == 2); }