public static void Close(this DayEditor editor)
 {
     if (editor.InfoView.IsPresent.Get())
     {
         editor.InfoView.Edit.Click();
         editor.EditingView.WaitPresence();
     }
     editor.EditingView.Cancel.Click();
     editor.WaitAbsence(componentDescription: $"{nameof(DayEditor)}");
 }
 public static void ClickMakeDayOff(this DayEditor editor)
 {
     editor.InfoView.WaitPresence(componentDescription: $"{nameof(editor.InfoView)}");
     editor.InfoView.Remove.Click();
     editor.WaitAbsence(componentDescription: $"{nameof(DayEditor)}");
 }