0.2.0 • Published 11 months ago

@qavajs/steps-testcafe v0.2.0

Weekly downloads
-
License
MIT
Repository
github
Last release
11 months ago

npm version

@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
0.2.0

11 months ago

0.1.2

11 months ago

0.1.1

11 months ago

0.1.0

11 months ago