[FIX] website_slide: wait for the url to be checked before clicking
In the tour course_publisher_standard and course_publisher, the triggers were not making sure that the url was validated before clicking on the button, therefore clicking on a disabled button. This resulted in tests randomly failing on runbot. This commit adds an extra trigger to make sure the URL has been validated. runbot-4060 closes odoo/odoo#100369 X-original-commit: 2795d33d756e3101537c8ed0a017e6cc22afb1db Signed-off-by: Romain Derie (rde) <rde@odoo.com>
This commit is contained in:
@@ -59,6 +59,7 @@ wTourUtils.registerWebsitePreviewTour('course_publisher_standard', {
|
||||
}, {
|
||||
content: 'eLearning: click "Add URL" really adding image',
|
||||
trigger: '.o_upload_media_url_button',
|
||||
extra_trigger: '.o_we_url_success',
|
||||
}, {
|
||||
content: 'eLearning: is the Corgi set ?',
|
||||
trigger: 'iframe img.o_wslides_course_pict',
|
||||
|
||||
@@ -60,6 +60,7 @@ wTourUtils.registerWebsitePreviewTour('course_publisher', {
|
||||
}, {
|
||||
content: 'eLearning: click "Add URL" really adding image',
|
||||
trigger: '.o_upload_media_url_button',
|
||||
extra_trigger: '.o_we_url_success',
|
||||
}, {
|
||||
content: 'eLearning: is the Corgi set ?',
|
||||
trigger: 'iframe img.o_wslides_course_pict',
|
||||
|
||||
Reference in New Issue
Block a user