Intern JS - how can I use Promise.all() within chained Command methods?
I am new to writing tests with Intern JS and have been following their documentation to use the Object interface and Page objects , particularly. According to the docs, the idea behind page objects is to encapsulate the DOM for a particular page, in case of the markup changing. In attempting to follow the page object pattern, my goal is to have a method on myPage which uses Promise.all() to find several DOM elements, and then return these to an actual test function. I'm roughly basing this on the Promise.all() example near the top of the documentation for leadfood/Command . I'm suspecting I'm