ArnaudBuchholz / ui5-test-runner

A test runner for UI5 applications enabling parallel execution of tests.
https://arnaudbuchholz.github.io/ui5-test-runner/
MIT License
18 stars 9 forks source link

E2E test with a small UI5 application #59

Closed ArnaudBuchholz closed 9 months ago

ArnaudBuchholz commented 9 months ago

There are some many possible combinations of options that it would be interesting to add to the test suite an E2E test with a real UI5 application (it might be training-ui5con-18).

ArnaudBuchholz commented 9 months ago

It appears that 3.3.0 broke the following command :

node . --cwd ..\training-ui5con18-opa --port 8089 --url http://localhost:8089/test/testsuite.qunit.html --report-generator $/report.js $/junit-xml-report.js --coverage true

because ui5 mapping fails...

undefined 404 GET /resources/sap-ui-core.js
undefined 404 GET /resources/sap/ui/thirdparty/qunit-2.js
undefined 404 GET /resources/sap/ui/thirdparty/qunit-2.css
undefined 404 GET /resources/sap-ui-core.js
undefined 404 GET /resources/sap/ui/thirdparty/qunit.js
undefined 404 GET /resources/sap/ui/qunit/qunit-css.js

and it was not detected

ArnaudBuchholz commented 9 months ago

Again for 3.3.2, see #64

ArnaudBuchholz commented 9 months ago

Implemented JS and TS examples, covering legacy, legacy + remote, remote with or without coverage