Gauge + Taiko test framework uses for end-to-end testing
- Gauge
- Node v12 or above
.
├── specs
└── tests
├── common
├── page_object
├── page_ui
└── steps_definition
Where we define all BDD scenarios
Where we define step definition, acts as an abstraction layer between specs directory and taiko/gauge configuration
The configuration directory for gauge & taiko, if you ever want to change on config or add another taiko interaction, this directory is where you should look.
-
Clone this repo
-
yarnfor dependencies installation -
Run
yarn testorgauge run specsto run whole specs with headless mode -
If you want to run only one spec, use
gauge run specs/<name_spec.spec> -
If you want run NO HEADLESS, use
HEADLESS_CHROME=false gauge run spec -
The report is generated to file index.html under
reports/html-reportsfolder