GSA / uswds-sf-lightning-community

A Salesforce Lightning Community Theme and related components built upon US Web Design System
Other
34 stars 16 forks source link

Run Lightning Component Tests from Terminal #108

Closed mvogelgesang closed 1 year ago

mvogelgesang commented 2 years ago

Is your feature request related to a problem? Please describe.

Analysis during #107 found terminal-based tests do not run properly with the Plugin Lightning Test Service. The repository is no longer maintained and the dependencies are out of date. Namely, the webdriver plugin is looking for resources that no longer exist. Forking the repository could address the issue but more investigation is required.

Describe the solution you'd like

LTS instructions

sfdx update sfdx plugins:install plugin-lightning-testing-service Navigate to the local directory where the plugin has been installed. /Users/yourName/.local/share/sfdx Update package.json

need to figure out how to point folks at GSA's clone of this and install it -- https://remarkablemark.org/blog/2016/09/19/npm-install-from-github/

https://developer.salesforce.com/docs/atlas.en-us.sfdx_cli_plugins.meta/sfdx_cli_plugins/cli_plugins.htm

mvogelgesang commented 1 year ago

This issue has been addressed both via documentation and by the creation of a fork, https://github.com/mvogelgesang/plugin-lightning-test-service