diff --git a/tests/src/FunctionalJavascript/ContributionDummyTest.php b/tests/src/FunctionalJavascript/ContributionDummyTest.php index e20a7a1b9..b35ba57d4 100644 --- a/tests/src/FunctionalJavascript/ContributionDummyTest.php +++ b/tests/src/FunctionalJavascript/ContributionDummyTest.php @@ -688,7 +688,6 @@ public function testAssignContributionSecondContactSelectByUserPaymentProcessor( $this->assertSession()->elementTextContains('css', '#wf-crm-billing-total', '10.00'); $this->htmlOutput(); - $this->assertSession()->assertWaitOnAjaxRequest(); $this->fillCardAndSubmit(); $api_result_contribution = $this->utils->wf_civicrm_api('contribution', 'get', [ diff --git a/tests/src/FunctionalJavascript/CustomFieldSubmissionTest.php b/tests/src/FunctionalJavascript/CustomFieldSubmissionTest.php index 2f8e7ba60..9a7052c57 100644 --- a/tests/src/FunctionalJavascript/CustomFieldSubmissionTest.php +++ b/tests/src/FunctionalJavascript/CustomFieldSubmissionTest.php @@ -345,7 +345,6 @@ public function testDynamicCustomFields() { $this->drupalGet($fieldURL); $this->getSession()->getPage()->checkField('Active?'); $this->getSession()->getPage()->pressButton('_qf_Field_done-bottom'); - $this->assertSession()->assertWaitOnAjaxRequest(); $this->drupalGet($this->webform->toUrl('canonical')); $this->htmlOutput(); diff --git a/tests/src/FunctionalJavascript/EventTest.php b/tests/src/FunctionalJavascript/EventTest.php index 839b6020e..f84845ee4 100644 --- a/tests/src/FunctionalJavascript/EventTest.php +++ b/tests/src/FunctionalJavascript/EventTest.php @@ -94,7 +94,6 @@ function testParticipantContactReference() { $this->getSession()->getPage()->selectFieldOption('Payment Processor', 'Pay Later'); $this->saveCiviCRMSettings(); - $this->assertSession()->assertWaitOnAjaxRequest(); $this->drupalGet($this->webform->toUrl('canonical')); $this->htmlOutput(); diff --git a/tests/src/FunctionalJavascript/ExistingContactElementTest.php b/tests/src/FunctionalJavascript/ExistingContactElementTest.php index b7016eec3..a7941306b 100644 --- a/tests/src/FunctionalJavascript/ExistingContactElementTest.php +++ b/tests/src/FunctionalJavascript/ExistingContactElementTest.php @@ -86,7 +86,6 @@ function testRenderingOfExistingContactElement() { foreach ([2, 3, 4] as $c) { $this->getSession()->getPage()->clickLink("Contact {$c}"); - $this->assertSession()->assertWaitOnAjaxRequest(); //Make second contact as household contact. if ($c == 2) { $this->getSession()->getPage()->selectFieldOption("{$c}_contact_type", 'Household'); diff --git a/tests/src/FunctionalJavascript/SaveSettingsTest.php b/tests/src/FunctionalJavascript/SaveSettingsTest.php index 6ccf6ddef..bd3fe95c1 100644 --- a/tests/src/FunctionalJavascript/SaveSettingsTest.php +++ b/tests/src/FunctionalJavascript/SaveSettingsTest.php @@ -81,7 +81,6 @@ function testPaging() { $this->assertElementsOnBuildForm($elements); $this->drupalGet($this->webform->toUrl('edit-form')); $this->getSession()->getPage()->clickLink('Source'); - $this->assertSession()->assertWaitOnAjaxRequest(); $this->assertSession()->pageTextContains('contact_pagebreak'); } @@ -111,7 +110,6 @@ function testDeleteField() { // Cancel this action. $this->getSession()->getPage()->pressButton('edit-cancel'); - $this->assertSession()->assertWaitOnAjaxRequest(); $this->assertSession()->waitForField('nid'); $this->htmlOutput(); diff --git a/tests/src/FunctionalJavascript/WebformCivicrmTestBase.php b/tests/src/FunctionalJavascript/WebformCivicrmTestBase.php index 7f4245ee8..c7585de4b 100644 --- a/tests/src/FunctionalJavascript/WebformCivicrmTestBase.php +++ b/tests/src/FunctionalJavascript/WebformCivicrmTestBase.php @@ -693,7 +693,6 @@ protected function fillBillingFields($params) { protected function fillCardAndSubmit($billingValues = []) { if (!empty($billingValues)) { $this->getSession()->getPage()->checkField("civicrm_1_contribution_1_contribution_billing_address_same_as"); - $this->assertSession()->assertWaitOnAjaxRequest(); $this->getSession()->wait(1000); // Verify populated values for billing fields. @@ -776,7 +775,6 @@ protected function addEmailHandler($params) { } $this->getSession()->getPage()->selectFieldOption('edit-settings-body', '_other_'); - $this->assertSession()->assertWaitOnAjaxRequest(); $this->fillCKEditor('settings[body_custom_html][value]', $params['body']); $this->getSession()->getPage()->pressButton('Save'); }