Skip to content

Commit

Permalink
revert test (#12659)
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewmakarov authored Apr 13, 2020
1 parent 00caf5d commit 64bd346
Showing 1 changed file with 5 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -257,14 +257,13 @@ QUnit.module('Appointment popup form', moduleConfig, () => {
assert.ok(appointmentPopup.form.isRecurrenceEditorVisible(), 'Recurrence editor should be visible after click on recurrence appointment');
assert.equal(appointmentPopup.form.getSubject(), defaultData[0].text, 'Subject in form should equal selected appointment');

// TODO: Fix unstable test asserts
// scheduler.appointmentPopup.clickDoneButton();
scheduler.appointmentPopup.clickDoneButton();

// scheduler.appointments.click(); // click on common appointment, due to redrawing its index has changed
// scheduler.tooltip.clickOnItem();
scheduler.appointments.click(); // click on common appointment, due to redrawing its index has changed
scheduler.tooltip.clickOnItem();

// assert.notOk(scheduler.appointmentPopup.form.isRecurrenceEditorVisible(), 'Recurrence editor shouldn\'t visible on click on common appointment');
// assert.equal(scheduler.appointmentPopup.form.getSubject(), NEW_EXPECTED_SUBJECT, 'Subject in form should equal selected common appointment');
assert.notOk(scheduler.appointmentPopup.form.isRecurrenceEditorVisible(), 'Recurrence editor shouldn\'t visible on click on common appointment');
assert.equal(scheduler.appointmentPopup.form.getSubject(), NEW_EXPECTED_SUBJECT, 'Subject in form should equal selected common appointment');
});


Expand Down

0 comments on commit 64bd346

Please sign in to comment.