Closed Bug 1573382 Opened 5 years ago Closed 5 years ago

testAlarmDialog.js is failing a lot lately

Categories

(Calendar :: General, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED
Thunderbird 70.0

People

(Reporter: jorgk-bmo, Assigned: darktrojan)

Details

(Keywords: intermittent-failure)

Attachments

(1 file)

I've noticed this too, and I think I may have a way to fix it. I need to run it on Try a few times.

Flags: needinfo?(geoff)

This seems to do the trick. I don't know why it's started happening more recently, but looking at the change I made I'm surprised it didn't fail more.

Assignee: nobody → geoff
Status: NEW → ASSIGNED
Attachment #9085009 - Flags: review?(paul)
Comment on attachment 9085009 [details] [diff] [review]
1573382-test-alarm-dialog-1.diff

Review of attachment 9085009 [details] [diff] [review]:
-----------------------------------------------------------------

Looks good, just a couple comment edits for clarity.  Huzzah for fewer randomly failing tests!

::: calendar/test/mozmill/eventDialog/testAlarmDialog.js
@@ +59,5 @@
>              allday: true,
>              reminder: "1day",
>          });
>  
> +        // Dismiss the alarm.

For clarity, lets change this comment to "Prepare to dismiss the alarm." since the alarm hasn't happened yet.

@@ +76,5 @@
>          let { eid: eventid } = helpersForController(event);
>  
>          setData(event, iframe, { reminder: "2days" });
>  
> +        // Snooze the alarm.

Same here: "Prepare to snooze the alarm."
Attachment #9085009 - Flags: review?(paul) → review+

Pushed by mozilla@jorgk.com:
https://hg.mozilla.org/comm-central/rev/c4e99f8017a7
Plan for alarm dialog earlier, in testAlarmDialog.js. r=pmorris

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

Landed with comments adjusted.

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

Attachment

General

Created:
Updated:
Size: