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
31
32
33
34
35
36
37
38
|
odoo.define('website_livechat.tour', function(require) {
'use strict';
var commonSteps = require("website_livechat.tour_common");
var tour = require("web_tour.tour");
tour.register('website_livechat_complete_flow_tour', {
test: true,
url: '/',
}, [].concat(commonSteps.startStep, commonSteps.endDiscussionStep, commonSteps.okRatingStep, commonSteps.feedbackStep, commonSteps.transcriptStep, commonSteps.closeStep));
tour.register('website_livechat_happy_rating_tour', {
test: true,
url: '/',
}, [].concat(commonSteps.startStep, commonSteps.endDiscussionStep, commonSteps.goodRatingStep));
tour.register('website_livechat_ok_rating_tour', {
test: true,
url: '/',
}, [].concat(commonSteps.startStep, commonSteps.endDiscussionStep, commonSteps.okRatingStep, commonSteps.feedbackStep));
tour.register('website_livechat_sad_rating_tour', {
test: true,
url: '/',
}, [].concat(commonSteps.startStep, commonSteps.endDiscussionStep, commonSteps.sadRatingStep, commonSteps.feedbackStep));
tour.register('website_livechat_no_rating_tour', {
test: true,
url: '/',
}, [].concat(commonSteps.startStep, commonSteps.endDiscussionStep, commonSteps.transcriptStep, commonSteps.closeStep));
tour.register('website_livechat_no_rating_no_close_tour', {
test: true,
url: '/',
}, [].concat(commonSteps.startStep));
return {};
});
|