public void Create_CandidateDirectories(SimpleString directories)
        {
            //добавление новой папки
            app.hiringHelper.createCandidateDirectories(directories);

            Assert.AreEqual(directories.value,app.hiringHelper.getDirectoryName());
        }
 public void Compare_Image_WorkHistory(SimpleString workHistoryType)
 {
     //клик по кнопке добавления
     app.employeeHelper.openNewWorkInfoPopup(workHistoryType.value);
     //Проверка соответствия скриншотов
     Assert.IsTrue(app.screenHelper.NewWorkInfoPopupScreen(workHistoryType.value));
 }
 public void Compare_Image_Documents(SimpleString docType)
 {
     //клик по кнопке добавления
     app.userHelper.clickAddButton();
     app.employeeHelper.openNewDocumentsPopup(docType.value);
     //Проверка соответствия скриншотов
     Assert.IsTrue(app.screenHelper.NewDocumentPopupScreen(docType.value));
 }
 public void Compare_Image_NewTimeOff(SimpleString timeofftype)
 {
     //клик по кнопке добавления
     app.userHelper.clickNewTimeOffsButton();
     //выбор типа отпуска
     app.timeoffHelper.selectType(timeofftype.value);
     //Проверка скриншота
     Assert.IsTrue(app.screenHelper.NewTimeOffPopupScreen(timeofftype.value));
 }
        public void createCandidateDirectories(SimpleString directories)
        {
            pages.candidatePage.ensurePageLoaded();

            pages.candidatePage.setDirectoryName(directories.value);
            //секунда ожидания для создания папки
            pages.newCandidatePopup.waitSecond();
        }