diff --git a/modules/localgov_services_landing/config/install/core.entity_form_display.node.localgov_services_landing.default.yml b/modules/localgov_services_landing/config/install/core.entity_form_display.node.localgov_services_landing.default.yml index 3344d3a..2f9701e 100644 --- a/modules/localgov_services_landing/config/install/core.entity_form_display.node.localgov_services_landing.default.yml +++ b/modules/localgov_services_landing/config/install/core.entity_form_display.node.localgov_services_landing.default.yml @@ -88,6 +88,7 @@ third_party_settings: classes: '' id: '' direction: vertical + width_breakpoint: 1138 group_social_media: children: - localgov_twitter diff --git a/modules/localgov_services_navigation/tests/src/FunctionalJavascript/EntityReferenceServicesAutocompleteTest.php b/modules/localgov_services_navigation/tests/src/FunctionalJavascript/EntityReferenceServicesAutocompleteTest.php index 34d8445..8c6f979 100644 --- a/modules/localgov_services_navigation/tests/src/FunctionalJavascript/EntityReferenceServicesAutocompleteTest.php +++ b/modules/localgov_services_navigation/tests/src/FunctionalJavascript/EntityReferenceServicesAutocompleteTest.php @@ -91,6 +91,7 @@ public function testServicesEntityReferenceAutocompleteWidget() { $page = $this->getSession()->getPage(); $assert_session = $this->assertSession(); + $this->click('#edit-group-description'); $autocomplete_field = $assert_session->waitForElement('css', '[name="' . $field_name . '[0][target_id]"].ui-autocomplete-input'); $autocomplete_field->setValue('Page'); $this->getSession()->getDriver()->keyDown($autocomplete_field->getXpath(), ' '); @@ -105,6 +106,7 @@ public function testServicesEntityReferenceAutocompleteWidget() { $page = $this->getSession()->getPage(); $assert_session = $this->assertSession(); + $this->click('#edit-group-description'); $autocomplete_field = $assert_session->waitForElement('css', '[name="' . $field_name . '[0][target_id]"].ui-autocomplete-input'); $autocomplete_field->setValue('Page'); $this->getSession()->getDriver()->keyDown($autocomplete_field->getXpath(), ' '); diff --git a/modules/localgov_services_navigation/tests/src/FunctionalJavascript/LandingPageChildrenTest.php b/modules/localgov_services_navigation/tests/src/FunctionalJavascript/LandingPageChildrenTest.php index 818acdc..b9d4f02 100644 --- a/modules/localgov_services_navigation/tests/src/FunctionalJavascript/LandingPageChildrenTest.php +++ b/modules/localgov_services_navigation/tests/src/FunctionalJavascript/LandingPageChildrenTest.php @@ -124,11 +124,12 @@ public function testServiceLandingPageLink() { $this->assertStringContainsString('child "> &one\' <"', $element->getHtml()); // Drag the child to a Tasks Link field. - $this->clickLink('Top tasks'); + $this->click('#edit-group-common-tasks'); $drag = $page->find('css', '#localgov-child-drag-' . $child[1]->id()); $target = $page->find('css', '#edit-localgov-common-tasks-0-uri'); $drag->dragTo($target); // Check it got populated. + sleep(2); $assert_session->fieldValueEquals('edit-localgov-common-tasks-0-uri', $child[1]->toUrl()->toString()); $assert_session->fieldValueEquals('edit-localgov-common-tasks-0-title', 'child "> &one\' <"'); @@ -204,7 +205,7 @@ public function testServiceLandingPageReference() { $assert_session->pageTextNotContains('status update listed on page elsewhere automatically'); // Drag the child to a Tasks Link field. - $this->clickLink('Child pages'); + $this->click('#edit-group-destinations'); $drag = $page->find('css', '#localgov-child-drag-' . $child[3]->id()); $target = $page->find('css', '#edit-localgov-destinations-0-target-id'); $drag->dragTo($target); diff --git a/modules/localgov_services_page/config/install/core.entity_form_display.node.localgov_services_page.default.yml b/modules/localgov_services_page/config/install/core.entity_form_display.node.localgov_services_page.default.yml index 23cb84f..3d48db7 100644 --- a/modules/localgov_services_page/config/install/core.entity_form_display.node.localgov_services_page.default.yml +++ b/modules/localgov_services_page/config/install/core.entity_form_display.node.localgov_services_page.default.yml @@ -84,6 +84,7 @@ third_party_settings: classes: '' id: '' direction: vertical + width_breakpoint: 1138 id: node.localgov_services_page.default targetEntityType: node bundle: localgov_services_page diff --git a/modules/localgov_services_sublanding/config/install/core.entity_form_display.node.localgov_services_sublanding.default.yml b/modules/localgov_services_sublanding/config/install/core.entity_form_display.node.localgov_services_sublanding.default.yml index 10f9dfb..f80edb8 100644 --- a/modules/localgov_services_sublanding/config/install/core.entity_form_display.node.localgov_services_sublanding.default.yml +++ b/modules/localgov_services_sublanding/config/install/core.entity_form_display.node.localgov_services_sublanding.default.yml @@ -27,6 +27,7 @@ third_party_settings: classes: '' id: '' direction: vertical + width_breakpoint: 1138 group_description: children: - localgov_services_parent