Skip to content

Commit

Permalink
Also log errors
Browse files Browse the repository at this point in the history
  • Loading branch information
KarinG authored Sep 29, 2024
1 parent 561329f commit 7773aaf
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion tests/src/FunctionalJavascript/MembershipSubmissionTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -243,14 +243,19 @@ public function testSubmitMembershipQueryParams() {
$this->getSession()->getPage()->fillField('First Name', 'Frederick');
$this->getSession()->getPage()->fillField('Last Name', 'Pabst');
$this->assertSession()->pageTextContains('Basic Plus');
\CRM_Core_Error::debug_log_message('here 1');
$this->getSession()->getPage()->pressButton('Submit');
\CRM_Core_Error::debug_log_message('here 2');
$this->htmlOutput();
// ToDo ->
\CRM_Core_Error::debug_log_message('here 3');
$this->assertPageNoErrorMessages();
\CRM_Core_Error::debug_log_message('here 4');
$this->createScreenshot($this->htmlOutputDirectory . '/debug08.png');

$this->assertSession()->pageTextContains('New submission added to CiviCRM Webform Test.');

\CRM_Core_Error::debug_log_message('here 5');

$api_result = $this->utils->wf_civicrm_api('membership', 'get', [
'sequential' => 1,
]);
Expand Down

0 comments on commit 7773aaf

Please sign in to comment.