jberthe / cypress-sapui5

Add the Cypress UI5 capabilitiey
Apache License 2.0
2 stars 0 forks source link
cypress cypress-io sapui5 ui5

CyPress for SAPui5

Description

This is an non-official add-onn for CyPRess which give the capabilities to manage UI5 control easily.

I will put in it as much as functions to help the use of CyPress dealing with SAPui5 world.

Please fill free to participate and contribute to that project.

The full documentation is based on the Wiki page here.

CyPress with Fiori Element application

Installation

npm install cypress-sapui5 --dev-install

{
    "env" : {
        "ui5" : {
            "auth" : {
                    "user" : "****",
                    "pass" : "****"
            },
            "serviceURL" : "http://localhost:8080/sap/opu/odata/**/**/",
            "flpURL" : "http://localhost:8080/test/flpSandbox.html?sap-language=FR",
            "targetMapping" : "objSem-action",
            "sap_sid" : "S01",
            "sap_client" : "100"
        }
    }
}

Add the import/require in the CypRess support/index.js file:

require('cypress-wait-until')
require('cypress-sapui5')

Be sure that in your package.json in devDependencies you have:

...,
"cypress-wait-until": "^1.6.1",
"cypress-sapui5": "^1.1.1"
...

Release

Version v1.1.2

Version v1.1.1

Version v1.1.0