From 6728a6e3f2d59ae6fa696d88481851e87dbdd315 Mon Sep 17 00:00:00 2001 From: Imanol Eguskiza Date: Tue, 3 Jan 2023 14:10:08 +0100 Subject: [PATCH] EWPP-000: Amend. --- composer.json | 2 +- tests/src/FunctionalJavascript/CorporateContactFormTest.php | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/composer.json b/composer.json index 95f5f48..b258799 100644 --- a/composer.json +++ b/composer.json @@ -10,7 +10,7 @@ "cweagans/composer-patches": "~1.4", "drupal/contact_storage": "^1.3", "drupal/contact_storage_export": "^1.14", - "drupal/core": "~9.4", + "drupal/core": "^9.3", "drupal/csv_serialization": "^2.0", "drupal/multivalue_form_element": "^1.0.0-beta5", "drupal/token": "^1.8", diff --git a/tests/src/FunctionalJavascript/CorporateContactFormTest.php b/tests/src/FunctionalJavascript/CorporateContactFormTest.php index 78fea08..25d7cfb 100644 --- a/tests/src/FunctionalJavascript/CorporateContactFormTest.php +++ b/tests/src/FunctionalJavascript/CorporateContactFormTest.php @@ -446,6 +446,7 @@ protected function fillCoreContactFields(): void { $page->fillField('label', 'Test form'); $page->fillField('recipients', 'test@example.com'); + sleep(10); // Overcome machine name not being accessible. $this->getSession()->executeScript('jQuery("#edit-id").val("oe_corporate_form");'); }