[FIX] *: adapt QUnit tests and tours

[FIX] *: selectors in tours

[FIX][TMP] account: CogMenu selector in tours

[FIX][TMP] web*: Breadcrumb targetting in tours

Adds a `o_breadcrumb` class to target the whole breadcrumb, no matter
how much elements it contains (collapsed parts, visible path, single
name...).

add classname on last breadcrumb item

[FIX][TMP] project: View buttons selector in tours (moved away from CP)

[FIX][TMP] project: Kanban selectors in tours (quick create)

[FIX][TMP] *: SearchBar selectors in tours (toggle menu)

[FIX][TMP] *: ButtonBox selector in tours

[WIP][IMP] web: add toggleSearchBarMenu in search helpers

adapt and unskip 3 list tests

adapt and unskip calendar tests

unskip web_tour test that actually pass

post rebase fix

allow to lose cell focus after multi edition (given to searchbar) - bug reported, to check later

post rebase fixes

fix

Part-of: odoo/odoo#116641
This commit is contained in:
Pierre Paridans
2023-05-12 22:59:22 +02:00
parent 3aaa0bfff1
commit eef262abf4
112 changed files with 3673 additions and 2329 deletions
@@ -483,11 +483,11 @@ export const stepUtils = {
autoExpandMoreButtons(extra_trigger) {
return {
trigger: ".oe_button_box",
trigger: ".o-form-buttonbox",
extra_trigger: extra_trigger,
auto: true,
run: (actions) => {
const $more = $(".oe_button_box .o_button_more");
const $more = $(".o-form-buttonbox .o_button_more");
if ($more.length) {
actions.click($more);
}
@@ -498,7 +498,7 @@ export const stepUtils = {
goBackBreadcrumbsMobile(description, ...extraTrigger) {
return extraTrigger.map((element) => ({
mobile: true,
trigger: ".breadcrumb-item.o_back_button",
trigger: ".o_back_button",
extra_trigger: element,
content: description,
position: "bottom",
@@ -596,6 +596,11 @@ export const stepUtils = {
mobileKanbanSearchMany2X(modalTitle, valueSearched) {
return [
{
mobile: true,
trigger: `.o_control_panel_navigation .btn .fa-search`,
position: "bottom",
},
{
mobile: true,
trigger: ".o_searchview_input",