File tree 3 files changed +31
-3
lines changed
3 files changed +31
-3
lines changed Original file line number Diff line number Diff line change @@ -47,7 +47,8 @@ In Summary
47
47
### Usage
48
48
The following steps will help you run tests:
49
49
1 . Start chromedriver.exe. You can specify --verbose command line argument to get more loggings.
50
- 2 . Run all tests
50
+ 2 . Host test/app.json in a webserver, such as localhost:8000, and update test/config.js with the correct URL.
51
+ 3 . Run all tests
51
52
``` bash
52
53
grunt
53
54
```
Original file line number Diff line number Diff line change
1
+ {
2
+ "startup_app" : {
3
+ "name" : " Hello OpenFin" ,
4
+ "url" : " https://demoappdirectory.openf.in/desktop/config/apps/OpenFin/HelloOpenFin/index.html" ,
5
+ "uuid" : " OpenFinHelloWorld" ,
6
+ "applicationIcon" : " http://demoappdirectory.openf.in/desktop/config/apps/OpenFin/HelloOpenFin/img/openfin.ico" ,
7
+ "autoShow" : false ,
8
+ "defaultHeight" : 525 ,
9
+ "defaultWidth" : 395 ,
10
+ "maxWidth" : 395 ,
11
+ "maxHeight" : 525 ,
12
+ "defaultTop" : 50 ,
13
+ "defaultLeft" : 10 ,
14
+ "resizable" : false ,
15
+ "maximizable" : false ,
16
+ "frame" : false ,
17
+ "cornerRounding" : {
18
+ "width" : 5 ,
19
+ "height" : 5
20
+ }
21
+ },
22
+ "runtime" : {
23
+ "arguments" : " --v=1 --enable-chromium-window-alert --allow-http-screen-capture " ,
24
+ "version" : " 9.61.33.22"
25
+ },
26
+ "splashScreenImage" : " https://cdn.openfin.co/demos/hello/splashscreen/splash_hello.png"
27
+ }
Original file line number Diff line number Diff line change @@ -11,14 +11,14 @@ module.exports = (function () {
11
11
chromeOptions : {
12
12
extensions : [ ] ,
13
13
binary : 'RunOpenFin.bat' ,
14
- args : [ '--config=https ://demoappdirectory.openf.in/desktop/config/apps/OpenFin/HelloOpenFin/selenium .json' ]
14
+ args : [ '--config=http ://localhost:8000/app .json' ]
15
15
}
16
16
} ,
17
17
remoteDriverHost : "localhost" ,
18
18
remoteDriverPort : 9515 ,
19
19
//remoteDriverPath: "/wd/hub",
20
20
testTimeout : 20000 ,
21
- expectedRuntimeVersion : "7.53.21.6 "
21
+ expectedRuntimeVersion : "9.61.33.22 "
22
22
} ;
23
23
24
24
config . remoteDriverUrl = "http://" + config . remoteDriverHost + ":" + config . remoteDriverPort +
You can’t perform that action at this time.
0 commit comments