Skip to content

Commit

Permalink
[test] Fix browser tests (mui#29305)
Browse files Browse the repository at this point in the history
  • Loading branch information
eps1lon authored Oct 27, 2021
1 parent 99752d2 commit f50c1f7
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 4 deletions.
7 changes: 6 additions & 1 deletion packages/mui-material/src/InputBase/InputBase.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -678,7 +678,12 @@ describe('<InputBase />', () => {
</ThemeProvider>,
);
const fieldset = getByRole('textbox').nextSibling;
expect(fieldset).toHaveComputedStyle({ borderColor: 'rgb(0, 191, 165)' });
expect(fieldset).toHaveComputedStyle({
borderTopColor: 'rgb(0, 191, 165)',
borderRightColor: 'rgb(0, 191, 165)',
borderBottomColor: 'rgb(0, 191, 165)',
borderLeftColor: 'rgb(0, 191, 165)',
});
});
});
});
6 changes: 3 additions & 3 deletions packages/mui-system/src/styled.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ describe('styled', () => {
typography: {
body1: {
fontFamily: 'Roboto',
fontWeight: 400,
fontWeight: 300,
},
},
components: {
Expand Down Expand Up @@ -453,7 +453,7 @@ describe('styled', () => {

expect(container.firstChild).toHaveComputedStyle({
fontFamily: 'Roboto',
fontWeight: '400',
fontWeight: '300',
});
});

Expand All @@ -478,7 +478,7 @@ describe('styled', () => {

expect(container.firstChild).toHaveComputedStyle({
fontFamily: 'Roboto',
fontWeight: '400',
fontWeight: '300',
});
});

Expand Down

0 comments on commit f50c1f7

Please sign in to comment.