Closed Bug 1950280 Opened 19 days ago Closed 18 days ago

Intermittent comm/mail/test/browser/folder-display/browser_deletionFromThreads.js | Group header in background tab should show the correct message count. -

Categories

(Thunderbird :: General, defect, P5)

Tracking

(Not tracked)

RESOLVED FIXED
137 Branch

People

(Reporter: intermittent-bug-filer, Assigned: TbSync)

References

Details

(Keywords: intermittent-failure, intermittent-testcase)

Attachments

(1 file)

See Also: → 1950086
Summary: Intermittent comm/mail/test/browser/folder-display/browser_deletionFromThreads.js | comm/mail/test/browser/folder-display/browser_deletionFromThreads.js | Group header in background tab should show the correct message count. - → Intermittent comm/mail/test/browser/folder-display/browser_deletionFromThreads.js | Group header in background tab should show the correct message count. -

The intermittent is caused by the delete action, which deletes the
currently selected message and then selects the next message. Quickly
changing folders after deleting a message causes the message not to
be marked as read intermittently and we could end up with an unexpected
read status in the final test and fail.

The patch makes sure that the expected read states are seen, before
moving on. We could also wait for the onFolderPropertyFlagChanged
event, but TestUtils.waitForCondition() seems good enough, as we know
that next message has to be marked as read eventually.

Assignee: nobody → john
Attachment #9468348 - Attachment description: WIP: Bug 1950280 - Add asserts to browser_deletionFromThreads.js to better understand test fails. → Bug 1950280 - Add asserts to browser_deletionFromThreads.js to better understand test fails. r=#thunderbird-reviewers
Status: NEW → ASSIGNED
Attachment #9468348 - Attachment description: Bug 1950280 - Add asserts to browser_deletionFromThreads.js to better understand test fails. r=#thunderbird-reviewers → Bug 1950280 - Attempt to fix intermittent in browser_deletionFromThreads.js. r=#thunderbird-reviewers
Target Milestone: --- → 137 Branch

Pushed by alessandro@thunderbird.net:
https://hg.mozilla.org/comm-central/rev/c3be8686c8a5
Attempt to fix intermittent in browser_deletionFromThreads.js. r=aleca,arschmitz

Status: ASSIGNED → RESOLVED
Closed: 18 days ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: