bb-test

0.11.1 • Public • Published

Backbase UI test automation tool

UI test automation framework for working with Backbase CXP.

Table of contents

Commands

Page objects

How to get tests page objects directly from GIT repository. GIT configuration (repository, branch) and widget list could be changed here tests/ui/pageobjects/widgets.js.

npm run pageobjects-install

To download all page objects from GIT

npm run pageobjects-update

To update all page objects from GIT

npm run postinstall

Install page objects from GIT and update web driver

Web driver

How to use Local web driver to run tests locally.

npm run wd-update

To update local web driver

npm run wd-start

To start local web driver

Run tests

How to run tests using different configurations. New configurations could be added or changed here tests/ui/configuration/.

Configuration example:

'use strict';

var utils = require('../support/utils');
exports.config = utils.merge(require('./base.conf.js').config, {

    seleniumAddress: '<Link to Selenium server>',
    baseUrl: '<Link to your test application>',
    params: {
        reporterFolder: '<Test report folder>'
    },
    specs: [
    	<List of specs files>
        //Example: 
        //utils.spec("test-portal", "review-transfers")
    ]
});
npm run test-local

To run tests from local.conf.js configuration

npm run test-browserstack

To run tests from browserstack.conf.js configuration using Browserstack

npm run test
npm run test-jenkins

To run tests on local Jenkins server.

BB test CLI #TODO

bb portal test ui -c someconfig.conf.js

Run UI tests on whole portal

bb test ui

Run single UI test


Copyright © 2015 Backbase B.V.

Readme

Keywords

none

Package Sidebar

Install

npm i bb-test

Weekly Downloads

2

Version

0.11.1

License

none

Last publish

Collaborators

  • asat