https://blueprints.launchpad.net/fuel/+spec/ui-functional-tests-with-intern
Fuel front-end should be covered with functional tests to avoid regression.
Functional tests for the front-end layer of Fuel are currently created with CasperJS framework, while tests are run against headless browser phantomjs as a part of CI procedure.
Developer that works on bug fix or creates a new feature supposed to cover them with both unit and functional tests to avoid regression. The way functional tests are created and maintained currently is complex since CasperJS is not that flexible with the single-page web applications as InternJS. In addition there is no way to run tests against browsers with UI for debugging purposes.
Adopt InternJS as the primary testing framework for UI functional tests.
Test runner run_tests.sh should be updated correspondingly to utilize Intern instead of Casper. Expected syntax:
None
None
None
None
None
None
None
As soon Intern-based tests are run against Firefox browser it will take additional time for CI to validate patchsets committed.
None
None
Front-end developers have to cover features and fixes they work on with functional tests. These efforts should be taken into account while planning.
CI workers should be able to run Firefox browser in order to execute functional tests against it.
Primary assignee:
Other contributors:
None
None
Documentation should be modified to remove mentions of CasperJS and its installation prerequisites. Usage and installation of InternJS should be described instead.