/
Form.feature
62 lines (54 loc) · 1.71 KB
/
Form.feature
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
@form @ignore_for_firefox
Feature: Form
Scenario: fill Contact Form from json
Given I open "Contact Form Page"
When submit form "Contact Form" with "Roman Contacts"
Then the form "Contact Form" data equals to "Roman Contacts"
Scenario: fill Contact Form
Given I open "Contact Form Page"
When submit form "Contact Form" with data:
|firstName|Roman|
|lastName|Iovlev|
|position|ChiefQA|
|passportNumber|654321|
|passportSeria|1234|
|description|JDI - awesome UI automation tool|
|acceptConditions|true|
|gender|Female|
|religion|Other|
Then the form "Contact Form" data equals to:
|firstName|Roman|
|lastName|Iovlev|
|position|ChiefQA|
|passportNumber|654321|
|passportSeria|1234|
|description|JDI - awesome UI automation tool|
|acceptConditions|true|
|gender|Female|
|religion|Other|
Scenario: fill Contact Form Custom
Given I open "Contact Form Page"
When fill form "Contact Form" with data:
|firstName|Roman|
|lastName|Iovlev|
|position|ChiefQA|
|passportNumber|654321|
|passportSeria|1234|
|description|JDI - awesome UI automation tool|
|acceptConditions|true|
|gender|Female|
|religion|Other|
And submit form
Then the form "Contact Form" data equals to:
|firstName|Roman|
|lastName|Iovlev|
|position|ChiefQA|
|passportNumber|654321|
|passportSeria|1234|
|description|JDI - awesome UI automation tool|
|acceptConditions|true|
|gender|Female|
|religion|Other|
Scenario: is displayed
Given I open "Contact Form Page"
Then the "Contact Form" is displayed