Skip to content

Commit a2943be

Browse files
committed
[IMP] website: adapt tour website mobile order
1 parent 4ad151e commit a2943be

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

addons/website/static/tests/tours/website_update_column_count.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ const changeFirstAndSecondColumnsMobileOrder = (snippetRowSelector, snippetName)
1616
run: "click",
1717
}, {
1818
content: "Change the orders of the 1st and 2nd columns",
19-
trigger: ":iframe .o_overlay_move_options [data-name='move_right_opt']",
19+
trigger: "body .o_overlay_options button[title='Move right']",
2020
run: "click",
2121
}];
2222
};
@@ -176,7 +176,7 @@ registerWebsitePreviewTour("website_mobile_order_with_drag_and_drop", {
176176
...toggleMobilePreview(false),
177177
{
178178
content: "Drag a 'Text-Image' column and drop it in the same snippet",
179-
trigger: ":iframe .o_overlay_move_options .o_move_handle",
179+
trigger: "body .o_overlay_options .o_move_handle",
180180
run: `drag_and_drop ${textImageSnippetRow}`,
181181
},
182182
checkIfNoMobileOrder(textImageSnippetRow),
@@ -191,7 +191,7 @@ registerWebsitePreviewTour("website_mobile_order_with_drag_and_drop", {
191191
run: "click",
192192
}, {
193193
content: "Drag the second column of 'Columns' and drop it in 'Text-Image'",
194-
trigger: ":iframe .o_overlay_move_options .o_move_handle",
194+
trigger: "body .o_overlay_options .o_move_handle",
195195
run: `drag_and_drop ${textImageSnippetRow}`,
196196
},
197197
checkIfNoMobileOrder(textImageSnippetRow),

addons/website/tests/test_ui.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -710,7 +710,6 @@ def test_drop_404_ir_attachment_url(self):
710710
})
711711
self.start_tour(self.env['website'].get_client_action_url('/'), 'drop_404_ir_attachment_url', login='admin')
712712

713-
@unittest.skip
714713
def test_mobile_order_with_drag_and_drop(self):
715714
self.start_tour(self.env['website'].get_client_action_url('/'), 'website_mobile_order_with_drag_and_drop', login='admin')
716715

0 commit comments

Comments
 (0)