[FIX] test_main_flows: adapt tour to new view layout

This commit is contained in:
Christophe Simonis
2017-07-31 16:09:36 +02:00
parent f46a393602
commit 3462ec3787
@@ -96,6 +96,10 @@ tour.register('main_flow_tour', {
trigger: '.o_field_widget[name=route_ids] .o_checkbox + label:contains("Make To Order")',
content: _t('Check Make To Order'),
position: 'right',
}, {
trigger: '.o_notebook a:contains("Purchase")',
content: _t('Go to purchase tab'),
position: 'top',
}, {
trigger: ".o_field_widget[name=seller_ids] .o_field_x2many_list_row_add > a",
content: _t('Let\'s enter the cost price'),
@@ -144,8 +148,8 @@ tour.register('main_flow_tour', {
content: _t("Click here to edit your component"),
position: "right",
}, {
trigger: '.o_notebook a:contains("Inventory")',
content: _t('Go to inventory tab'),
trigger: '.o_notebook a:contains("Purchase")',
content: _t('Go to purchase tab'),
position: 'top',
}, {
trigger: ".o_field_widget[name=seller_ids] .o_field_x2many_list_row_add > a",