Skip to content

Commit 63aa9c7

Browse files
committed
MNT Fix behat tests
1 parent c552d2e commit 63aa9c7

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

tests/Behat/features/add-link-to-anchor.feature

+6-6
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,10 @@ So that I can direct users directly to the relevant information
1717
And I press the "Insert link" HTML field button
1818
And I click "Anchor on a page" in the ".tox-menu" element
1919
Then I should see an "form#Form_editorAnchorLink" element
20-
And I should see "No Blocks" in the ".treedropdownfield__value-container" element
20+
And I should see "No Blocks" in the "#Form_editorAnchorLink_PageID_Holder .treedropdownfield__value-container" element
2121
When I select "Elemental" in the "#Form_editorAnchorLink_PageID_Holder" tree dropdown
2222
And I select "element-anchor" in the "#Form_editorAnchorLink_Anchor_Holder" anchor dropdown
23-
Then I should see "element-anchor" in the ".anchorselectorfield__value-container" element
23+
Then I should see "element-anchor" in the "#Form_editorAnchorLink_Anchor_Holder .anchorselectorfield__value-container" element
2424
# Close the dialog now that we're done with it.
2525
When I click on the "button.close" element
2626

@@ -34,10 +34,10 @@ So that I can direct users directly to the relevant information
3434
And I press the "Insert link" HTML field button
3535
And I click "Anchor on a page" in the ".tox-menu" element
3636
Then I should see an "form#Form_editorAnchorLink" element
37-
And I should see "Elemental" in the ".treedropdownfield__value-container" element
37+
And I should see "Elemental" in the "#Form_editorAnchorLink_PageID_Holder .treedropdownfield__value-container" element
3838
When I select "No Blocks" in the "#Form_editorAnchorLink_PageID_Holder" tree dropdown
3939
And I select "normal-anchor" in the "#Form_editorAnchorLink_Anchor_Holder" anchor dropdown
40-
Then I should see "normal-anchor" in the ".anchorselectorfield__value-container" element
40+
Then I should see "normal-anchor" in the "#Form_editorAnchorLink_Anchor_Holder .anchorselectorfield__value-container" element
4141
# Close the dialog now that we're done with it.
4242
When I click on the "button.close" element
4343

@@ -51,8 +51,8 @@ So that I can direct users directly to the relevant information
5151
And I press the "Insert link" HTML field button
5252
And I click "Anchor on a page" in the ".tox-menu" element
5353
Then I should see an "form#Form_editorAnchorLink" element
54-
And I should see "Elemental" in the ".treedropdownfield__value-container" element
54+
And I should see "Elemental" in the "#Form_editorAnchorLink_PageID_Holder .treedropdownfield__value-container" element
5555
When I select "another-anchor" in the "#Form_editorAnchorLink_Anchor_Holder" anchor dropdown
56-
Then I should see "another-anchor" in the ".anchorselectorfield__value-container" element
56+
Then I should see "another-anchor" in the "#Form_editorAnchorLink_Anchor_Holder .anchorselectorfield__value-container" element
5757
# Close the dialog now that we're done with it.
5858
When I click on the "button.close" element

0 commit comments

Comments
 (0)