Skip to content

Commit

Permalink
MNT Update selector in behat to reflect changes in silverstripe/admin (
Browse files Browse the repository at this point in the history
  • Loading branch information
GuySartorelli authored Nov 27, 2024
1 parent fe2b6b7 commit db69d15
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/behat/features/insert-content-link.feature
Original file line number Diff line number Diff line change
Expand Up @@ -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 "<a title="my desc" href="[sitetree_link"
And the "Content" HTML field should contain "My page</a>"
# Required to avoid "unsaved changes" browser dialog
Expand Down

0 comments on commit db69d15

Please sign in to comment.