Skip to content

Commit

Permalink
Merge pull request #101 from creative-commoners/pulls/3/behat
Browse files Browse the repository at this point in the history
DEP Update deps to specify new auto-scaffolded has-one field
  • Loading branch information
GuySartorelli authored Jan 8, 2024
2 parents aad1f8b + 8a4a0b1 commit afbb9c4
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@
],
"require": {
"php": "^8.1",
"silverstripe/framework": "^5",
"silverstripe/admin": "^2"
"silverstripe/framework": "^5.2",
"silverstripe/admin": "^2.2"
},
"require-dev": {
"phpunit/phpunit": "^9.6",
Expand Down
4 changes: 3 additions & 1 deletion tests/behat/features/create-taxonomies.feature
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,9 @@ Feature: Create taxonomies
Then I should see the "li.current a.active[title='Taxonomy Terms']" element
When I press the "Add Taxonomy Term" button
And I fill in "Name" with "My taxonomy term"
And I select "My taxonomy type" from "Type"
And I fill in "Form_ItemEditForm_TypeID__input" with "My taxonomy type"
And I wait for 3 seconds
And I press the "Enter" key globally
And I press the "Create" button
When I follow "Taxonomy Terms"
Then I should see "My taxonomy term"
Expand Down

0 comments on commit afbb9c4

Please sign in to comment.