calabash-cucumber-ios-cn 0.0.2 → 0.0.3
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
ZDk5Y2QzNDQ2NDJmOGFhY2FmM2Q1ZmI1YzhjNmQ3MmU3N2M5MWM1Ng==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
YTRhNjMxMmJiM2UwMzhlYjBlYjhlNjkyODdhYjg0OGFhMGMxYzQzZQ==
|
7
7
|
SHA512:
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
Mzg2MTUxYmMxODU0ZDQ4NGYyNDcwMDA2ZGVjYmJkM2NiMjg3ZWMyMGQyNzc3
|
10
|
+
Yzk3Y2MyMDRhYjYwMDYyZTE3MDVmNzZkYWM2NThkNTUzN2Q2MThhNDQzZDAw
|
11
|
+
ZTFlMzgxZTI1N2RhMGY5NDQ4YzA4MGRkOGJhOTYxYTkxNGM1NWQ=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
MzM5N2MyNWFkNjdhYmY2NjQzNzE3NzIxNGE3MWRlZmE3NTk0MDYyYzNjMDRh
|
14
|
+
Mjk2NDJkM2UyN2I0YzE0MmMzYmNiMTU0ODBhZmU2YTA0OGJiODI0ZGY4YjFl
|
15
|
+
NDUxMDc2Yjc2MzI5MGUwMGZhMmUwNjU5YzBiMTMxMGYyY2I2MjE=
|
@@ -13,7 +13,7 @@ Then /^我点按"([^\"]*)"$/ do |name|
|
|
13
13
|
macro %Q|I press "#{name}"|
|
14
14
|
end
|
15
15
|
|
16
|
-
Then /^我点按"([^\"]*)"右(\d+)%下(\d+)$/ do |x,y
|
16
|
+
Then /^我点按"([^\"]*)"右(\d+)%下(\d+)$/ do |name,x,y|
|
17
17
|
macro %Q|I press #{x}% right and #{y}% down from "#{name}"|
|
18
18
|
end
|
19
19
|
|
@@ -62,11 +62,11 @@ end
|
|
62
62
|
|
63
63
|
## -- Entering text -- ##
|
64
64
|
|
65
|
-
Then /^我在"([^\"]*)"中输入"([^\"]*)"$/ do |
|
65
|
+
Then /^我在"([^\"]*)"中输入"([^\"]*)"$/ do |field_name, text_to_type|
|
66
66
|
macro %Q|I enter "#{text_to_type}" into the "#{field_name}" field|
|
67
67
|
end
|
68
68
|
|
69
|
-
Then /^我在文本框"([^\"]*)"中输入"([^\"]*)"$/ do |
|
69
|
+
Then /^我在文本框"([^\"]*)"中输入"([^\"]*)"$/ do |field_name, text_to_type|
|
70
70
|
macro %Q|I enter "#{text_to_type}" into the "#{field_name}" text field|
|
71
71
|
end
|
72
72
|
|
@@ -75,7 +75,7 @@ Then /^我在"([^\"]*)"中填写"([^\"]*)"$/ do |text_field, text_to_type|
|
|
75
75
|
macro %Q|I fill in "#{text_field}" with "#{text_to_type}"|
|
76
76
|
end
|
77
77
|
|
78
|
-
Then
|
78
|
+
Then /^我用软键盘在文本框"([^\"]*)"中输入"([^\"]*)"$/ do |field_name, text_to_type|
|
79
79
|
macro %Q|I use the native keyboard to enter "#{text_to_type}" into the "#{field_name}" text field|
|
80
80
|
end
|
81
81
|
|
@@ -83,11 +83,11 @@ Then /^我在文本框中填写:$/ do |table|
|
|
83
83
|
step %Q|I fill in text fields as follows:|, table
|
84
84
|
end
|
85
85
|
|
86
|
-
Then /^我在第(\d+)个文本框中输入"([^\"]*)"$/ do |
|
86
|
+
Then /^我在第(\d+)个文本框中输入"([^\"]*)"$/ do |index, text|
|
87
87
|
macro %Q|I enter "#{text}" into text field number #{index}|
|
88
88
|
end
|
89
89
|
|
90
|
-
Then /^我用软键盘在第(\d+)个文本框中输入"([^\"]*)"$/ do |
|
90
|
+
Then /^我用软键盘在第(\d+)个文本框中输入"([^\"]*)"$/ do |index, text_to_type|
|
91
91
|
macro %Q|I use the native keyboard to enter "#{text_to_type}" into text field number #{index}|
|
92
92
|
end
|
93
93
|
|
@@ -171,7 +171,7 @@ Then /^我向(左|右|上|下)划第(\d+)个的x:(\d+),y:(\d+)$/ do |dir, index,
|
|
171
171
|
macro %Q|I swipe #{dir} on number #{index} at x #{x} and y #{y}|
|
172
172
|
end
|
173
173
|
|
174
|
-
Then /^我在"([^\"]*)"上向(左|右|上|下)划$/ do |
|
174
|
+
Then /^我在"([^\"]*)"上向(左|右|上|下)划$/ do |mark, dir|
|
175
175
|
dir = DIRs[dir]
|
176
176
|
macro %Q|I swipe #{dir} on "#{mark}"|
|
177
177
|
end
|