Example #1
0
        public void CheckCoursesLabel()
        {
            MainPageModel mainPageModel = new MainPageModel(driver);

            base.driver.Url = Urls.mainPage;
            string actRes = mainPageModel.FindCoursesMenuButton()
                            .ClickOnCourseButton()
                            .FindCoursesLabel()
                            .GetTextFromMainLabel();

            Assert.AreEqual("Наши курсы", actRes);
        }