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

Tests fail to add form fields in Form Builder tests

    XMLWordPrintable

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Low Low
    • None
    • 4.4.x-dev
    • QA

    Description

      Tests are sometimes failing to add a new Form Field to a Form - looks like the animation on hover does not trigger for the form field all the time when doing the hovering with code, the tests are sometimes failing when doing so.

      Example failure:

      https://github.com/ibexa/experience/actions/runs/3518391589/jobs/5897443076

       

           Examples:
            | formName           | fieldType | fieldName     |
            | Number Custom Form | Number    | Custom number |
              Failed step: And I add the "Number" field to form
              Ibexa\Behat\Browser\Exception\TimeoutException: Transition has not started at all for element with CSS locator 'sidebarField': 'div.c-ibexa-fb-sidebar-field:not(.c-ibexa-fb-sidebar-field--hidden) .c-ibexa-fb-sidebar-field__content'. Please make sure the condition is used on the correct element. Timeout value: 3 seconds. in vendor/ibexa/behat/src/lib/Browser/Element/BaseElement.php:59
              Stack trace:
              #0 vendor/ibexa/form-builder/src/lib/Behat/Component/FormBuilderEditor.php(42): Ibexa\Behat\Browser\Element\BaseElement->waitUntilCondition()
              #1 vendor/ibexa/form-builder/src/lib/Behat/BrowserContext/FormBuilderContext.php(53): Ibexa\FormBuilder\Behat\Component\FormBuilderEditor->addFieldToForm()
              │
              │  JS Console errors:
              │  	http://web/favicon.ico - Failed to load resource: the server responded with a status of 404 (Not Found)
      

      Designs

        Attachments

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: