Issue 1:
I have searched the issues of this repository and believe that this is not a duplicate. But I think it is related to #6971

I currently use snapshot testing for a project, but it seems like as soon as i'm using a component which relies on material-ui/Button the tests fail with.

Invariant Violation: getNodeFromInstance: Invalid argument.

at invariant (node_modules/fbjs/lib/invariant.js:42:15)
at Object.getNodeFromInstance (node_modules/react-dom/lib/ReactDOMComponentTree.js:160:77)
at findDOMNode (node_modules/react-dom/lib/findDOMNode.js:47:41)
at ButtonBase.componentDidMount (node_modules/material-ui/ButtonBase/ButtonBase.js:222:47)
at node_modules/react-test-renderer/lib/ReactCompositeComponent.js:262:25
at measureLifeCyclePerf (node_modules/react-test-renderer/lib/ReactCompositeComponent.js:73:12)
at node_modules/react-test-renderer/lib/ReactCompositeComponent.js:261:11
at CallbackQueue.notifyAll (node_modules/react-test-renderer/lib/CallbackQueue.js:74:22)
at ReactTestReconcileTransaction.close (node_modules/react-test-renderer/lib/ReactTestReconcileTransaction.js:34:26)
at ReactTestReconcileTransaction.closeAll (node_modules/react-test-renderer/lib/Transaction.js:207:25)
at ReactTestReconcileTransaction.perform (node_modules/react-test-renderer/lib/Transaction.js:154:16)
at batchedMountComponentIntoNode (node_modules/react-test-renderer/lib/ReactTestMount.js:67:27)
at ReactDefaultBatchingStrategyTransaction.perform (node_modules/react-test-renderer/lib/Transaction.js:141:20)
at Object.batchedUpdates (node_modules/react-test-renderer/lib/ReactDefaultBatchingStrategy.js:60:26)
at Object.batchedUpdates (node_modules/react-test-renderer/lib/ReactUpdates.js:95:27)
at Object.render [as create] (node_modules/react-test-renderer/lib/ReactTestMount.js:126:18)
at Object.test (node_modules/@storybook/addon-storyshots/dist/test-bodies.js:26:44)
at Object.<anonymous> (node_modules/@storybook/addon-storyshots/dist/index.js:145:21)
at Promise (<anonymous>)
at <anonymous>

Expected Behavior

Snapshot testing is possible with all components.

Current Behavior

Snapshot testing isn't possible for some components.

Steps to Reproduce (for bugs)

Write a snapshot test for e.g. import Hidden from 'material-ui/Hidden'; and one for import Button from 'material-ui/Button'; (is there a pastebin which is capable of this?)

Context

I tried using storyshots for snapshot testing of components using material-ui components.

Tech
Version

Material-UI
beta.17

React
15.6

Issue 2:
I try to destroy my React application using "unmountComponentAtNode" I get an error when my app includes a Dialog component.

I have searched the issues of this repository and believe that this is not a duplicate.

Expected Behavior

Application unmounted without errors.

Current Behavior

These errors:

Uncaught DOMException: Failed to execute 'removeChild' on 'Node': The node to be removed is not a child of this node.

index.js:2177 The above error occurred in the <DialogInline> component:
in DialogInline

Steps to Reproduce (for bugs)

https://codesandbox.io/s/7mojo3pzzq (project not working for some reason)

Call unmountComponentAtNode

Context

I'm trying to unmount a React application that has a Dialog.

Your Environment

Tech
Version

Material-UI
0.20.0

React
16.2.0

browser
Any