PURPOSE This commit adds a big flow test/tours to the survey sessions, for the host point of view. This will avoid breaking the feature with future changes, as it contains some tricky and complex mechanics (especially the screens chaining). SPECS The tour tests the whole host point of view. Break down of the testing/tour main points: - Create the survey session - Check our attendees are accounted for - Open the 'session manager' - Display the nickname question, and move to the next one (as answers are not displayed for nickname questions) - Check answers are correctly displayed for the 3 'simple' question types (text, date, datetime) - Move to the choice question and check that answers are displayed - If everything is correctly displayed, move to the next question - On the scored choice question, check that the screens are correctly chained: no results displayed -> results displayed -> correct/incorrect answers -> leaderboard - On the scored + timed multiple choice question, check the same than previous question, except that the results are supposed to be displayed automatically when the question timer runs out - Test the 'back' behavior and check that screens are reversed correctly - Check that our final leaderboard is correct based on attendees answers - Close the survey session LINKS PR #46768 Task 2208574
16 lines
527 B
Python
16 lines
527 B
Python
# -*- coding: utf-8 -*-
|
|
# Part of Odoo. See LICENSE file for full copyright and licensing details.
|
|
|
|
from . import common
|
|
from . import test_survey
|
|
from . import test_survey_flow
|
|
from . import test_certification_flow
|
|
from . import test_survey_invite
|
|
from . import test_survey_security
|
|
from . import test_survey_randomize
|
|
from . import test_survey_ui_certification
|
|
from . import test_survey_ui_feedback
|
|
from . import test_survey_ui_session
|
|
from . import test_survey_compute_pages_questions
|
|
from . import test_certification_badge
|