From 229152d354d99467f9203417a455cac89f14805f Mon Sep 17 00:00:00 2001 From: Guy Sartorelli Date: Fri, 27 Jan 2023 13:44:48 +1300 Subject: [PATCH] MNT Fix behat test --- tests/behat/features/insert-content-link.feature | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/tests/behat/features/insert-content-link.feature b/tests/behat/features/insert-content-link.feature index 9ac35e9..bb3c4c2 100644 --- a/tests/behat/features/insert-content-link.feature +++ b/tests/behat/features/insert-content-link.feature @@ -19,8 +19,7 @@ Feature: Insert an internal link into content 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 click on the ".treedropdownfield" element - And I click "Another page" in the ".treedropdownfield__menu" element + When I select "Another page" in the "#Form_editorInternalLink_PageID_Holder" tree dropdown And I fill in "my desc" for "Link description" And I click on the "#Form_editorInternalLink_action_insert" element Then the "Content" HTML field should contain "