forcedotcom / LightningTestingService

Apache License 2.0
122 stars 35 forks source link

API version for test components not on Winter '18 #40

Closed muenzpraeger closed 6 years ago

muenzpraeger commented 6 years ago

The API version of these components is not on Winter '18. With that they don't run in an org that makes use of Winter '18 components (i. e. accordion).

https://github.com/forcedotcom/LightningTestingService/tree/master/lightning-component-tests/test/default/aura

Seen because the installation of the package (via the sfdx cli) fails

1.  The API version of this bundle must be set to '41' or later to use component 'markup://lightning:accordion'
mochaTests: The API version of this bundle must be set to '41' or later to use component 'markup://lightning:accordion'

2.  The API version of this bundle must be set to '41' or later to use component 'markup://lightning:accordion'
lts_mochaRunner: The API version of this bundle must be set to '41' or later to use component 'markup://lightning:accordion'

3.  The API version of this bundle must be set to '41' or later to use component 'markup://lightning:accordion'
lts_jasmineRunner: The API version of this bundle must be set to '41' or later to use component 'markup://lightning:accordion'

4.  The API version of this bundle must be set to '41' or later to use component 'markup://lightning:accordion'
jasmineTests: The API version of this bundle must be set to '41' or later to use component 'markup://lightning:accordion'
esalman-sfdc commented 6 years ago

Thanks @muenzpraeger For the report. I think the underlying reason for installation failures is the use of * wildcard in aura:dependency tag inside the runner components. We will update the version and remove the use of wildcard as it has been deprecated.