@atomic-testing/core
Advanced tools
Comparing version 0.5.0 to 0.6.0
@@ -14,4 +14,5 @@ import { IComponentDriver, IComponentDriverOption, IInteractor, LocatorChain, Optional, PartName, ScenePart, ScenePartDriver, StepFunction } from './types'; | ||
getText(): Promise<Optional<string>>; | ||
exists(): Promise<boolean>; | ||
abstract get driverName(): string; | ||
} | ||
export declare function getPartFromDefinition<T extends ScenePart>(partDefinition: T, parentLocator: LocatorChain, interactor: IInteractor, option: Partial<IComponentDriverOption<T>>): ScenePartDriver<T>; |
@@ -67,2 +67,5 @@ "use strict"; | ||
} | ||
exists() { | ||
return this.interactor.exists(this.locator); | ||
} | ||
} | ||
@@ -69,0 +72,0 @@ exports.ComponentDriver = ComponentDriver; |
{ | ||
"name": "@atomic-testing/core", | ||
"version": "0.5.0", | ||
"version": "0.6.0", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
@@ -77,2 +77,6 @@ import { defaultStep } from './defaultValues'; | ||
exists(): Promise<boolean> { | ||
return this.interactor.exists(this.locator); | ||
} | ||
abstract get driverName(): string; | ||
@@ -79,0 +83,0 @@ } |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
63578
1251