public void SetupTest() { LoginPage loginPage = new LoginPage(driver); homePage = loginPage.Login(); select = homePage.SelectDataset(); Assert.IsTrue(select.IsSelectDatasetSectionShown(), "Select Dataset list should be available"); }
public void SetupTest() { LoginPage loginPage = new LoginPage(driver); homePage = loginPage.Login(); newDataset = homePage.SelectDataset().ClickNew(); Assert.IsTrue(newDataset.IsNewDatasetSectionShown(), "New Dataset creation should be available"); }
public void shouldLogin() { homePage = loginPage.Login(); Assert.IsTrue(homePage.SelectDataset().IsSelectDatasetSectionShown(), "Datasets selection should be available"); Assert.AreEqual(validCredentials, homePage.Footer().GetUsername(), "Wrong username"); homePage.Footer().ClickLogout(); }