Exemplo 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);
        }
Exemplo 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);
        }