Details
-
Bug
-
Resolution: Unresolved
-
Medium
-
None
-
4.5.x-dev, 4.6.x-dev
Description
Tests are tryinig to enter the Taxonomy create view, but it looks like the Create click does nothing.
Example failures:
Scenario: A tag with existing identifier cannot be added # vendor/ibexa/taxonomy/features/Taxonomy.feature:57 Given Tag with name "TestExisting" and identifier "TestExisting" exists under "root" Tag # Ibexa\Taxonomy\Behat\Context\Service\TaxonomyContext::createTag() And I am logged as admin # Ibexa\Behat\Browser\Context\AuthenticationContext::loggedAsAdmin() And I am viewing the Taxonomy Tag named "Root" # Ibexa\Taxonomy\Behat\Context\Browser\TaxonomyContext::openTagPage() When I start creating a new Tag # Ibexa\Taxonomy\Behat\Context\Browser\TaxonomyContext::startCreatingNewTag() And I set content fields # Ibexa\AdminUi\Behat\BrowserContext\ContentUpdateContext::iSetFields() | label | value | | Identifier | TestExisting | Ibexa\Behat\Browser\Exception\TimeoutException: CSS selector 'formElement': 'form.ibexa-form, .ibexa-edit-content' not found in 20 seconds. in vendor/ibexa/behat/src/lib/Browser/Element/BaseElement.php:75 Stack trace: #0 vendor/ibexa/behat/src/lib/Browser/Element/BaseElement.php(101): Ibexa\Behat\Browser\Element\BaseElement->waitUntil() #1 vendor/ibexa/admin-ui/src/lib/Behat/Page/ContentUpdateItemPage.php(74): Ibexa\Behat\Browser\Element\BaseElement->find() #2 vendor/ibexa/admin-ui/src/lib/Behat/BrowserContext/ContentUpdateContext.php(37): Ibexa\AdminUi\Behat\Page\ContentUpdateItemPage->verifyIsLoaded() │ │ JS Console errors: │ http://web/favicon.ico - Failed to load resource: the server responded with a status of 404 (Not Found) │ Application logs: │ [2024-02-19T22:19:26.092710+00:00] Starting Step "I start creating a new Tag" │ [2024-02-19T22:19:27.652940+00:00] Ending Step "I start creating a new Tag" │ [2024-02-19T22:19:27.653309+00:00] Starting Step "I set content fields" │ [2024-02-19T22:19:31.359487+00:00] Ending Step "I set content fields" │ [2024-02-19T22:19:31.359814+00:00] Starting Step "I click the edit action bar button "Save"" │ [2024-02-19T22:19:31.740523+00:00] Ending Step "I click the edit action bar button "Save"" │ [2024-02-19T22:19:31.740829+00:00] Starting Step "success notification that "Content published." appears" │ [2024-02-19T22:19:32.907602+00:00] Ending Step "success notification that "Content published." appears" │ [2024-02-19T22:19:32.907931+00:00] Starting Step "I should be viewing the Taxonomy Tag named "TestNestedCreate"" │ [2024-02-19T22:19:33.132100+00:00] Ending Step "I should be viewing the Taxonomy Tag named "TestNestedCreate"" │ [2024-02-19T22:19:33.132447+00:00] Starting Step "Tag "Root/TestNestedCreateParent/TestNestedCreate" exists in the Taxonomy tree" │ [2024-02-19T22:19:36.944869+00:00] Ending Step "Tag "Root/TestNestedCreateParent/TestNestedCreate" exists in the Taxonomy tree" │ [2024-02-19T22:19:36.945154+00:00] Ending Scenario "New Tag can be created under chosen nested node" │ [2024-02-19T22:19:37.306346+00:00] Starting Scenario "A tag with existing identifier cannot be added" │ [2024-02-19T22:19:37.306646+00:00] Starting Step "Tag with name "TestExisting" and identifier "TestExisting" exists under "root" Tag" │ [2024-02-19T22:19:37.531063+00:00] Ending Step "Tag with name "TestExisting" and identifier "TestExisting" exists under "root" Tag" │ [2024-02-19T22:19:37.531353+00:00] Starting Step "I am logged as admin" │ [2024-02-19T22:19:39.356441+00:00] Ending Step "I am logged as admin" │ [2024-02-19T22:19:39.356811+00:00] Starting Step "I am viewing the Taxonomy Tag named "Root"" │ [2024-02-19T22:19:40.398616+00:00] Ending Step "I am viewing the Taxonomy Tag named "Root"" │ [2024-02-19T22:19:40.398914+00:00] Starting Step "I start creating a new Tag" │ [2024-02-19T22:19:41.136705+00:00] Ending Step "I start creating a new Tag" │ [2024-02-19T22:19:41.137038+00:00] Starting Step "I set content fields" │ [2024-02-19T22:20:01.090019+00:00] Ending Step "I set content fields" │ │ └─ @AfterStep # Ibexa\Behat\Browser\Context\DebuggingContext::getLogsAfterFailedStep() And I click the edit action bar button "Save" # Ibexa\AdminUi\Behat\BrowserContext\ContentActionsMenuContext::clickEditActionBar() Then field "Identifier" contains validation error 'Taxonomy Entry with identifier "TestExisting" already exists in "tags" taxonomy tree. Please use unique identifier.' #