@atomic-testing/core
Advanced tools
Comparing version 0.3.0 to 0.5.0
@@ -7,3 +7,3 @@ export { byChecked } from './byChecked'; | ||
export { byValue } from './byValue'; | ||
export type { CssLocator, PartLocatorType } from './PartLocatorType'; | ||
export { LocatorRelativePosition, LocatorType } from './PartLocatorType'; | ||
export type { CssLocator, PartLocatorType } from './PartLocatorType'; |
@@ -39,2 +39,7 @@ import { ComponentDriver } from './ComponentDriver'; | ||
export interface IInteractor { | ||
/** | ||
* Click on the desired element | ||
* @param locator | ||
* @param option | ||
*/ | ||
click(locator: LocatorChain, option?: Partial<IClickOption>): Promise<void>; | ||
@@ -48,7 +53,12 @@ /** | ||
/** | ||
* | ||
* @param locator Select option by value from a select element | ||
* Select option by value from a select element | ||
* @param locator | ||
* @param values | ||
*/ | ||
selectOptionValue(locator: LocatorChain, values: string[]): Promise<void>; | ||
/** | ||
* Perform a mouse hover on the desired element | ||
* @param locator | ||
*/ | ||
hover(locator: LocatorChain): Promise<void>; | ||
getInputValue(locator: LocatorChain): Promise<Optional<string>>; | ||
@@ -55,0 +65,0 @@ getSelectValues(locator: LocatorChain): Promise<Optional<readonly string[]>>; |
{ | ||
"name": "@atomic-testing/core", | ||
"version": "0.3.0", | ||
"version": "0.5.0", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
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
63301
1244