Closed Bug 1759590 Opened 3 years ago Closed 3 years ago

Add more tests for the imip-bar and itip subsytem.

Categories

(Calendar :: E-mail based Scheduling (iTIP/iMIP), task)

Tracking

(thunderbird_esr102 wontfix)

RESOLVED FIXED
104 Branch
Tracking Status
thunderbird_esr102 --- wontfix

People

(Reporter: lasana, Assigned: lasana)

References

Details

Attachments

(9 files)

48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review

There are various situations that can occur when receiving an invitation or an update to one. For example; the user may accept an update to an event that has been removed from the calendar. Among these scenarios exist opportunity for subtle bugs especially when changing existing behavior.

We should add some more tests so detecting breakages is easier.

Attachment #9269436 - Attachment description: Bug 1759590 - Add tests for a single, non-repeating event. r=darktrojan → Bug 1759590 - Add accept,tentative and decline tests for single and non-repeating events. r=aleca
Attachment #9269436 - Attachment description: Bug 1759590 - Add accept,tentative and decline tests for single and non-repeating events. r=aleca → Bug 1759590 - Add tests for a single, non-repeating event. r=darktrojan
Attachment #9269436 - Attachment description: Bug 1759590 - Add tests for a single, non-repeating event. r=darktrojan → Bug 1759590 - Add tests for a single, non-repeating event. r=#thunderbird-reviewers
Attachment #9269436 - Attachment description: Bug 1759590 - Add tests for a single, non-repeating event. r=#thunderbird-reviewers → Bug 1759590 - Add tests for repeating and non-repeating events. r=#thunderbird-reviewers
Attachment #9272429 - Attachment description: Bug 1759590 - Add tests for updates. r=#thunderbird-reviewers → Bug 1759590 - Add tests for single updates. r=#thunderbird-reviewers
Status: NEW → ASSIGNED
Target Milestone: --- → 101 Branch

Pushed by nicolai@thunderbird.net:
https://hg.mozilla.org/comm-central/rev/9168f7fa4f40
Add tests for repeating and non-repeating events. r=aleca

Status: ASSIGNED → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Status: RESOLVED → REOPENED
Keywords: leave-open
Resolution: FIXED → ---
Status: REOPENED → ASSIGNED

Pushed by alessandro@thunderbird.net:
https://hg.mozilla.org/comm-central/rev/1742667bb401
Add tests for single updates. r=aleca
https://hg.mozilla.org/comm-central/rev/025979eaaa3b
Add tests for updates to recurring events. r=aleca

Flags: needinfo?(lasana)

Pushed by mkmelin@iki.fi:
https://hg.mozilla.org/comm-central/rev/2e59fcfeb153
Add tests for single updates. r=aleca
https://hg.mozilla.org/comm-central/rev/4e45cee65075
Add tests for updates to recurring events. r=aleca

Depends on: 1765879, 1745147
Blocks: 1748449
Target Milestone: 101 Branch → 102 Branch
Attachment #9275554 - Attachment description: Bug 1759590 - Add tests for accepting exceptions to events when still in "NEEDS-ACTION status. r=aleca → Bug 1759590 - Add tests for processing exceptions to events when still in "NEEDS-ACTION status. r=aleca

Pushed by mkmelin@iki.fi:
https://hg.mozilla.org/comm-central/rev/f09d1d2c5a11
Add tests for recurring event exceptions. r=aleca
https://hg.mozilla.org/comm-central/rev/13cfd5d62939
Add tests for accepting an exception without the parent event. r=aleca
https://hg.mozilla.org/comm-central/rev/c522d623d5ce
Add tests for processing exceptions to events when still in "NEEDS-ACTION status. r=aleca

I backed out the most recent commits, one of the new tests is failing quite badly. I'm pretty sure it was in the first of the three, but it's easier to take them all out and land them all again than try to merge the changes. (Also there's a typo in the last commit message you might want to fix up.)

Backout:
https://hg.mozilla.org/comm-central/rev/25d85010d36c7a13b62a89d29956a2906ff24bc5

Status: ASSIGNED → RESOLVED
Closed: 3 years ago3 years ago
Resolution: --- → FIXED
Status: RESOLVED → REOPENED
Resolution: FIXED → ---

That wasn't meant to happen!

D144741 was supposed to land before D145813.

Please land again since D144741 has already landed.
Edit:
Or maybe it would be easier to backout https://hg.mozilla.org/comm-central/rev/25d85010d36c7a13b62a89d29956a2906ff24bc5 ?

Status: REOPENED → ASSIGNED

Pushed by mkmelin@iki.fi:
https://hg.mozilla.org/comm-central/rev/0c1c5ab13c61
Add tests for recurring event exceptions. r=aleca
https://hg.mozilla.org/comm-central/rev/19e4ea95a978
Add tests for accepting an exception without the parent event. r=aleca
https://hg.mozilla.org/comm-central/rev/1a65436305f3
Add tests for processing exceptions to events when still in "NEEDS-ACTION status. r=aleca

Attachment #9282872 - Attachment description: WIP: Bug 1759590 - Add tests for repeat and non-repeat cancellations. r=#thunderbird-reviewers → Bug 1759590 - Add tests for repeat and non-repeat cancellations. r=#thunderbird-reviewers

Once these last set of tests land, this can be closed. Much more testing is needed but can be done in other bugs. This forms a basic set of tests that can hopefully detect some breakage when basic changes are made to the invitation handling code.

Target Milestone: 102 Branch → 104 Branch

Pushed by geoff@darktrojan.net:
https://hg.mozilla.org/comm-central/rev/b0af754b3b4c
Add tests for repeat and non-repeat cancellations. r=#thunderbird-reviewers,darktrojan
https://hg.mozilla.org/comm-central/rev/25ed96da509f
Add tests for cancelling recurring event exceptions. r=#thunderbird-reviewers,darktrojan

Status: ASSIGNED → RESOLVED
Closed: 3 years ago3 years ago
Resolution: --- → FIXED
Attachment #9285103 - Attachment description: Bug 1759590 - Request longer timeout for browser_impipBarExceptionCancel.js r=#thunderbird-reviewers → Bug 1759590 - Request longer timeout for browser_impipBarExceptionCancel.js r=leftmostcat
Pushed by geoff@darktrojan.net: https://hg.mozilla.org/comm-central/rev/2e2643b4f894 Request longer timeout for browser_impipBarExceptionCancel.js r=darktrojan
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: