I was reviewing the capabilities of the LTS (lightning testing service) and there is a cool sentence in the documentation:
Lightning Testing Service can only run in scratch orgs, because tests can permanently change org data
I understood perfectly, but why we can not run in a sdbx or a developer org? it does not make sense...
Having said that, I tried to run in a dev org, executing the test suite using the CLI gives me this error message:
~ » sfdx force:lightning:test:run -a jasmineTests -u XXXXX@gmail.com ERROR: Lightning Testing Service can only run in scratch orgs, because tests can permanently change org data.
This is aligned with the documentation...cool....but if I execute the test suite directly in the UI (https:///c/jasmineTests.app) all test cases are executed...then it is not prohibited.
Do you know any way to do it using the CLI??? (assuming test data is not going to be deleted)