bb-test v0.11.1
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-installTo download all page objects from GIT
npm run pageobjects-updateTo update all page objects from GIT
npm run postinstallInstall page objects from GIT and update web driver
Web driver
How to use Local web driver to run tests locally.
npm run wd-updateTo update local web driver
npm run wd-startTo 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-localTo run tests from local.conf.js configuration
npm run test-browserstackTo run tests from browserstack.conf.js configuration using Browserstack
npm run testnpm run test-jenkinsTo run tests on local Jenkins server.
BB test CLI #TODO
bb portal test ui -c someconfig.conf.jsRun UI tests on whole portal
bb test uiRun single UI test
Copyright © 2015 Backbase B.V.
10 years ago