Example #1
0
        public void _301_FirstLoginMonthViewIsSelected()
        {
            Login();
            CalendarPage calendar = new CalendarPage(_driver);

            calendar.IsDisplayed();
            Assert.AreEqual(calendar.GetCurrentMonth(), calendar.CalendarTitle.Text);
        }
        public void Menu_001_Calendar()
        {
            var _menu = new MainMenuPage(_driver);

            Assert.IsTrue(_menu.MenuContainer.Displayed);

            _menu.CalendarTabBtn.Click();
            SwitchToContent();
            var _calendarPage = new CalendarPage(_driver);

            _calendarPage.WaitElementIsShown(_calendarPage.NewAppointmentBtn);
            Assert.IsTrue(_calendarPage.IsDisplayed());
        }