Esempio n. 1
0
        public void TimetableShouldNotExistForNonexistingOrDuplicateGroups(string group)
        {
            var timetablePage = new TimetablePage(new ChromeDriver(Path.GetDirectoryName(Assembly.GetExecutingAssembly().Location)), false);

            bool isTimetableFound = timetablePage.FindGroupTimetableInGroupsListMenu(group);

            Assert.IsFalse(isTimetableFound);
        }
Esempio n. 2
0
        public void TimetableShouldExistForGroup6313()
        {
            var timetablePage = new TimetablePage(new ChromeDriver(Path.GetDirectoryName(Assembly.GetExecutingAssembly().Location)), false);
            var group         = "6313";

            bool isTimetableFound = timetablePage.FindGroupTimetableInGroupsListMenu(group);

            Assert.IsTrue(isTimetableFound);
        }