Пример #1
0
        public void SetupTest()
        {
            LoginPage loginPage = new LoginPage(driver);
            homePage = loginPage.Login();

            select = homePage.SelectDataset();
            Assert.IsTrue(select.IsSelectDatasetSectionShown(), "Select Dataset list should be available");
        }
Пример #2
0
        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");
        }
Пример #3
0
        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();
        }