Uploaded image for project: 'eZ Platform Enterprise Edition'
  1. eZ Platform Enterprise Edition
  2. EZEE-2950

[Behat] Inject drag'n'drop script using Webpack Encore

    XMLWordPrintable

Details

    • Icon: Story Story
    • Resolution: Done
    • Icon: Medium Medium
    • 3.0.0-beta5, 2.5.9
    • 3.0.0-beta3, 2.5.7
    • QA
    • [3.0] - Sprint 20

    Description

      In order to perform the drag and drop functionality in Page Builder in browser tests we are loading the drag-mock library:
      https://github.com/ezsystems/ezplatform-admin-ui/blob/1.5/src/lib/Behat/Helper/UtilityContext.php#L342

      Instead of doing it during every page load we could speed things up, adding the js to Page Builder Twig template using Webpack Encore (ConfigManager add method - https://doc.ezplatform.com/en/latest/guide/bundles/#configuration-from-a-bundle)

      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: