UIVeri5 is an E2E testing framework for UI5-based applications.
npm install @ui5/uiveri5
--------------------
UIVeri5 is deprecated and won’t be developed any further. Tests using UIVeri5 will continue to work in the foreseeable future. If you are looking for an alternative, you may consider: WDIO + WDI5
--------------------

$ npm install @ui5/uiveri5 -g
`Usage
$3
Create a clean folder that will contain your test and configuration files. UIVeri5 uses Jasmine as a test runner so the test resides in a spec.js file.
Put the declarative configuration in the conf.js file.* conf.js
`js
exports.config = {
profile: 'integration', baseUrl: 'https://openui5.hana.ondemand.com/test-resources/sap/m/demokit/master-detail/webapp/test/mockServer.html',
};
`* masterdetail.spec.js
`js
describe('masterdetail', function () { it('should load the app',function() {
expect(browser.getTitle()).toBe('Master-Detail');
});
it('should display the details screen',function() {
element(by.control({
viewName: 'sap.ui.demo.masterdetail.view.Master',
controlType: 'sap.m.ObjectListItem',
properties: {
title: 'Object 11'
}}))
.click();
});
it('should validate line items',function() {
expect(element.all(by.control({
viewName: 'sap.ui.demo.masterdetail.view.Detail',
controlType:'sap.m.ColumnListItem'}))
.count()).toBe(2);
});
});
`$3
Open console in the test folder and execute:
`
$ uiveri5
`
You will see the test execution in the console and an overview when the test completes. Check the target folder for a visual report with screenshots.$3
By default uiveri5 will discover all tests in current folder and execute them on localy started Chrome.
All of those defaults could be modified either in conf.js or by providing command-line arguments.* Specify non-default config file
`
$uiveri5 ci-conf.js
`
* Enable verbose logging
`
$uiveri5 -v
`
* Run tests on different browser
`
$uiveri5 --browsers=firefox
`
* Run tests against app deployed on a specific system
`
$uiveri5 --baseUrl="http://:/app"
`
* Run tests against a remote selenium server
`
$uiveri5 --seleniumAddress=":/wd/hub"
``* Docker container with UIVeri5, Chrome, Jenkins: Link