forcedotcom / LightningTestingService

Apache License 2.0
122 stars 35 forks source link

In Spring 18, running c:jasmineTests causes a gack in the Lightning Data Service tests #58

Closed sdruckerfig closed 4 years ago

sdruckerfig commented 6 years ago

Steps:

1) Install LDS into Spring 18 2) Run c:jasmineTests - causes gack and multiple failures (see attached) on LDS tests. All other tests run fine. ss

esalman-sfdc commented 6 years ago

Our nighty CI run on travisCI which runs the sample in a Spring 18 scratch org hasn't shown any failures. Could you please retry. There may have been some slowness with your environment or the network at the time you ran (Those LDS tests go end to end and actually create the data instead of mocking).

jawildey commented 6 years ago

I just installed 1.3 w/tests in a sandbox and am seeing the exact same results. I tried increasing the timeout to 50000 ms but it is still timing out. I am also getting an Aura prompt "cannot set property 'value' of undefined". Don't know if that's related or not. (Attaching errors.) Aura.pdf

jawildey commented 6 years ago

I've been doing a bunch of testing and it appears that our org's version of "Account" has some distinct differences from what is coded for in the Lightning component. I was able to modify the component's code and get most of the test to pass by making sure the fields being accessed exist in our org.