mirror of
https://github.com/silverstripe/silverstripe-subsites
synced 2024-10-22 11:05:55 +02:00
MNT Fix behat test
This commit is contained in:
parent
47e293bdeb
commit
229152d354
@ -19,8 +19,7 @@ Feature: Insert an internal link into content
|
|||||||
And I press the "Insert link" HTML field button
|
And I press the "Insert link" HTML field button
|
||||||
And I click "Page on this site" in the ".tox-collection__group" element
|
And I click "Page on this site" in the ".tox-collection__group" element
|
||||||
Then I should see an "form#Form_editorInternalLink" element
|
Then I should see an "form#Form_editorInternalLink" element
|
||||||
When I click on the ".treedropdownfield" element
|
When I select "Another page" in the "#Form_editorInternalLink_PageID_Holder" tree dropdown
|
||||||
And I click "Another page" in the ".treedropdownfield__menu" element
|
|
||||||
And I fill in "my desc" for "Link description"
|
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_editorInternalLink_action_insert" element
|
||||||
Then the "Content" HTML field should contain "<a title="my desc" href="[sitetree_link"
|
Then the "Content" HTML field should contain "<a title="my desc" href="[sitetree_link"
|
||||||
|
Loading…
Reference in New Issue
Block a user