froth-webdriverio-framework 0.1.22 → 0.1.24
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/mobile/commonMethods/Utils.js +28 -18
- package/package.json +1 -1
|
@@ -1,25 +1,35 @@
|
|
|
1
1
|
global.rootFolderPath = process.cwd();
|
|
2
2
|
console.log("Root folder path 4:", rootFolderPath);
|
|
3
|
+
let ScrollToEnd = null;
|
|
4
|
+
let ClickIfVisible=null;
|
|
5
|
+
let VerifyTextInFieldAttribute= null;
|
|
6
|
+
let ScrollToBeginning = null;
|
|
7
|
+
let ScrollToLeft = null;
|
|
8
|
+
let ScrollToRight = null;
|
|
9
|
+
let ScrollDownToView= null;
|
|
10
|
+
let ScrollRightToView= null;
|
|
11
|
+
let verifyText= null;
|
|
12
|
+
|
|
3
13
|
if(process.env.LOCATION == 'local'){
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
14
|
+
ScrollToEnd = require('./ScrollToEnd');
|
|
15
|
+
ClickIfVisible= require('./clickIfVisible');
|
|
16
|
+
VerifyTextInFieldAttribute= require('./verifyTextInFieldAttribute');
|
|
17
|
+
ScrollToBeginning = require('./scrollToBeginning');
|
|
18
|
+
ScrollToLeft = require('./scrollToLeft');
|
|
19
|
+
ScrollToRight = require('./scrollToRight');
|
|
20
|
+
ScrollDownToView= require('./ScrollDownToView');
|
|
21
|
+
ScrollRightToView= require('./ScrollRightToView');
|
|
22
|
+
verifyText= require('./verifyText');
|
|
13
23
|
}else{
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
24
|
+
ScrollToEnd = require('froth-webdriverio-framework/mobile/commonMethods/scrollToEnd');
|
|
25
|
+
ClickIfVisible= require('froth-webdriverio-framework/mobile/commonMethods/clickIfVisible');
|
|
26
|
+
VerifyTextInFieldAttribute= require('froth-webdriverio-framework/mobile/commonMethods/verifyTextInFieldAttribute');
|
|
27
|
+
ScrollToBeginning = require('froth-webdriverio-framework/mobile/commonMethods/scrollToBeginning');
|
|
28
|
+
ScrollToLeft = require('froth-webdriverio-framework/mobile/commonMethods/scrollToLeft');
|
|
29
|
+
ScrollToRight = require('froth-webdriverio-framework/mobile/commonMethods/scrollToRight');
|
|
30
|
+
ScrollDownToView= require('froth-webdriverio-framework/mobile/commonMethods/scrollDownToView');
|
|
31
|
+
ScrollRightToView= require('froth-webdriverio-framework/mobile/commonMethods/scrollRightToView');
|
|
32
|
+
verifyText= require('froth-webdriverio-framework/mobile/commonMethods/verifyText');
|
|
23
33
|
}
|
|
24
34
|
// Export the functions
|
|
25
35
|
module.exports = {
|