1
0
forked from Mapan/odoo17e
odoo17e-kedaikipas58/addons/sale_planning/static/tests/tours/sale_planning_tour.js
2024-12-10 09:04:09 +07:00

25 lines
839 B
JavaScript

/** @odoo-module */
import { registry } from "@web/core/registry";
const planningTestTour = registry.category("web_tour.tours").get("planning_test_tour");
registry.category("web_tour.tours").add('sale_planning_test_tour', {
url: '/web',
test: true,
steps: () => [
...planningTestTour.steps(), {
trigger: ".o_gantt_cell.o_gantt_hoverable",
content: "Click on magnify icon to see list of sale order",
}, {
trigger: "tr.o_data_row td[data-tooltip='Junior Developer']",
content: "Select the slot and plan orders",
run: 'click',
}, {
trigger: ".o_gantt_pill span:contains(Junior Developer)",
content: "Check the naming format when SO is selected from magnify icon",
run: function () {},
},
],
});