diff --git a/tests/src/FunctionalJavascript/MembershipSubmissionTest.php b/tests/src/FunctionalJavascript/MembershipSubmissionTest.php index af8e052b..bbaf356b 100644 --- a/tests/src/FunctionalJavascript/MembershipSubmissionTest.php +++ b/tests/src/FunctionalJavascript/MembershipSubmissionTest.php @@ -231,6 +231,9 @@ public function testSubmitMembershipQueryParams() { $this->getSession()->getPage()->pressButton('Save'); $this->createScreenshot($this->htmlOutputDirectory . '/debug06.png'); + + $this->assertSession()->assertWaitOnAjaxRequest(); + $this->getSession()->getPage()->pressButton('Save elements'); $this->drupalLogout(); $this->drupalGet($this->webform->toUrl('canonical', ['query' => ['membership' => 2]]));