Wunderbyte-GmbH / moodle-mod_booking

Moodle Booking Module
https://www.wunderbyte.at
21 stars 38 forks source link

Create a behat test for booking instance template #442

Open semteacher opened 5 months ago

semteacher commented 5 months ago

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.)

semteacher commented 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.

georgmaisser commented 4 months ago

Thank you. this needs fixing, but we don't have time now. let's just leave it there.