What do you use to automate Daily app tests?
Best Answer
-
This blog post might be a good starting point.
Currently, we use Jest with a custom environment that spins up headless chromedrivers controlled by selenium,specifically, selenium-webdriver. I imagine Puppeteer would work well too.
Working with a well established, off the shelf test driver (Jest) is great, especial WRT standardized output. Setting up a custom environment allows for the flexibility to test multiple webdriver instances talking to each other (aka joining a Daily call).
As with all E2E tests, they occasionally can be flaky. These tests touch The Internet and can be affected by network weather, as well as chromedriver (webdrivers in general) can be a little difficult to work with because they do a lot- as in, everything a browser does 😂 😭. But they are also super powerful and you can do a lot of reflection and introspection with them.
1