Uploaded image for project: 'Ibexa IBX'
  1. Ibexa IBX
  2. IBX-3113

[Behat] Tests fail to find newly created Content Type

    XMLWordPrintable

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Low Low
    • None
    • 4.2.0-beta1, 4.1.5, 3.3.23
    • QA

    Description

      Tests fail to find the newly created Content Type in Admin UI Content Type picker.

       

      Error:

                | ezbinaryfile      | File        |               | value  | binary1.txt.zip     |        |        |        |        | binary1.txt     |
                  Ibexa\Behat\Browser\Exception\ElementNotFoundException: Could not find element named: 'File CT'. Collection is empty. CSS locator 'filteredItem': '.ibexa-content-menu-wrapper .ibexa-extra-actions__section-content--content-type .ibexa-instant-filter__group-item:not([hidden]) .form-check-label'. in vendor/ibexa/behat/src/lib/Browser/Element/ElementCollection.php:61
                  Stack trace:
                  #0 vendor/ibexa/admin-ui/src/lib/Behat/Component/ContentTypePicker.php(35): Ibexa\Behat\Browser\Element\ElementCollection->getByCriterion()
                  #1 vendor/ibexa/admin-ui/src/lib/Behat/Page/ContentViewPage.php(122): Ibexa\AdminUi\Behat\Component\ContentTypePicker->select()
                  #2 vendor/ibexa/admin-ui/src/lib/Behat/BrowserContext/ContentViewContext.php(50): Ibexa\AdminUi\Behat\Page\ContentViewPage->startCreatingContent() 

      Designs

        Attachments

          Activity

            People

              Unassigned Unassigned
              marek.nocon@ibexa.co Marek Nocoń
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: