From db69d15f054810dd11bf708430171c7a76976d67 Mon Sep 17 00:00:00 2001 From: Guy Sartorelli <36352093+GuySartorelli@users.noreply.github.com> Date: Wed, 27 Nov 2024 17:12:22 +1300 Subject: [PATCH] MNT Update selector in behat to reflect changes in silverstripe/admin (#616) --- 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