Skip to content

Commit

Permalink
MNT Fix behat tests
Browse files Browse the repository at this point in the history
  • Loading branch information
GuySartorelli committed Jan 26, 2023
1 parent c552d2e commit 63aa9c7
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions tests/Behat/features/add-link-to-anchor.feature
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,10 @@ So that I can direct users directly to the relevant information
And I press the "Insert link" HTML field button
And I click "Anchor on a page" in the ".tox-menu" element
Then I should see an "form#Form_editorAnchorLink" element
And I should see "No Blocks" in the ".treedropdownfield__value-container" element
And I should see "No Blocks" in the "#Form_editorAnchorLink_PageID_Holder .treedropdownfield__value-container" element
When I select "Elemental" in the "#Form_editorAnchorLink_PageID_Holder" tree dropdown
And I select "element-anchor" in the "#Form_editorAnchorLink_Anchor_Holder" anchor dropdown
Then I should see "element-anchor" in the ".anchorselectorfield__value-container" element
Then I should see "element-anchor" in the "#Form_editorAnchorLink_Anchor_Holder .anchorselectorfield__value-container" element
# Close the dialog now that we're done with it.
When I click on the "button.close" element

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

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

0 comments on commit 63aa9c7

Please sign in to comment.