From 8a4a0b184745215b6a75dae98df9e7d16d6fc2bf Mon Sep 17 00:00:00 2001 From: Steve Boyd Date: Mon, 8 Jan 2024 14:23:49 +1300 Subject: [PATCH] DEP Update deps to specify new auto-scaffolded has-one field --- composer.json | 4 ++-- tests/behat/features/create-taxonomies.feature | 4 +++- 2 files changed, 5 insertions(+), 3 deletions(-) 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"