You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Tests for some of the Vaadin components are failing, because of external dependency usage. They pass in Chrome and Safari, but produce the errors like this in Firefox and Edge:
"Error: A custom element with name 'vaadin-text-field' has already been defined."
Most likely caused by not deduplicating requests originated from modulizer output:
We managed to solve this by putting the external HTML imports inside of the different file, then importing that one in test suite, in order to get same paths for HTML and JS. See it here:
Description
Tests for some of the Vaadin components are failing, because of external dependency usage. They pass in Chrome and Safari, but produce the errors like this in Firefox and Edge:
Most likely caused by not deduplicating requests originated from modulizer output:
<script type="module" src="../../../@vaadin/vaadin-text-field/vaadin-text-field.js"></script>
import '@vaadin/vaadin-text-field/vaadin-text-field.js';
Versions & Environment
Steps to Reproduce
magi p3-convert --out . --import-style=name
Workaround
We managed to solve this by putting the external HTML imports inside of the different file, then importing that one in test suite, in order to get same paths for HTML and JS. See it here:
Expected Results (with the workaround):
Tests passing, see the builds above and the screenshot:
Actual Results (1.7.0-pre.4)
Tests failing, see the builds:
PS: also looks related to Polymer/polymer-modulizer#408
The text was updated successfully, but these errors were encountered: