How did you setup Capybara + Webdrivers on WSL for testing?

twitter logo github logo ・1 min read

I recently started contributing to dev.to's GitHub repository by refactoring some .js files to meet the eslint specs. Some of the files that need to be refactored require multiple other ones to be refactored too at the same time in order to not break certain functionality.

In order to check for that I have been trying to setup the Acceptance testing as specified in the docs + with some online help to check whether all functionality remains as is or not. But I have been hitting various hurdles throughout where either the chrome binary wouldn't be found, post that after installation it posted Invalid Session id or sometimes it would work totally. It's a mystery for me currently.

Any help / pointer in the right direction would be much appreciated :D. Willing to provide any details required for the same!

twitter logo DISCUSS
Classic DEV Post from Mar 5

3 Things You Can Do to Improve as a Developer

How do we identify and solve real problems?

Yash Dave profile image
.NET Core and Web <3. React, Python enthusiast... VS Code is my salvation.

Sore eyes?

dev.to now has dark mode.

Go to the "misc" section of your settings and select night theme ❤️