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

[Behat] Tests fail when deselecting Video block in Content Type settings

    XMLWordPrintable

Details

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

    Description

      Configuring Landing Page setting in Content Type settings is not stable, the tests are sometimes failing when doing so.

      Stack trace:

              When I check "video" block in ezlandingpage field blocks section                                     # Ibexa\AdminUi\Behat\BrowserContext\ContentTypeContext::iCheckBlockInField()
                Ibexa\Behat\Browser\Exception\ElementNotFoundException: Could not find element named: 'default'. Found names: Select blocks,Select layouts instead. CSS locator 'selectBlocksDropdown': '.ibexa-page-select-items__toggler'. in vendor/ibexa/behat/src/lib/Browser/Element/ElementCollection.php:61
                Stack trace:
                #0 vendor/ibexa/admin-ui/src/lib/Behat/Page/ContentTypeUpdatePage.php(112): Ibexa\Behat\Browser\Element\ElementCollection->getByCriterion()
                #1 vendor/ibexa/admin-ui/src/lib/Behat/BrowserContext/ContentTypeContext.php(239): Ibexa\AdminUi\Behat\Page\ContentTypeUpdatePage->expandDefaultBlocksOption() 

       

      Other variant:

         When I select "field_view_mode" editor launch mode in ezlandingpage field options                                          # Ibexa\AdminUi\Behat\BrowserContext\ContentTypeContext::iCheckEditorLaunchModeOption()
            Ibexa\Behat\Browser\Exception\ElementNotFoundException: Could not find element with attribute 'value' matching value 'field_view_mode'. Collection is empty. css locator 'selectLaunchEditorMode': '.form-check .ibexa-input--radio'. in vendor/ibexa/behat/src/lib/Browser/Element/ElementCollection.php:61
            Stack trace:
            #0 vendor/ibexa/admin-ui/src/lib/Behat/Page/ContentTypeUpdatePage.php(133): Ibexa\Behat\Browser\Element\ElementCollection->getByCriterion()
            #1 vendor/ibexa/admin-ui/src/lib/Behat/BrowserContext/ContentTypeContext.php(251): Ibexa\AdminUi\Behat\Page\ContentTypeUpdatePage->selectEditorLaunchMode()
      

      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: