Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@applitools/types

Package Overview
Dependencies
Maintainers
24
Versions
61
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@applitools/types - npm Package Compare versions

Comparing version 1.1.1 to 1.2.0

4

CHANGELOG.md

@@ -6,2 +6,6 @@ # Changelog

## 1.2.0 - 2022/3/6
- Support 'AUTProxy' capability
## 1.1.1 - 2022/3/3

@@ -8,0 +12,0 @@

4

package.json
{
"name": "@applitools/types",
"version": "1.1.1",
"version": "1.2.0",
"keywords": [

@@ -38,3 +38,3 @@ "applitools",

"scripts": {
"lint": "eslint '**/*.ts'",
"lint": "eslint \"**/*.ts\"",
"build": "tsc",

@@ -41,0 +41,0 @@ "deps": "bongo deps",

import { LogHandler, DebugScreenshotHandler } from './debug';
import { MatchSettings } from './setting';
import { Selector } from './driver';
import { SessionType, StitchMode, Size, Region, Proxy, Batch, CustomProperty, ImageRotation, ImageCropRect, ImageCropRegion, DesktopBrowserRenderer, ChromeEmulationDeviceRenderer, IOSDeviceRenderer } from './data';
import { SessionType, StitchMode, Size, Region, Proxy, AutProxy, Batch, CustomProperty, ImageRotation, ImageCropRect, ImageCropRegion, BrowserInfoRenderer } from './data';
export declare type EyesManagerConfig<TType extends 'vg' | 'classic' = 'vg' | 'classic'> = {

@@ -18,2 +18,3 @@ type: TType;

proxy?: Proxy;
autProxy?: AutProxy;
isDisabled?: boolean;

@@ -74,3 +75,3 @@ connectionTimeout?: number;

concurrentSessions?: number;
browsersInfo?: (DesktopBrowserRenderer | ChromeEmulationDeviceRenderer | IOSDeviceRenderer)[];
browsersInfo?: BrowserInfoRenderer[];
visualGridOptions?: Record<string, any>;

@@ -77,0 +78,0 @@ layoutBreakpoints?: boolean | number[];

@@ -1,2 +0,2 @@

import { Size, Region, TextRegion, MatchResult, TestResult } from './data';
import { Size, Region, TextRegion, MatchResult, TestResult, TestResultSummary } from './data';
import { EyesManagerConfig, EyesConfig } from './config';

@@ -35,5 +35,5 @@ import { CheckSettings, LocateSettings, OCRExtractSettings, OCRSearchSettings, DeleteTestSettings, CloseBatchesSettings } from './setting';

}): Promise<Eyes<TElement, TSelector>>;
closeAllEyes: (options?: {
closeManager: (options?: {
throwErr: boolean;
}) => Promise<TestResult[]>;
}) => Promise<TestResultSummary>;
}

@@ -40,0 +40,0 @@ export interface Eyes<TElement, TSelector> {

@@ -15,2 +15,7 @@ export declare type SessionType = 'SEQUENTIAL' | 'PROGRESSION';

};
export declare type AutProxy = {
proxy: Proxy;
domains?: string[];
AUTProxyMode?: 'Allow' | 'Block';
};
export declare type CustomProperty = {

@@ -76,2 +81,3 @@ name: string;

};
export declare type BrowserInfoRenderer = DesktopBrowserRenderer | ChromeEmulationDeviceRenderer | IOSDeviceRenderer;
export declare type MatchResult = {

@@ -82,3 +88,3 @@ readonly asExpected?: boolean;

export declare type TestResult = {
readonly testId?: string;
readonly id?: string;
readonly name?: string;

@@ -142,1 +148,16 @@ readonly secretToken?: string;

};
export declare type TestResultContainer = {
readonly exception?: Error;
readonly testResults?: TestResult;
readonly browserInfo?: BrowserInfoRenderer;
};
export declare type TestResultSummary = {
results: TestResultContainer[];
passed: number;
unresolved: number;
failed: number;
exceptions: number;
mismatches: number;
missing: number;
matches: number;
} & Iterable<TestResultContainer>;
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc