xcfit 10.0.0 → 10.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.swift-version +1 -1
- data/.travis.yml +2 -2
- data/Pre-Defined_Steps/XCFit_Predefined_Steps.md +6 -6
- data/XCFit-Demo/Cartfile +1 -1
- data/XCFit-Demo/XCFit-Demo.xcodeproj/project.pbxproj +0 -24
- data/XCFit.podspec +1 -1
- data/XCFit_Templates/XCFit/Cucumberish UI Test Bundle Base.xctemplate/CommonStepDefinitions.swift +8 -8
- data/XCFit_Templates/XCFit/Cucumberish UI Test Bundle Base.xctemplate/HomeScreen.swift +1 -1
- data/circle.yml +1 -1
- data/lib/XCFit/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 40655afcbc8bf46fb3ab8a6a83aec240a352cf40
|
4
|
+
data.tar.gz: 1e13d2a164345d458ad886e210cf0f19e645c868
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e7d62f425660301bcec7ff1e91928c2d3259696d7a4e7b76c3eaae70ad56a14e31dc72ce5d29a9ff22d5f5b20344f39162d8de3a5dac79c47de0f2d9d97d1621
|
7
|
+
data.tar.gz: 8b019126871824dbc44cfea38c88c6d194f5b792c869e9698e6b8734acb6cba4684dcaa370de7cba7adf3b4d8f7600025a9c62f353dc3e572ea6468175894565
|
data/.swift-version
CHANGED
@@ -1 +1 @@
|
|
1
|
-
|
1
|
+
5.0
|
data/.travis.yml
CHANGED
@@ -19,7 +19,7 @@ XCUIElement value needs to be replaced by locator from your Application.Some of
|
|
19
19
|
|
20
20
|
whenITap(on element: XCUIElement)
|
21
21
|
whenIDoubleTapOn(XCUIElement)
|
22
|
-
|
22
|
+
whenIypeTextIntoTextField(textField: XCUIElement, text: String)
|
23
23
|
whenIActOnAlert(alertTitle: String, alertButton: String)
|
24
24
|
whenIAllowSystemAlert(alertDescription: String)
|
25
25
|
whenISlideASlider(by normalisedValue: CGFloat)
|
@@ -32,15 +32,15 @@ XCUIElement value needs to be replaced by locator from your Application.Some of
|
|
32
32
|
|
33
33
|
## Waiter Actions
|
34
34
|
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
35
|
+
whenIExpectElementToAppear(XCUIElement)
|
36
|
+
whenIExpectElementTimeOut(XCUIElement)
|
37
|
+
whenIExpectElementIncorrectOrder(XCUIElement)
|
38
|
+
whenIExpectElementInvertedFulfillment(XCUIElement)
|
39
39
|
|
40
40
|
## Assertions
|
41
41
|
|
42
42
|
thenIShouldSee(XCUIElement)
|
43
|
-
|
43
|
+
thenElementShouldHavePlaceholderValue(XCUIElement, String)
|
44
44
|
thenElementShouldHaveTitle(XCUIElement, String)
|
45
45
|
thenElementShouldBeEnabled(XCUIElement)
|
46
46
|
thenElementShouldBeVisible(XCUIElement)
|
data/XCFit-Demo/Cartfile
CHANGED
@@ -1,2 +1,2 @@
|
|
1
1
|
|
2
|
-
github "Shashikant86/XCFit" "10.
|
2
|
+
github "Shashikant86/XCFit" "10.2.0"
|
@@ -64,13 +64,6 @@
|
|
64
64
|
);
|
65
65
|
runOnlyForDeploymentPostprocessing = 0;
|
66
66
|
};
|
67
|
-
9B8ED912209642B100EEA377 /* Frameworks */ = {
|
68
|
-
isa = PBXFrameworksBuildPhase;
|
69
|
-
buildActionMask = 2147483647;
|
70
|
-
files = (
|
71
|
-
);
|
72
|
-
runOnlyForDeploymentPostprocessing = 0;
|
73
|
-
};
|
74
67
|
/* End PBXFrameworksBuildPhase section */
|
75
68
|
|
76
69
|
/* Begin PBXGroup section */
|
@@ -195,9 +188,6 @@
|
|
195
188
|
9B8ED90E209642B100EEA377 /* Sources */,
|
196
189
|
9B8ED90F209642B100EEA377 /* Frameworks */,
|
197
190
|
9B8ED910209642B100EEA377 /* Resources */,
|
198
|
-
9B8ED911209642B100EEA377 /* Sources */,
|
199
|
-
9B8ED912209642B100EEA377 /* Frameworks */,
|
200
|
-
9B8ED913209642B100EEA377 /* Resources */,
|
201
191
|
9B8ED931209645B600EEA377 /* ShellScript */,
|
202
192
|
);
|
203
193
|
buildRules = (
|
@@ -266,13 +256,6 @@
|
|
266
256
|
);
|
267
257
|
runOnlyForDeploymentPostprocessing = 0;
|
268
258
|
};
|
269
|
-
9B8ED913209642B100EEA377 /* Resources */ = {
|
270
|
-
isa = PBXResourcesBuildPhase;
|
271
|
-
buildActionMask = 2147483647;
|
272
|
-
files = (
|
273
|
-
);
|
274
|
-
runOnlyForDeploymentPostprocessing = 0;
|
275
|
-
};
|
276
259
|
/* End PBXResourcesBuildPhase section */
|
277
260
|
|
278
261
|
/* Begin PBXShellScriptBuildPhase section */
|
@@ -329,13 +312,6 @@
|
|
329
312
|
);
|
330
313
|
runOnlyForDeploymentPostprocessing = 0;
|
331
314
|
};
|
332
|
-
9B8ED911209642B100EEA377 /* Sources */ = {
|
333
|
-
isa = PBXSourcesBuildPhase;
|
334
|
-
buildActionMask = 2147483647;
|
335
|
-
files = (
|
336
|
-
);
|
337
|
-
runOnlyForDeploymentPostprocessing = 0;
|
338
|
-
};
|
339
315
|
/* End PBXSourcesBuildPhase section */
|
340
316
|
|
341
317
|
/* Begin PBXTargetDependency section */
|
data/XCFit.podspec
CHANGED
data/XCFit_Templates/XCFit/Cucumberish UI Test Bundle Base.xctemplate/CommonStepDefinitions.swift
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
//
|
1
|
+
ery//
|
2
2
|
// CommonStepDefinitions.swift
|
3
3
|
// Copyright © 2017 XCFit Framework. All rights reserved.
|
4
4
|
//
|
@@ -23,20 +23,20 @@ class CommonStepDefinitions: NSObject {
|
|
23
23
|
var elementQurey : XCUIElementQuery!
|
24
24
|
switch(type){
|
25
25
|
case "button":
|
26
|
-
|
26
|
+
elementQuery = application.buttons
|
27
27
|
case "label":
|
28
|
-
|
28
|
+
elementQuery = application.staticTexts
|
29
29
|
case "tab":
|
30
|
-
|
30
|
+
elementQuery = application.tabs
|
31
31
|
case "field", "text field":
|
32
|
-
|
32
|
+
elementQuery = application.textFields
|
33
33
|
case "textView", "text view":
|
34
|
-
|
34
|
+
elementQuery = application.textViews
|
35
35
|
case "view":
|
36
|
-
|
36
|
+
elementQuery = application.otherElements
|
37
37
|
default: elementQurey = application.otherElements
|
38
38
|
}
|
39
|
-
return
|
39
|
+
return elementQuery[label]
|
40
40
|
}
|
41
41
|
|
42
42
|
fileprivate func setup(_ application: XCUIApplication)
|
data/circle.yml
CHANGED
data/lib/XCFit/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: xcfit
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 10.
|
4
|
+
version: 10.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Shashikant86
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-
|
11
|
+
date: 2019-03-31 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: thor
|