[IMP] test_main_flows: improve test for project,timesheet

This commit improves the test to handle the changes made in the
project, sale_timesheet modules.

PR : #72736
See odoo/upgrade#2706

task-2545084
This commit is contained in:
Cedric Prieels (cpr)
2021-09-06 10:41:14 +02:00
committed by Laurent Stukkens (LTU)
parent fa88c5fd04
commit c5048ebc6a
@@ -895,6 +895,44 @@ tour.stepUtils.mobileModifier(tour.stepUtils.autoExpandMoreButtons('.o_control_p
extra_trigger: '.o_form_readonly',
content: _t('See Timesheets'),
position: 'bottom',
}, {
mobile: true,
trigger: '.o_enable_searchview',
content: _t('Open the search field'),
position: 'bottom',
}, {
mobile: true,
trigger: '.o_toggle_searchview_full',
content: _t('Open the full search field'),
position: 'bottom',
}, {
trigger: '.o_group_by_menu .o_dropdown_toggler',
content: _t('Click on the group by button'),
position: 'bottom',
}, {
trigger: '.dropdown-item.selected:contains(Employee)',
extra_trigger: '.dropdown-menu.show',
content: _t('Remove group by employee'),
position: 'bottom',
}, {
trigger: '.dropdown-item.selected:contains(Billable Type)',
extra_trigger: '.dropdown-menu.show',
content: _t('Remove group by billable type'),
position: 'bottom',
}, {
mobile: true,
trigger: '.o_mobile_search_footer',
content: _t('Close the search dropdown on mobile'),
position: 'bottom',
}, {
mobile: true,
trigger: '.o_cp_bottom_right .o_cp_switch_buttons .btn-link',
content: _t('Prepare to change the view on mobile'),
position: 'bottom',
}, {
trigger: '.o_switch_view.o_list',
content: _t('Activate the list view'),
position: 'bottom',
}, {
trigger: '.o_list_button_add',
content: _t('Add a Timesheet'),