public static void WaitValue(this OrderStatusSelector orderStatusSelector, WorkOrderStatus status) { orderStatusSelector.Selector.Text.Wait().EqualTo(status.GetDescription()); }
public static void SelectByValue(this OrderStatusSelector orderStatusSelector, WorkOrderStatus status) { orderStatusSelector.Overlay.Container.Click(); orderStatusSelector.Selector.ItemListPresent.Wait().EqualTo(true); orderStatusSelector.Selector.GetMenuItemList <Button>().First(x => x.Text.Get() == status.GetDescription()).Click(); }