diff --git a/tests/src/FunctionalJavascript/WebformCivicrmTestBase.php b/tests/src/FunctionalJavascript/WebformCivicrmTestBase.php index 048ccd17d..889b2d3e4 100644 --- a/tests/src/FunctionalJavascript/WebformCivicrmTestBase.php +++ b/tests/src/FunctionalJavascript/WebformCivicrmTestBase.php @@ -674,6 +674,9 @@ protected function enableBillingSection() { protected function fillBillingFields($params) { $this->getSession()->getPage()->fillField('Billing First Name', $params['first_name']); $this->getSession()->getPage()->fillField('Billing Last Name', $params['last_name']); + + $this->createScreenshot($this->htmlOutputDirectory . '/legacy_billingfields.png'); + $this->getSession()->getPage()->fillField('Street Address', $params['street_address']); $this->getSession()->getPage()->fillField('City', $params['city']);