Category: automation

Photo by Kellen Riggin from Unsplash

Test the Theme toggle app using react-testing-library

In my previous article we’ve built an app with Theme toggling capability. In this article, let’s test that feature. I’ll be using react-testing-library and jest-dom as a partner library for the react-testing-library for leveraging custom DOM element matchers for Jest. Let’s install both the libraries as dev dependencies. npm install -D react-testing-library jest-dom Since we used create-react-app, there is a […] read more
Scenario Outline

Cucumber Extent Report v3.0.2

Hope everyone doing great. I’ve been busy with other things, hence I have neither written any article nor updated my library. But I’ve a quick update to everyone. I’ve just released v3.0.2 of Cucumber Extent Report with a small bug fix (refer here). Thanks to Anshoo Arora for the quick pull request. And I’ve been receiving queries often that the […] read more
Cucumber Extent Report

Cucumber Extent Report 3.x.x with ExtentX

Update: A new patch has been released with additional feature to assign authors to scenario. Kindly update to v3.0.1. Refer documentation. I’m happy to announce that now the Cucumber Extent Report comes with the support for configuring your ExtentX dashboard. And moreover, introducing ExtentProperties enum to help you to configure extent related settings. If you are using a maven based […] read more

Test Automation using NightWatch – Part 1

Nightwatch Examples In this blog series, I’m going to show you what I’ve learned automating using NightwatchJs. A NightwatchJs is an E2E testing framework used for automating browser web apps. It uses the W3C WebDriver API as the underlying to perform automation. It has the built in test runner, which can run the tests even in parallel, by group and […] read more