UI browser tests can be flaky, and it can be really frustrating to have to re-run a test suite because 1/50 tests failed and most likely, it'll work on the next run. webdriverio offers retries but...
Using headless chrome for your UI tests works great out of the box on your laptop, but it won’t work out of the box when you're trying to run your tests in Docker. One recent work project was getting...
https://youtu.be/66E7y12GQaE
^ Update - check out my video walkthrough where I follow along with the post and show you how I set it up.
https://youtu.be/wvvIz60DNp4
^ EDIT 10/2019 – I’ve published a...
Can I use jest to run webdriverio tests?
You have a web app and you're using jest for unit testing your components. You're checking out webdriverio to run your UI tests in javascript. Webdriverio...
Have you run into an error saying "Element is not clickable at point" when you're trying to click a button? You might be seeing this if you have a spinner that appears on your buttons or its...
If you're loading a page and want to make sure that some elements are showing up before advancing, you'd be inclined to use browser.waitUntil(). While it does do the job, it holds onto the errors...
There's a few ways to go about getting text from a list of elements, but there's a gotcha with webdriverIO that can make your tests a lot flakier.
The easiest way should be to:
// get some of the...
Ever want to stop your Selenium tests halfway and try to see what your tests are seeing? Using .debug() helps but be aware of your test timeouts & context around your code.
EDIT 10/2019 - I've...
Last week, I started working on integrating a test suite previously built using Nightwatch, and making it work with webdriverIO. While I love all of webdriverIO's features like synchronous code when...
If you're following along, in my previous post, i was building a blog with gatsby. Now that I've got some changes made to my blog, I want to make sure that the blog is loading at least and click...
Cookbooks can also get the same red, green, refactor loop going the same way you would with a simple application. It's not all roses though because the loop itself takes a few minutes at a time. Even...
How do you get started with chef cookbooks as an app dev?
My first time approaching Chef was after doing Android for about 2 years. Whether you're working on the front-end or backend or even on...