stevebuik / greased

Faster Lightning development and testing
MIT License
26 stars 2 forks source link

FEATURE: show/hide components attribute #4

Open stevebuik opened 7 years ago

stevebuik commented 7 years ago

It's often useful to hide the components being tested so that only the status bar, assertions and failures are displayed in the UI.

An attribute could be added with a checkbox in the status bar to toggle it. The value can be a css string which toggles slds-hide in and out of the string. This can then be used in the markup to wrap the test markup.

The checkbox will need to fire a toggle component event to the test since it is a child component.