diff --git a/tests/src/FunctionalJavascript/ContributionIatsTest.php b/tests/src/FunctionalJavascript/ContributionIatsTest.php index 66f018cdf..2929b67c7 100644 --- a/tests/src/FunctionalJavascript/ContributionIatsTest.php +++ b/tests/src/FunctionalJavascript/ContributionIatsTest.php @@ -269,10 +269,11 @@ public function testSubmitContribution() { 'postal_code' => '53177', ]; $this->fillBillingFields($billingValues); + $this->createScreenshot($this->htmlOutputDirectory . '/legacy_billingfields.png'); + $this->getSession()->getPage()->pressButton('Submit'); // throw new \Exception(var_export($this->htmlOutputDirectory, TRUE)); - $this->createScreenshot($this->htmlOutputDirectory . '/legacy_billingfields.png'); $this->htmlOutput(); $this->assertPageNoErrorMessages(); $this->assertSession()->pageTextContains('New submission added to CiviCRM Webform Test.');