Skip to content

Commit

Permalink
Update WebformCivicrmTestBase.php
Browse files Browse the repository at this point in the history
  • Loading branch information
KarinG authored Feb 4, 2024
1 parent 80d1768 commit ca9a252
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tests/src/FunctionalJavascript/WebformCivicrmTestBase.php
Original file line number Diff line number Diff line change
Expand Up @@ -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']);

Expand Down

0 comments on commit ca9a252

Please sign in to comment.