blob: ac0c2f275d9054b37290639179d003e9b743287f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
odoo.define('survey.test_survey_session_create_tour', function (require) {
"use strict";
var tour = require('web_tour.tour');
var surveySessionTools = require('survey.session_tour_tools');
/**
* Small tour that will simply start the session and wait for attendees.
*/
tour.register('test_survey_session_create_tour', {
url: "/web",
test: true,
}, [].concat(surveySessionTools.accessSurveySteps, [{
trigger: 'button[name="action_start_session"]',
}, {
trigger: '.o_survey_session_attendees_count:contains("0")',
run: function () {} // check session is correctly started
}]));
});
|