Don't rely on `webdriver.promise` or `webdriver.promise.Scheduler`
sjelin opened this issue · 0 comments
sjelin commented
webdriver.promise.ControlFlow.EventType.IDLE
can fallback on"IDLE"
new webdriver.promise.Promise(...)
should fall back on native promisesisPromise
should just be part ofmaybePromise
(not strictly necessary but worth doing sincemaybePromise
needs this anyway)initJasmineWd(flow)
should haveflow
as optional and default to a mock flow similar toSimpleScheduler
but with onlyexecute()
andpromise()
implemented. This is obviously not the prettiest solution but it's probably best given time constraints.