Posts tagged with chai-as-promised

  • Functional Testing - Hiding Async

    Aug 6, 2016

    In the previous post, we explored the Page Object pattern and rewrote our tests to use this technique. Sometimes, it can be that the tests appear to be a bit verbose due to the usage of promises. Additionally, promises and asynchronous programming in general can be somewhat confusing to developers. Let’s see some ways of making the tests shorter and easier to read.

  • Chai as promised with Chai string

    Feb 22, 2016

    Here’s a small tip that puzzled us at work the other day for a while. How do you use chai-as-promised together with chai-string?

This site uses third party cookies from Google Analytics and Google AdSense Accept and close popup