Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MNT Update selector in behat to reflect changes in silverstripe/admin #616

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading