From abe91e9d8ebe54c1a54cd3d5925cb22d4d0d2713 Mon Sep 17 00:00:00 2001 From: Guy Sartorelli Date: Tue, 26 Nov 2024 10:32:58 +1300 Subject: [PATCH] MNT Update selector in behat to reflect changes in silverstripe/admin --- tests/behat/features/insert-content-link.feature | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/behat/features/insert-content-link.feature b/tests/behat/features/insert-content-link.feature index bb3c4c21..cef81ef4 100644 --- a/tests/behat/features/insert-content-link.feature +++ b/tests/behat/features/insert-content-link.feature @@ -18,10 +18,10 @@ Feature: Insert an internal link into content When I select "My page" in the "Content" HTML field And I press the "Insert link" HTML field button And I click "Page on this site" in the ".tox-collection__group" element - Then I should see an "form#Form_editorInternalLink" element - When I select "Another page" in the "#Form_editorInternalLink_PageID_Holder" tree dropdown + Then I should see an "form#Form_linkModalFormeditorInternalLink" element + When I select "Another page" in the "#Form_linkModalFormeditorInternalLink_PageID_Holder" tree dropdown And I fill in "my desc" for "Link description" - And I click on the "#Form_editorInternalLink_action_insert" element + And I click on the "#Form_linkModalFormeditorInternalLink_action_insert" element Then the "Content" HTML field should contain "" # Required to avoid "unsaved changes" browser dialog