A quick overview of Outside's journey to rid its Drupal 7 site of jQuery and use emerging standards
Today, we are going to work on customizing tests by passing in custom parameters.
At the end of this tutorial, we will have a fully working test that implements Puppeteer, Mocha, and Chai for Outside Online.
Puppeteer allows you to do anything you would do manually in Chrome but through code. Need a screenshot? Want to test form inputs? Need to test your web speed? Puppeteer can do all that and more.
First off, before I go any further, if you operate a Drupal site and have not applied these patches already, please patch your site right now.
The DOMDocument is a class built in to PHP that helps developers navigate an HTML document tree and provides methods to help interact with the document.
A patch is a specific file that outlines all the changes made between two sets of files.
We want to share with the development community some of what we have learned while building Outside Online.
The build tools and systems we use at Outside to manage our code, our development, and most importantly, our deployment