@applitools/screenshoter 3.3.8 → 3.3.9

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/CHANGELOG.md CHANGED
@@ -4,6 +4,11 @@
4
4
  ## Unreleased
5
5
 
6
6
 
7
+ ## 3.3.9 - 2022/2/16
8
+
9
+ - remove prevention of translation in `mixed` scrolling mode
10
+ - updated to @applitools/snippets@2.1.15 (from 2.1.14)
11
+
7
12
  ## 3.3.8 - 2022/2/16
8
13
 
9
14
  - updated to @applitools/snippets@2.1.14 (from 2.1.13)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@applitools/screenshoter",
3
- "version": "3.3.8",
3
+ "version": "3.3.9",
4
4
  "description": "Applitools universal screenshoter for web and native applications",
5
5
  "keywords": [
6
6
  "applitools",
@@ -60,12 +60,12 @@
60
60
  }
61
61
  },
62
62
  "dependencies": {
63
- "@applitools/snippets": "2.1.14",
63
+ "@applitools/snippets": "2.1.15",
64
64
  "@applitools/utils": "1.2.13",
65
65
  "png-async": "0.9.4"
66
66
  },
67
67
  "devDependencies": {
68
- "@applitools/driver": "1.4.15",
68
+ "@applitools/driver": "1.4.16",
69
69
  "@applitools/sdk-release-kit": "0.13.11",
70
70
  "@applitools/spec-driver-webdriverio": "1.2.7",
71
71
  "@applitools/test-utils": "1.0.12",
package/src/scroller.js CHANGED
@@ -104,7 +104,6 @@ function makeScroller({logger, element, scrollingMode = 'mixed'}) {
104
104
  async function shiftTo(offset, element = defaultElement) {
105
105
  try {
106
106
  const scrollOffset = await element.scrollTo(offset)
107
- if (utils.geometry.equals(scrollOffset, offset)) return scrollOffset
108
107
 
109
108
  // there is a "bug" in iOS that will not move a root element if it already scrolled, so it should be translated all the way
110
109
  if (element.driver.isIOS && (await element.isRoot())) {