addons/test_discuss_full/static/tests/tours/im_livechat_session_open_tour.js
raw| 1 | import { registry } from "@web/core/registry"; |
| 2 | |
| 3 | registry.category("web_tour.tours").add("im_livechat_session_open", { |
| 4 | steps: () => [ |
| 5 | { |
| 6 | trigger: "button.o_switch_view.o_list", |
| 7 | run: "click", |
| 8 | }, |
| 9 | { |
| 10 | trigger: ".o_data_cell:contains(Visitor)", |
| 11 | run: "click", |
| 12 | }, |
| 13 | { |
| 14 | trigger: ".o-mail-Thread:contains('The conversation is empty.')", |
| 15 | }, |
| 16 | ], |
| 17 | }); |