Commit Graph
3 Commits
Author SHA1 Message Date
Christophe Monniez fd31c1e5b3 [FIX] website_event_questions: add wait for confirmation step
During the `test_01_tickets_questions` a tour is started as a portal
user to reserve tickets for the newly created event.
At the end of the tour, a modal is opened and once filled, the `continue`
button is used. The problem is that the tour stops without waiting but
the python tests continues. If the HttpCase session is cleared before
the tickets are registered, the test fails with a `400 Bad Request:
Session expired` warning and the next python assertion cannot be
fullfilled.

closes odoo/odoo#57400

X-original-commit: 33896d8f0d60bfa26601f1c5ca49009fcf735ab0
Signed-off-by: Aaron Bohy (aab) <aab@odoo.com>
Signed-off-by: Christophe Monniez (moc) <moc@odoo.com>
2020-09-10 09:38:25 +00:00
Thibault Delavallée 5853ad9ad7 [FIX] website_event_questions: remove "General questions" not-loved section
Remove "General questions" label in registration. According to our test user
base it is confusing.

Task ID-2169118
odoo/odoo#55967
odoo/enterprise#12438

X-original-commit: 7e2b24bb8c2361896b069d138991b487e2f09bfe
2020-08-17 16:29:51 +00:00
Aurélien Warnon 0132ab608a [IMP] website_event_questions: add test tour for event questions
This commit adds a test tour that will fill up two tickets with a few questions
answers and then assert that the answers are correctly saved for each attendee.

This will help ensuring that the new "free text question" feature works
correctly, along with existing "suggestion question".

LINKS

PR #45497
Task ID 2189529
2020-03-31 10:39:05 +00:00