protractor-image-comparison
Advanced tools
Comparing version 3.6.0 to 3.7.0
import { SaveFullPageMethodOptions } from "webdriver-image-comparison/build/commands/fullPage.interfaces"; | ||
export declare function getInstanceData(): Promise<{ | ||
browserName: any; | ||
browserVersion: any; | ||
deviceName: any; | ||
@@ -5,0 +6,0 @@ logName: any; |
@@ -42,3 +42,3 @@ "use strict"; | ||
return __awaiter(this, void 0, void 0, function () { | ||
var instanceConfig, browserName, logName, name, platformName, deviceName, nativeWebScreenshot; | ||
var instanceConfig, browserName, browserVersion, logName, name, platformName, deviceName, nativeWebScreenshot; | ||
return __generator(this, function (_a) { | ||
@@ -50,2 +50,3 @@ switch (_a.label) { | ||
browserName = (instanceConfig.browserName || '').toLowerCase(); | ||
browserVersion = instanceConfig.browserVersion || ''; | ||
logName = instanceConfig.logName || ''; | ||
@@ -58,2 +59,3 @@ name = instanceConfig.name || ''; | ||
browserName: browserName, | ||
browserVersion: browserVersion, | ||
deviceName: deviceName, | ||
@@ -60,0 +62,0 @@ logName: logName, |
@@ -15,2 +15,3 @@ import {browser, ElementFinder} from "protractor"; | ||
const browserName = (instanceConfig.browserName || '').toLowerCase(); | ||
const browserVersion = instanceConfig.browserVersion || ''; | ||
const logName = instanceConfig.logName || ''; | ||
@@ -26,2 +27,3 @@ const name = instanceConfig.name || ''; | ||
browserName, | ||
browserVersion, | ||
deviceName, | ||
@@ -28,0 +30,0 @@ logName, |
{ | ||
"name": "protractor-image-comparison", | ||
"version": "3.6.0", | ||
"version": "3.7.0", | ||
"description": "npm-module to compare images with protractor", | ||
@@ -42,3 +42,3 @@ "main": "./build/index.js", | ||
"dependencies": { | ||
"webdriver-image-comparison": "^0.10.0" | ||
"webdriver-image-comparison": "^0.11.0" | ||
}, | ||
@@ -48,3 +48,3 @@ "devDependencies": { | ||
"@types/jasmine": "^3.4.4", | ||
"@types/node": "^10.14.22", | ||
"@types/node": "^10.17.2", | ||
"awesome-typescript-loader": "^5.2.1", | ||
@@ -56,3 +56,3 @@ "fs-extra": "^7.0.1", | ||
"jasmine-ts": "^0.3.0", | ||
"np": "^5.1.1", | ||
"np": "^5.1.2", | ||
"protractor": "^5.4.2", | ||
@@ -59,0 +59,0 @@ "rimraf": "^2.7.1", |
@@ -23,2 +23,3 @@ { | ||
"sourceMap": true, | ||
"inlineSources": true, | ||
"skipLibCheck": true, | ||
@@ -25,0 +26,0 @@ "target": "es5", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
287828
772
+ Addedwebdriver-image-comparison@0.11.0(transitive)
- Removedwebdriver-image-comparison@0.10.0(transitive)