Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
MNT Update selector in behat to reflect changes in silverstripe/admin
Browse files Browse the repository at this point in the history
GuySartorelli committed Nov 25, 2024

Verified

This commit was signed with the committer’s verified signature.
GuySartorelli Guy Sartorelli
1 parent fd17856 commit abe91e9
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
@@ -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

0 comments on commit abe91e9

Please sign in to comment.