Exemple #1
0
 public void Test_GroupFormFinishDateFieldIsEdit(string groupName, int location, bool budgetOwner, int direction, string startDate, string finishDate, string teacher, string experts)
 {
     groupsForm.setFinishDate(finishDate)
     .SubmitButton.Click();
     expectedResult = groupsForm.RememberGroup();
     Assert.IsTrue(table.FindRowInTable(expectedResult));
 }
Exemple #2
0
        public void Test_GroupFormFinishDateFieldIsNotEdit(string groupName, string startDate, string finishDate, string teacher, string experts)
        {
            groupsForm.setFinishDate(finishDate)
            .SubmitButton.Click();
            List <string> expectedResult = groupsForm.RememberGroup();

            Assert.IsFalse(table.FindRowInTable(expectedResult));
        }
Exemple #3
0
 public void Test_FinishDateFieldDisplayedText()
 {
     groupForm.setFinishDate("30.12.2018");
     Assert.AreEqual("2018-12-30", groupForm.FinishDate.GetAttribute("value"));
 }