Esempio n. 1
0
        public void WhenIHaveClickedOnTheCreateButtonAndFilledAllTheInformationInTheForm()
        {
            // click the "create" button
            TimeMaterialCreatePage timeMaterialCreatePage = new TimeMaterialCreatePage(driver);

            timeMaterialCreatePage.createNew();


            // create a new time&material row
            TimeMaterialPage timeMaterialPage = new TimeMaterialPage(driver);

            timeMaterialPage.fill_in(driver);
        }
Esempio n. 2
0
        public void TimeCreateTest()
        {
            // go to navigation bar
            NavigationPage navigationPage = new NavigationPage(driver);

            navigationPage.admin_menu();
            navigationPage.time_materials_menu();

            // click the "create" button
            TimeMaterialCreatePage timeMaterialCreatePage = new TimeMaterialCreatePage(driver);

            timeMaterialCreatePage.createNew();


            // create a new time&material row
            TimeMaterialPage timeMaterialPage = new TimeMaterialPage(driver);

            timeMaterialPage.fill_in(driver);
            timeMaterialPage.save();
        }