diff --git a/composer.json b/composer.json index eba3ffa..8abd9ed 100644 --- a/composer.json +++ b/composer.json @@ -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", diff --git a/tests/behat/features/create-taxonomies.feature b/tests/behat/features/create-taxonomies.feature index 8675ebb..9489088 100644 --- a/tests/behat/features/create-taxonomies.feature +++ b/tests/behat/features/create-taxonomies.feature @@ -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"