Beispiel #1
0
 public void SubmitFilledForm()
 {
     var taskPage = new Task8(this.Driver);
     taskPage.FillForm("American Express", "Kowalski", "378282246310005", "123", "January", "2016");
     taskPage.Submit();
     Assert.True(taskPage.Contains("Zamówienie opłacone"));
 }
Beispiel #2
0
 public void SubmitEmptyForm()
 {
     var taskPage = new Task8(this.Driver);
     taskPage.Submit();
     Assert.True(taskPage.Contains("Zapłać"));
 }