DropzoneJsElementTest checks for the presence of its script by looking for a script element containing modules/dropzonejs/js/dropzone.integration.js.

There is no requirement to install modules at a particular location - in particular, many sites use paths like modules/contrib/* and modules/custom/* to distinguish third-party modules from custom modules. Since the path modules/contrib/dropzonejs/js/dropzone.integration.js will not match the check, the unit test will fail.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

cburschka created an issue. See original summary.

cburschka’s picture

Status: Active » Needs review
FileSize
1.17 KB

This patch removes the "modules" to accept any path that contains "/dropzonejs/js/dropzone.integration.js"/

chr.fritsch’s picture

This needs a reroll

  • chr.fritsch committed e5af7b7 on 8.x-1.x
    Issue #2834781 by cburschka, chr.fritsch: Hardcoded module path in JS...
chr.fritsch’s picture

Status: Needs review » Fixed

Very nice. Thank you. This should also fix our Travis integration

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.