Closed Bug 1772119 Opened 2 years ago Closed 2 years ago

Test coverage for repeated saving of contacts

Categories

(Thunderbird :: Address Book, enhancement)

enhancement

Tracking

(thunderbird_esr102 fixed, thunderbird102 fixed)

RESOLVED FIXED
103 Branch
Tracking Status
thunderbird_esr102 --- fixed
thunderbird102 --- fixed

People

(Reporter: u695164, Assigned: u695164)

References

Details

Attachments

(4 files)

Tests are needed for repeated saving to be sure that no leaking of other contact data is happening

The repeated saving should also include the other fields like Phone Numbers, Websites, Addresses, ... .
This follows next.

Attachment #9279094 - Attachment description: Bug 1772119 - Address book test for repeated saving with the name field. r=aleca → Bug 1772119 - Address book edit test for the N field with repeated savings. r=darktrojan
Attachment #9279607 - Attachment description: Bug 1772119 - Contact editing email field test coverage. r=darktrojan → Bug 1772119 - Contact editing email field test coverage with repeated savings. r=darktrojan

Pushed by geoff@darktrojan.net:
https://hg.mozilla.org/comm-central/rev/f6dafb9848e4
Address book edit test for the N field with repeated savings. r=darktrojan

Target Milestone: --- → 103 Branch

Pushed by mkmelin@iki.fi:
https://hg.mozilla.org/comm-central/rev/f600a1f79e74
Contact editing email field test coverage with repeated savings. r=darktrojan
https://hg.mozilla.org/comm-central/rev/57a1b8a23f56
Test coverage for the edit address book fields IMPP, URL, TEL and NOTE. r=darktrojan

Comment on attachment 9279094 [details]
Bug 1772119 - Address book edit test for the N field with repeated savings. r=darktrojan

[Approval Request Comment]
User impact if declined: These are tests for the new edit contact entries. For upcoming uplifts they are important to verify that the UI works. This patch is for the name field.
Testing completed (on c-c, etc.): on c-c, e.g. opt linux https://treeherder.mozilla.org/logviewer?job_id=381853260&repo=comm-central&lineNumber=5156
Risk to taking this patch (and alternatives if risky): This patch reduces the risk by running the tests on the beta/esr.

Attachment #9279094 - Flags: approval-comm-beta?

Comment on attachment 9279607 [details]
Bug 1772119 - Contact editing email field test coverage with repeated savings. r=darktrojan

[Approval Request Comment]
User impact if declined: These are tests for the new edit contact entries. For upcoming uplifts they are important to verify that the UI works. This patch includes the email fields.
Testing completed (on c-c, etc.): on c-c, e.g. opt linux https://treeherder.mozilla.org/logviewer?job_id=381853260&repo=comm-central&lineNumber=5156
Risk to taking this patch (and alternatives if risky): This patch reduces the risk by running the tests on beta/esr.

Attachment #9279607 - Flags: approval-comm-beta?

Comment on attachment 9280042 [details]
Bug 1772119 - Test coverage for the edit address book fields IMPP, URL, TEL and NOTE. r=darktrojan

[Approval Request Comment]
User impact if declined: These are tests for the new edit contact entries. For upcoming uplifts they are important to verify that the UI works. This patch includes the IMPP, URL, Tel and NOTE fields.
Testing completed (on c-c, etc.): on c-c, e.g. opt linux https://treeherder.mozilla.org/logviewer?job_id=381853260&repo=comm-central&lineNumber=5156
Risk to taking this patch (and alternatives if risky): This patch reduces the risk by running the tests on beta/esr.

Attachment #9280042 - Flags: approval-comm-beta?

Comment on attachment 9280042 [details]
Bug 1772119 - Test coverage for the edit address book fields IMPP, URL, TEL and NOTE. r=darktrojan

[Triage Comment]
Approved for beta

Attachment #9280042 - Flags: approval-comm-beta? → approval-comm-beta+

Comment on attachment 9279094 [details]
Bug 1772119 - Address book edit test for the N field with repeated savings. r=darktrojan

[Triage Comment]
Approved for beta

Attachment #9279094 - Flags: approval-comm-beta? → approval-comm-beta+

Comment on attachment 9279607 [details]
Bug 1772119 - Contact editing email field test coverage with repeated savings. r=darktrojan

[Triage Comment]
Approved for beta

Attachment #9279607 - Flags: approval-comm-beta? → approval-comm-beta+

We're missing tests for editing (multiple) addresses, anniversary, birthday, timezone and organizational properties.

Is this bug still open because these will be added here, or should I open a new bug?

Flags: needinfo?(nicolai)

(In reply to Henry Wilkes (they/them) [:henry] from comment #15)

We're missing tests for editing (multiple) addresses, anniversary, birthday, timezone and organizational properties.

Is this bug still open because these will be added here, or should I open a new bug?

Nevermind, I just realised there is a pending patch that does this.

Flags: needinfo?(nicolai)

As a reminder for me:
Bug 1774696 - Fix layout of the special date field
Needs to be addressed for the tests.

How come there's a 2 months old patch here that didn't land?

Flags: needinfo?(nicolai)
Flags: needinfo?(nicolai)

Pushed by geoff@darktrojan.net:
https://hg.mozilla.org/comm-central/rev/acd28aa99431
Edit address book tests for the rest of the properties. r=darktrojan

Status: ASSIGNED → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED

Comment on attachment 9281366 [details]
Bug 1772119 - Edit address book tests for the rest of the properties. r=darktrojan

[Triage Comment]
Test-only code that really should be on c-esr102. It appears the code being tested is present.

Attachment #9281366 - Flags: approval-comm-esr102+

Reminder to uplift acd28aa99431 to c-esr102.

Flags: needinfo?(rob)
Flags: needinfo?(rob)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: