diff --git a/addons/mail/static/tests/tours/user_modify_own_profile_tour.js b/addons/mail/static/tests/tours/user_modify_own_profile_tour.js index 15cf7ebe40b..39dc3ae10f4 100644 --- a/addons/mail/static/tests/tours/user_modify_own_profile_tour.js +++ b/addons/mail/static/tests/tours/user_modify_own_profile_tour.js @@ -24,9 +24,11 @@ registry.category("web_tour.tours").add("mail/static/tests/tours/user_modify_own { content: "Save the form", trigger: 'button[name="preference_save"]', + extra_trigger: "body.modal-open", }, { content: "Wait until the modal is closed", + isCheck: true, trigger: "body:not(.modal-open)", }, ],