Closed Bug 1905844 Opened 1 year ago Closed 1 year ago

Code coverage of Marionette test test_commandline.js incomplete

Categories

(Thunderbird :: General, task)

task

Tracking

(thunderbird_esr128 unaffected)

RESOLVED FIXED
129 Branch
Tracking Status
thunderbird_esr128 --- unaffected

People

(Reporter: darktrojan, Assigned: darktrojan)

References

Details

Attachments

(1 file)

Test test_windows_notification of test_commandline.js doesn't have any code coverage data reported. I know this test is running and passing, but it uses some code that no other test covers so I'm sure it's a recording/reporting problem.

test_windows_notification is the last test that runs from the file, and it quits and restarts Thunderbird, so I suspect the problem is the last session not being recorded. Adding a later test which also quits and restarts Thunderbird solves the problem.

Also works around another potential issue with the test – not waiting for the right page to load before moving on.

Pushed by solange@thunderbird.net:
https://hg.mozilla.org/comm-central/rev/068e9ccf42fd
Work around a test not recording coverage data. r=aleca

Status: ASSIGNED → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED

Works! :D

Target Milestone: --- → 128 Branch
Target Milestone: 128 Branch → 129 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: