inspector-goadget
TypeScript icon, indicating that this package has built-in type declarations

1.1.7 • Public • Published

inspector-goadget

Description

Inspector-Goadget is a Cypress-based library designed to simplify UI automation testing for Alberta Design System components. It provides efficient, reusable helper functions to interact with complex shadow DOM elements, ensuring seamless and reliable test creation.

Installation

To add Inspector-Goadget to your Cypress project, run: npm install inspector-goadget --save-dev

Import method you need: import { clickGoaButton } from 'inspector-goadget';

Supported methods:

Find a goa-button by text and click clickGoaButton(buttonText);

Find a goa-input by label and type text typeInGoaInput(label, text);

Find a goa-dropdown by label and select an option by text selectGoaDropdownOption(label, optionText);

Find a goa-input by label and upload a file uploadFileToGoaInput(label, fileName);

Contributing

Contributions are welcome! Please open an issue or submit a pull request if you'd like to improve Inspector-Goadget.

Readme

Keywords

none

Package Sidebar

Install

npm i inspector-goadget

Weekly Downloads

50

Version

1.1.7

License

Apache License Version 2.0

Unpacked Size

67.2 kB

Total Files

39

Last publish

Collaborators

  • yaroslav-rybiak