-
Notifications
You must be signed in to change notification settings - Fork 0
/
calabash calc.txt
52 lines (46 loc) · 1.28 KB
/
calabash calc.txt
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
Features: Calculation
As a User I should be able to perform calculations
Scenario: Add numbers
When I press "alButton1"
Then I see in "alTextBox" 1
Then I press "alButtonAdd"
And I see empty "alTextBox1"
Then I press "alButton2"
Then I see in "alTextBox" 2
When I press "alButtonRes"
Then I see in "alTextBox" result 3
Then I press "alButtonClear"
And I see empty "alTextBox"
Scenario: Substrucr numbers
When I press "alButton5"
Then I see in "alTextBox" 5
Then I press "alButtonSub"
And I see empty "alTextBox1"
Then I press "alButton2"
Then I see in "alTextBox" 2
When I press "alButtonRes"
Then I see in "alTextBox" result 3
Then I press "alButtonClear"
And I see empty "alTextBox"
Scenario: Multyply numbers
When I press "alButton2"
Then I see in "alTextBox" 2
Then I press "alButtonMult"
And I see empty "alTextBox1"
Then I press "alButton2"
Then I see in "alTextBox" 2
When I press "alButtonRes"
Then I see in "alTextBox" result 4
Then I press "alButtonClear"
And I see empty "alTextBox"
Scenario: Division numbers
When I press "alButton6"
Then I see in "alTextBox" 6
Then I press "alButtonDiv"
And I see empty "alTextBox1"
Then I press "alButton3"
Then I see in "alTextBox" 3
When I press "alButtonRes"
Then I see in "alTextBox" result 2
Then I press "alButtonClear"
And I see empty "alTextBox"