The UI5 Custom Control Spreadsheet Upload is used in many different scenarios.
To ensure that changes do not affect the function, the basic function and a few other additional functions are tested with wdi5 tests.
The overview of which scenarios are covered by wdi5 tests can be found here: wdi5 tests
The basic config file is the
To avoid having to create a separate configuration file for each scenario, logic is integrated into the file so that the appropriate variables are automatically drawn, for example the port or the appropriate spec files.
The data for this is stored at the
You can run the tests for OData V2 and V4 UI5 Version 108 in the root folder with:
which will run
pnpm --filter ui5-cc-spreadsheetimporter-sample test -- -- ordersv4fe 108.
So you can run all the other apps like
Run single spec¶
You can also run single test specs. You need to go in the
examples folder for this.
For example you can run the test spec
OpenSpreadsheetUploadDialog with OData V2 FE UI5 Version 96 with:
The wdi5 tests in GitHub Actions must run headless, which is also possible to call locally with:
As specified in the
testapps.json file, the GitHub Action Workflow will run on every Pull Request push, testing scenarios with all current UI5 Maintenance Versions and is written down in
More info at GitHub Actions