ui_test_core: utility function for Promise compatibility
Selenium asynchronicity does not use Promise, but calls function while it returns true, we were implementing this logic in two places and implementing wrongly because some case of errors where not reported. Introduce a wrapper that makes turns Promise into a function returning a boolean like selenium is using and use it in setFile and verifyImageMatchSnapshot commands Also a bit more of jsdoc comments for typescript.
Showing
Please register or sign in to comment