Skip to content

[Tabs] Snapshot test not matching #32038

Open
@tbrj-capco

Description

@tbrj-capco

Current behavior 😯

The generated id, aria-controls and aria-labelledby is always new and snapshot can not match.

Screenshot 2022-03-29 at 16 08 02

Expected behavior 🤔

It should generate stable ids to be able to test the snapshot

Your environment 🌎

@mui/lab: 5.0.0-alpha.74,
@mui/material: 5.5.0,
@testing-library/jest-dom: 5.11.9,

Metadata

Metadata

Assignees

Labels

component: tabsThis is the name of the generic UI component, not the React module!package: material-uiSpecific to @mui/materialtest

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions