blob: 9f831367aaca4280e1f3a37e4e30875d77d6c6fa (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
odoo.define('pos_restaurant.tour.BillScreenTourMethods', function (require) {
'use strict';
const { createTourMethods } = require('point_of_sale.tour.utils');
class Do {
clickBack() {
return [
{
content: `go back`,
trigger: `.receipt-screen .back`,
},
];
}
}
class Check {
isShown() {
return [
{
content: 'Bill screen is shown',
trigger: '.receipt-screen h1:contains("Bill Printing")',
run: () => {},
},
];
}
}
return createTourMethods('BillScreen', Do, Check);
});
|