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 behat tests to support toast messages #97

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: 4 additions & 2 deletions tests/behat/features/create-taxonomies.feature
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,8 @@ Feature: Create taxonomies
And I press the "Create" button
When I follow "My taxonomy term"
And I click the "Children" CMS tab
Then I should see "My child taxonomy term"
Then I should see "My child taxonomy term" in the "#Form_ItemEditForm_Children" element
When I follow "Taxonomy Terms"
Then I should not see "My child taxonomy term"
# This needs a different selector, because it's in a different form.
# The Item in "#Form_EditForm_SilverStripe-Taxonomy-TaxonomyTerm" is a parent for "Children" CMS tab
Then I should not see "My child taxonomy term" in the "#Form_EditForm_SilverStripe-Taxonomy-TaxonomyTerm" element
GuySartorelli marked this conversation as resolved.
Show resolved Hide resolved
GuySartorelli marked this conversation as resolved.
Show resolved Hide resolved