| | 46 | [Test] |
| | 47 | [Category("UI")] |
| | 48 | public void AmountIsZeroReturnZlyHash() |
| | 49 | { |
| | 50 | const string test = "test"; |
| | 51 | var ie = new IE("http://localhost:3646/pl/Account/LogOn"); |
| | 52 | ie.TextField(Find.ByName("numerFaktury")).TypeText("1/SLJ/2009"); |
| | 53 | ie.TextField(Find.ByName("nip")).TypeText("9730727417"); |
| | 54 | ie.Button(Find.ById("loguj")).Click(); |
| | 55 | |
| | 56 | ie.TextField(Find.ByName("Payer.FirstName")).TypeText(test); |
| | 57 | ie.TextField(Find.ByName("Payer.LastName")).TypeText(test); |
| | 58 | ie.Button(Find.ById("place")).Click(); |
| | 59 | Assert.IsTrue(ie.ContainsText("Wystąpił nieoczekiwany błąd")); |
| | 60 | |
| | 61 | } |