Open semteacher opened 5 months ago
1st test in https://github.com/Wunderbyte-GmbH/moodle-mod_booking/commit/31fd475f91068276b68a17715fbaa2f57a5a2190 Only few fields supported by instance template feature. Even less fields supported - multiline editors (like intro - "Booking text") does not populated from template too.
Thank you. this needs fixing, but we don't have time now. let's just leave it there.
To write some basic test or tests for Booking instance templates. Instance templates currently only work with JavaScript (in the future this will be done better and without JS). They also do not work for autocomplete-Fields. So it is necessary to write some basic tests that check instance templates for some normal text fields (like "Booking instance name", "Booking text", "Poll url" etc.)