• Jérome Perrin's avatar
    ui_test_core: utility function for Promise compatibility · 949f4a95
    Jérome Perrin authored
    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.
    949f4a95
user-extensions.js.js 12.7 KB