testcafe-wrapper
v1.2.3
Published
Generate TestCafe unit tests by creating simple yaml files.
Maintainers
Readme
TestCafe Wrapper
Generate TestCafe unit tests by creating simple yaml files.
Install testcafe-wrapper
npm install -g testcafe-wrapperSample yaml file
---
fixture: Example
page: http://devexpress.github.io/testcafe/example/
fields:
- identifier: submit
selector: button[type="submit"]
element: button
type: submit
tests:
- name: Type in a developer name and click submit
logic:
- action : click
identifier : submitGenerate the code and run the command
testcafe-wrapperFull integration into TestRail
Created conf/testrail-conf.json
{
"host": "http://[testrail_url]/testrail/",
"username": "testrail_username",
"password": "testrail_password",
"projectId": 1
}To integrate test results straight into testrail add -t
testcafe-wrapper -tFor a list of available commands
testcafe-wrapper -help