@qavajs/steps-testcafe
v0.2.0
Published
steps to interact with testcafe
Downloads
1
Keywords
Readme
@qavajs/steps-testcafe
Step library to work with testcafe in qavajs framework
Installation
npm install @qavajs/steps-testcafe
Configuration
const App = require('./page_object');
module.exports = {
default: {
require: [
'node_modules/@qavajs/steps-testcafe/index.js'
],
browser: {
timeout: {
present: 10000,
visible: 20000,
page: 10000
},
capabilities: {
browser: 'chrome'
}
},
pageObject: new App()
}
}
Screenshot strategy
@qavajs/steps-testcafe has build-in capability to take screenshot on particular event. If you need to add screenshot to your report add screenshot property to profile config. Supported events:
- onFail
- beforeStep
- afterStep
module.exports = {
default: {
screenshot: ['onFail']
}
}
Limitations
- I save value of '' cookie as 'cookie' is not working in hammerhead proxy mode