Drupal Core Testing With Nightwatch: Writing Tests
That afternoon, we’ll be writing our first tests for Olivero. Matt will once again be mentoring. We’ll be concentrating on writing the Nightwatch install script and an initial test. When the Nightwatch test suite executes a test, it runs an installation script to set up the test Drupal site. We’ll need to write a script that enables Olivero and sets up some content. Once we have the install script created, we will test the Olivero menu collapse when a user begins scrolling on the page.
Matt Glaman
Principal Consultant @ Bluehorn Digital
Matt Glaman has worked with Drupal for over 7 years, he specializes in e-commerce and headless applications.
https://www.midcamp.org/2021/topic-proposal/drupal-core-testing-nightwatch-writing-tests
Matt Glaman
Principal Consultant @ Bluehorn Digital
Matt Glaman has worked with Drupal for over 7 years, he specializes in e-commerce and headless applications.
https://www.midcamp.org/2021/topic-proposal/drupal-core-testing-nightwatch-writing-tests