Material-ui: [Snapshot testing] className mismatch depending on all or single test run

Created on 9 May 2018  路  2Comments  路  Source: mui-org/material-ui

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

staticshot_09-05-2018_09-58-56

Update: It's reverse, with all tests run the class is MuiSelect-root-146 and with one test run it's MuiSelect-root-121.

Are you familiar with such case? What do you recommend to prevent this?

Steps to Reproduce (for bugs)

At the moment it's just a question. If it will become too annoying I will create a sandbox.

Your Environment

| Tech | Version |
|--------------|---------|
| Material-UI | 1.0.0-beta.45 |
| React | 16.3.2 |

duplicate

Most helpful comment

Add in docs please. In the issue there are many code examples, I would like the recommended one.

All 2 comments

@arteniioleg It's a duplicate of #9492. If the issue isn't enough, we can think of adding a guide in the docs. Let me know.

Add in docs please. In the issue there are many code examples, I would like the recommended one.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

TimoRuetten picture TimoRuetten  路  3Comments

activatedgeek picture activatedgeek  路  3Comments

revskill10 picture revskill10  路  3Comments

iamzhouyi picture iamzhouyi  路  3Comments

mb-copart picture mb-copart  路  3Comments