Skip to content

Commit f04bfc8

Browse files
release: cut the 6.0.0 release (#241)
* release: cut the 6.0.0 release * release: cut the 6.0.0 release
1 parent 032229f commit f04bfc8

File tree

1 file changed

+39
-8
lines changed

1 file changed

+39
-8
lines changed

CHANGELOG.md

+39-8
Original file line numberDiff line numberDiff line change
@@ -2,16 +2,47 @@
22
# [6.0.0](https://github.com/NativeScript/nativescript-dev-appium/compare/5.3.0...6.0.0) (2019-08-08)
33

44

5-
### Bug Fixes
5+
### Features
66

7-
* typos ([65c6aa3](https://github.com/NativeScript/nativescript-dev-appium/commit/65c6aa3))
8-
* **image-helper:** increase image name ([#237](https://github.com/NativeScript/nativescript-dev-appium/issues/237)) ([c075af8](https://github.com/NativeScript/nativescript-dev-appium/commit/c075af8))
7+
* driver.getOrientation()
8+
* driver.setOrientation(orientation: DeviceOrientation)
9+
* restartApp()
10+
* image-helper ([#236](https://github.com/NativeScript/nativescript-dev-appium/issues/236)) ([0d2c9fd](https://github.com/NativeScript/nativescript-dev-appium/commit/0d2c9fd))
11+
* image-helper set counter to images ([#237](https://github.com/NativeScript/nativescript-dev-appium/issues/237)) ([c075af8](https://github.com/NativeScript/nativescript-dev-appium/commit/c075af8))
12+
* resolve sym-linked storages ([#235](https://github.com/NativeScript/nativescript-dev-appium/issues/235)) ([ef270c9](https://github.com/NativeScript/nativescript-dev-appium/commit/ef270c9)
913

1014

11-
### Features
15+
### BREAKING CHANGES:
1216

13-
* image-helper ([#236](https://github.com/NativeScript/nativescript-dev-appium/issues/236)) ([0d2c9fd](https://github.com/NativeScript/nativescript-dev-appium/commit/0d2c9fd))
14-
* resolve symlinked storages ([#235](https://github.com/NativeScript/nativescript-dev-appium/issues/235)) ([ef270c9](https://github.com/NativeScript/nativescript-dev-appium/commit/ef270c9))
17+
nativescript-dev-appium already takes in account viewportRect which is provided by appium(1.10.0 and above). The view port rectangle will be used when the images are compared. Custom view port could be provided using:
18+
19+
`appium capabilities : "viewportRect": {}`
20+
21+
`driver.imageHelper.options.cropRectangle`
22+
23+
`imageHelper.compareScreen({cropRectangle : {x, y, wight, height}});`
24+
25+
#### Default image comparison tolerance
26+
Before:
27+
`1%`
28+
Now:
29+
`0%`
30+
31+
driver.scrollTo() accepts IRectangle
32+
Before:
33+
34+
`scrollTo(direction: Direction, element: any, startPoint: Point, yOffset: number, xOffset?: number, retryCount?: number)`
35+
Now:
36+
37+
`scrollTo(direction: Direction, element: any, startPoint: Point, offsetPoint: Point, retryCount?: number): Promise<UIElement>;`
38+
39+
#### In order to use platform specific images:
40+
Before:
41+
42+
automatically
43+
Now:
44+
45+
`driver.imageHelper.options.isDeviceSpecific = false;`
1546

1647

1748

@@ -22,9 +53,9 @@
2253
### Bug Fixes
2354

2455
* mochawesome reporter for windows ([#222](https://github.com/NativeScript/nativescript-dev-appium/issues/222)) ([bd612a6](https://github.com/NativeScript/nativescript-dev-appium/commit/bd612a6))
25-
* skip propmting on post install when the console is not interactive ([1042328](https://github.com/NativeScript/nativescript-dev-appium/commit/1042328))
56+
* skip prompting on post install when the console is not interactive ([1042328](https://github.com/NativeScript/nativescript-dev-appium/commit/1042328))
2657
* **device-controller:** token in server scenario ([c847536](https://github.com/NativeScript/nativescript-dev-appium/commit/c847536))
27-
* undifined token ([52ec166](https://github.com/NativeScript/nativescript-dev-appium/commit/52ec166))
58+
* undefined token ([52ec166](https://github.com/NativeScript/nativescript-dev-appium/commit/52ec166))
2859

2960

3061
### Features

0 commit comments

Comments
 (0)