Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Fixed
-
3.7
-
MOODLE_37_STABLE
-
MOODLE_37_STABLE
-
MDL-63977-beforemerge -
Description
This improvement allows testing of mobile app features and plugins using Behat in the same way as any other Moodle feature.
In order to do the testing you will need a developer setup of the mobile app, and to configure this in your config.php. The actual testing will take place in Chrome using the Ionic dev server.
This is fully documented here:
https://docs.moodle.org/dev/Acceptance_testing_for_the_mobile_app
This approach is a good solution for plugin testing. It is probably also a good option for testing features built in to the app, although a disadvantage in that situation is that test scripts for the app need to live within Moodle source. See documentation above for more about that - it might need future enhancement.
Attachments
Issue Links
- has a non-specific relationship to
-
MDL-65869 Remove the @app tests from core
-
- Closed
-
-
MDL-65725 Create acceptance tests for the mobile app
-
- Closed
-
- has been marked as being related by
-
MDL-68525 Behat broken since MDL-67317 + Chrome 81 using $CFG->behat_profiles as in the docs
-
- Closed
-
-
MDL-64967 Behat: Mobile app testing does not load CSS files from plugins/site
-
- Closed
-
- is blocked by
-
MOBILE-1683 Create docker machine for Moodle Mobile testing
-
- Development in progress
-
- will be (partly) resolved by
-
MOBILE-2837 Create a docker image
-
- Closed
-