Skip to content

Commit

Permalink
Merge pull request #97 from creative-commoners/pulls/2.5/test-toast-m…
Browse files Browse the repository at this point in the history
…essage

MNT Update behat tests to support toast messages
  • Loading branch information
GuySartorelli authored Nov 12, 2023
2 parents 3122034 + 063f75d commit f05d874
Showing 1 changed file with 4 additions and 2 deletions.
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

0 comments on commit f05d874

Please sign in to comment.