-
Bug
-
Resolution: Unresolved
-
Minor
-
None
-
5.0
-
MOODLE_500_STABLE
-
- Pull from branch
- Execute behat tests ("Warning on unsaved form when tab is changing")
-
-
-
3
-
WP Sprint 2025-I2.2 (Clones)
In workplace we have this issue WP-5399 which adds the modal that informs you that you have unsaved changes in a form when you are going to change the tab.
We added some tests to make sure that it works and they don't pass. I added the same tests in core and they don't pass either.
The problem is that behat is checking that M.util.pending_js is empty and since the modal has been changed changing the tab with shown.bs.tab it is never empty.
- has been marked as being related by
-
MDL-85264 Dynamic tab changes no longer prompt form change checker
-
- Closed
-