Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Expand/Collapse to Tests #1256

Merged
merged 2 commits into from
Nov 3, 2018
Merged

Add Expand/Collapse to Tests #1256

merged 2 commits into from
Nov 3, 2018

Conversation

dv297
Copy link
Contributor

@dv297 dv297 commented Oct 31, 2018

Feature

What kind of change does this PR introduce?
Add a new icon to the TestElement that allows you to expand and collapse the expectations underneath a test file.

What is the current behavior?
Does not exist, new feature

What is the new behavior?
Allows you to expand and collapse the tests

Expand Screenshot
expand

Collapse Screenshot
collapse

Interaction GIF
expandcollapse

Checklist:

  • Documentation
  • Tests
  • Ready to be merged
  • Added myself to contributors table

First PR into Code Sandbox =) There was no issue logged, I just felt like this was a quality of life improvement I could make. I couldn't find any test files specific to Tests.js or TestElement/index.js, it looked like you only did snapshot testing for "atom"-level components. Please correct me if I'm mistaken! I'm also not aware of any documentation that needs to be added if there needs to be!

@CompuIves
Copy link
Member

Wooow, this is one of the most polished PRs I've seen. Big thanks @dv297! This looks really good, also fits in the existing style.

Code looks good as well, so we can merge! Thanks again, great PR!

@CompuIves CompuIves merged commit 1a742ec into codesandbox:master Nov 3, 2018
SaraVieira pushed a commit to SaraVieira/codesandbox-client that referenced this pull request Nov 22, 2018
* Add @dv297 as a contributor

* Add expand/collapse for TestElement
SaraVieira pushed a commit to SaraVieira/codesandbox-client that referenced this pull request Nov 23, 2018
* Add @dv297 as a contributor

* Add expand/collapse for TestElement
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants