Closed
Bug 1779967
Opened 3 years ago
Closed 3 years ago
Rewrite test_form_submission* tests with async function
Categories
(Toolkit :: Form Manager, task, P3)
Toolkit
Form Manager
Tracking
()
RESOLVED
WONTFIX
People
(Reporter: arai, Unassigned)
References
Details
Attachments
(2 obsolete files)
those test use function callback heavily and that causes unexpected execution order that causes bug 1481802 and bug 1685473.
The test needs to be rewritten with async function that explicitly waits for each operation, with single control flow.
| Reporter | ||
Updated•3 years ago
|
| Reporter | ||
Comment 1•3 years ago
|
||
Use single async function that uses promise for waiting asynchronous things,
and explicitly wait for all of them.
Also fix test_form_submission_cap.html and test_form_submission_cap2.html
to properly use checkForSave and explicitly wait for the result.
| Reporter | ||
Comment 2•3 years ago
|
||
Depends on D151997
| Reporter | ||
Comment 3•3 years ago
|
||
Updated•3 years ago
|
Priority: -- → P3
Comment 4•3 years ago
|
||
FYI Bug 1642570 changes some of these tests. I'd recommend to wait for it to be fixed before proceeding with this one.
Depends on: 1642570
Updated•3 years ago
|
Severity: -- → N/A
Updated•3 years ago
|
Attachment #9285795 -
Attachment is obsolete: true
Updated•3 years ago
|
Attachment #9285796 -
Attachment is obsolete: true
| Reporter | ||
Updated•3 years ago
|
Assignee: arai.unmht → nobody
Status: ASSIGNED → RESOLVED
Closed: 3 years ago
Resolution: --- → WONTFIX
You need to log in
before you can comment on or make changes to this bug.
Description
•