From 55ffc7e6af2a9bf5378d834c1107129580f9bcd5 Mon Sep 17 00:00:00 2001 From: KarinG Date: Sun, 29 Sep 2024 16:26:19 -0600 Subject: [PATCH] Update MembershipSubmissionTest.php --- tests/src/FunctionalJavascript/MembershipSubmissionTest.php | 3 +++ 1 file changed, 3 insertions(+) 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]]));