@applitools/eyes-sdk-core
Advanced tools
Comparing version 5.20.3 to 5.20.4
@@ -6,2 +6,13 @@ # Change Log | ||
## [5.20.4](https://github.com/applitools/eyes.sdk.javascript1/compare/@applitools/eyes-sdk-core@5.20.3...@applitools/eyes-sdk-core@5.20.4) (2019-11-04) | ||
### Bug Fixes | ||
* **eyes-sdk-core, visual-grid-client:** added skipStartingSession to openBase - fixed testWindow startSession calls. ([cd424cb](https://github.com/applitools/eyes.sdk.javascript1/commit/cd424cb)) | ||
## [5.20.3](https://github.com/applitools/eyes.sdk.javascript1/compare/@applitools/eyes-sdk-core@5.20.2...@applitools/eyes-sdk-core@5.20.3) (2019-11-03) | ||
@@ -8,0 +19,0 @@ |
@@ -5,3 +5,3 @@ 'use strict'; | ||
ArgumentGuard, TypeUtils, EyesError, Region, Location, RectangleSize, CoordinatesType, ImageDeltaCompressor, | ||
SimplePropertyHandler, ReadOnlyPropertyHandler, FileDebugScreenshotsProvider, NullDebugScreenshotProvider, GeneralUtils | ||
SimplePropertyHandler, ReadOnlyPropertyHandler, FileDebugScreenshotsProvider, NullDebugScreenshotProvider, GeneralUtils, | ||
} = require('@applitools/eyes-common'); | ||
@@ -829,5 +829,6 @@ | ||
* or {@code null} to use the default. | ||
* @param {skipStartingSession} [skipStartingSession=false] - If {@code true} skip starting the session. | ||
* @return {Promise} | ||
*/ | ||
async openBase(appName, testName, viewportSize, sessionType = SessionType.SEQUENTIAL) { | ||
async openBase(appName, testName, viewportSize, sessionType = SessionType.SEQUENTIAL, skipStartingSession = false) { | ||
this._logger.getLogHandler().open(); | ||
@@ -869,3 +870,3 @@ | ||
if (this._configuration.getViewportSize()) { | ||
if (this._configuration.getViewportSize() && !skipStartingSession) { | ||
await this._ensureRunningSession(); | ||
@@ -872,0 +873,0 @@ } |
{ | ||
"name": "@applitools/eyes-sdk-core", | ||
"version": "5.20.3", | ||
"version": "5.20.4", | ||
"description": "The core components of Eyes JavaScript SDK", | ||
@@ -49,3 +49,3 @@ "keywords": [ | ||
}, | ||
"gitHead": "bd4b20bcf231f72e129f2b6f857b92e13ec8963e" | ||
"gitHead": "d9612e9ff4f045080dc3f8fd10ab3fcd6a1b0fa2" | ||
} |
389323
10934