New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@suitest/types

Package Overview
Dependencies
Maintainers
2
Versions
41
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@suitest/types - npm Package Compare versions

Comparing version 3.0.6 to 4.0.0

lib/queryLine.d.ts

1

lib/index.d.ts
export * from './appConfiguration';
export * from './queryLine';
export * from './comparator';

@@ -3,0 +4,0 @@ export * from './condition';

@@ -41,2 +41,3 @@ import {NumberComparator, StringComparator} from './comparator';

video?: boolean,
psVideo?: boolean,
ifMultipleFoundReturn?: number,

@@ -43,0 +44,0 @@ },

13

lib/testLine.d.ts

@@ -18,3 +18,3 @@ import {Condition} from './condition';

timeout?: number | string, // String in case it's a variable
then: AssertThen,
then?: AssertThen,
};

@@ -26,3 +26,3 @@

timeout: number | string, // String in case it's a variable
then: AssertThen,
then?: AssertThen,
};

@@ -34,2 +34,8 @@

export type TakeScreenshotTestLine = BaseTestLine & {
type: 'takeScreenshot',
dataFormat?: 'raw' | 'base64',
fileName?: string,
};
export type ExecuteCommandTestLine = BaseTestLine & {

@@ -184,2 +190,3 @@ type: 'execCmd',

| SetTextTestLine
| CommentTestLine;
| CommentTestLine
| TakeScreenshotTestLine;

@@ -5,3 +5,3 @@ import {LineId} from './testLine';

export type TestLineResultType = 'success' | 'fail' | 'fatal' | 'warning' | 'exit' | 'excluded';
export type TestLineResultType = 'success' | 'fail' | 'fatal' | 'warning' | 'exit' | 'excluded' | 'aborted';

@@ -133,2 +133,3 @@ export type BaseResult = {

| 'configuratorError'
| 'appleNetworkLogsError'
| 'appStoreBuild'

@@ -141,3 +142,6 @@ | 'outdatedLibraryWarning'

| 'MoveTargetOutOfBounds'
| 'ElementClickIntercepted',
| 'ElementClickIntercepted'
| 'unsupportedOSVersion'
| 'targetManagerUnsupportedVersion'
| 'systemOutdated',
};

@@ -356,5 +360,20 @@

},
} | {
code: 'certificateError',
},
};
export type QueryLineError = {
contentType: 'query',
result?: 'error',
errorType?: 'deviceError',
errorMessage?: 'cssSelectorInvalid',
elementExists?: boolean,
cookieExists?: boolean,
executeThrowException?: boolean,
executeExceptionMessage?: string,
error?: 'notExistingElement',
};
export type TestLineSuccessResult = BaseResult & {

@@ -365,2 +384,11 @@ result: 'success',

export type TestLineAbortedResult = BaseResult & {
result: 'aborted',
message?: {
info?: unknown,
},
errorType?: undefined,
};
export type TestLineExcludedResult = BaseResult & {

@@ -371,6 +399,10 @@ result: 'excluded',

export type TestLineErrorResult = Exclude<TestLineResult, TestLineSuccessResult | TestLineExcludedResult>;
export type TestLineErrorResult = Exclude<
TestLineResult,
TestLineSuccessResult | TestLineExcludedResult | TestLineAbortedResult
>;
export type TestLineResult = TestLineSuccessResult
| TestLineExcludedResult
| TestLineAbortedResult
| SimpleError

@@ -377,0 +409,0 @@ | OutdatedInstrumentationLibraryError

{
"name": "@suitest/types",
"version": "3.0.6",
"version": "4.0.0",
"description": "TypeScript definitions for common data structures",

@@ -5,0 +5,0 @@ "homepage": "https://suite.st/",

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