@patternfly/react-core 4.200.0 → 4.201.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (65) hide show
  1. package/CHANGELOG.md +30 -0
  2. package/dist/esm/components/CalendarMonth/CalendarMonth.d.ts +1 -1
  3. package/dist/esm/components/CalendarMonth/CalendarMonth.d.ts.map +1 -1
  4. package/dist/esm/components/CalendarMonth/CalendarMonth.js +13 -8
  5. package/dist/esm/components/CalendarMonth/CalendarMonth.js.map +1 -1
  6. package/dist/js/components/CalendarMonth/CalendarMonth.d.ts +1 -1
  7. package/dist/js/components/CalendarMonth/CalendarMonth.d.ts.map +1 -1
  8. package/dist/js/components/CalendarMonth/CalendarMonth.js +13 -8
  9. package/dist/js/components/CalendarMonth/CalendarMonth.js.map +1 -1
  10. package/dist/umd/react-core.css +804 -804
  11. package/dist/umd/react-core.js +13 -8
  12. package/dist/umd/react-core.min.js +1 -1
  13. package/package.json +5 -5
  14. package/src/components/CalendarMonth/CalendarMonth.tsx +15 -9
  15. package/src/components/ChipGroup/__tests__/ChipGroup.test.tsx +14 -9
  16. package/src/components/ClipboardCopy/__tests__/ClipboardCopyToggle.test.tsx +28 -19
  17. package/src/components/ClipboardCopy/__tests__/__snapshots__/ClipboardCopyToggle.test.tsx.snap +1 -1
  18. package/src/components/ContextSelector/__tests__/ContextSelector.test.tsx +21 -14
  19. package/src/components/ContextSelector/__tests__/ContextSelectorToggle.test.tsx +49 -34
  20. package/src/components/ContextSelector/__tests__/__snapshots__/ContextSelector.test.tsx.snap +2 -169
  21. package/src/components/ContextSelector/__tests__/__snapshots__/ContextSelectorToggle.test.tsx.snap +5 -247
  22. package/src/components/DataList/__tests__/DataList.test.tsx +49 -40
  23. package/src/components/DataList/__tests__/__snapshots__/DataList.test.tsx.snap +1 -9
  24. package/src/components/Dropdown/__tests__/Dropdown.test.tsx +54 -42
  25. package/src/components/Dropdown/__tests__/DropdownToggle.test.tsx +179 -177
  26. package/src/components/Dropdown/__tests__/DropdownToggleCheckbox.test.tsx +51 -55
  27. package/src/components/Dropdown/__tests__/Generated/DropdownItem.test.tsx +28 -26
  28. package/src/components/Dropdown/__tests__/Generated/DropdownSeparator.test.tsx +14 -15
  29. package/src/components/Dropdown/__tests__/Generated/InternalDropdownItem.test.tsx +39 -36
  30. package/src/components/Dropdown/__tests__/Generated/__snapshots__/DropdownItem.test.tsx.snap +6 -4
  31. package/src/components/Dropdown/__tests__/Generated/__snapshots__/DropdownSeparator.test.tsx.snap +11 -4
  32. package/src/components/Dropdown/__tests__/Generated/__snapshots__/InternalDropdownItem.test.tsx.snap +7 -4
  33. package/src/components/Dropdown/__tests__/InternalDropdownItem.test.tsx +66 -69
  34. package/src/components/Dropdown/__tests__/__snapshots__/Dropdown.test.tsx.snap +15 -816
  35. package/src/components/Dropdown/__tests__/__snapshots__/DropdownToggle.test.tsx.snap +9 -454
  36. package/src/components/Dropdown/__tests__/__snapshots__/DropdownToggleCheckbox.test.tsx.snap +7 -141
  37. package/src/components/Dropdown/__tests__/__snapshots__/InternalDropdownItem.test.tsx.snap +10 -163
  38. package/src/components/Nav/__tests__/Generated/NavList.test.tsx +28 -18
  39. package/src/components/Nav/__tests__/Generated/__snapshots__/NavList.test.tsx.snap +8 -4
  40. package/src/components/OptionsMenu/__tests__/Generated/OptionsMenuItem.test.tsx +21 -19
  41. package/src/components/OptionsMenu/__tests__/Generated/__snapshots__/OptionsMenuItem.test.tsx.snap +20 -11
  42. package/src/components/OverflowMenu/__tests__/Generated/OverflowMenuDropdownItem.test.tsx +14 -10
  43. package/src/components/OverflowMenu/__tests__/Generated/__snapshots__/OverflowMenuDropdownItem.test.tsx.snap +18 -4
  44. package/src/components/Select/__tests__/Generated/SelectGroup.test.tsx +22 -10
  45. package/src/components/Select/__tests__/Generated/SelectMenu.test.tsx +22 -26
  46. package/src/components/Select/__tests__/Generated/__snapshots__/SelectGroup.test.tsx.snap +15 -4
  47. package/src/components/Select/__tests__/Generated/__snapshots__/SelectMenu.test.tsx.snap +7 -19
  48. package/src/components/Select/__tests__/SelectGroup.test.tsx +14 -7
  49. package/src/components/Select/__tests__/SelectOption.test.tsx +51 -30
  50. package/src/components/Select/__tests__/__snapshots__/SelectGroup.test.tsx.snap +1 -5
  51. package/src/components/Select/__tests__/__snapshots__/SelectOption.test.tsx.snap +10 -272
  52. package/src/components/Toolbar/__tests__/Generated/ToolbarToggleGroup.test.tsx +25 -11
  53. package/src/components/Toolbar/__tests__/Generated/__snapshots__/ToolbarToggleGroup.test.tsx.snap +26 -4
  54. package/src/components/Toolbar/__tests__/Toolbar.test.tsx +129 -0
  55. package/src/components/Toolbar/__tests__/ToolbarItem.test.tsx +19 -0
  56. package/src/components/Toolbar/__tests__/ToolbarToggleGroup.test.tsx +12 -135
  57. package/src/components/Toolbar/__tests__/__snapshots__/Toolbar.test.tsx.snap +7 -0
  58. package/src/components/Toolbar/__tests__/__snapshots__/ToolbarItem.test.tsx.snap +3 -0
  59. package/src/components/Tooltip/examples/Tooltip.md +9 -1
  60. package/src/components/Tooltip/examples/TooltipExamples.css +4 -4
  61. package/src/components/Select/__tests__/Generated/SelectOption.test.tsx +0 -29
  62. package/src/components/Select/__tests__/Generated/__snapshots__/SelectOption.test.tsx.snap +0 -7
  63. package/src/components/Toolbar/__tests__/__snapshots__/ToolbarToggleGroup.test.tsx.snap +0 -516
  64. package/src/components/Wizard/__tests__/Generated/Wizard.test.tsx +0 -43
  65. package/src/components/Wizard/__tests__/Generated/__snapshots__/Wizard.test.tsx.snap +0 -69
@@ -1,6 +1,8 @@
1
- import * as React from 'react';
2
- import { render } from '@testing-library/react';
3
- import { mount } from 'enzyme';
1
+ import React from 'react';
2
+
3
+ import { render, screen } from '@testing-library/react';
4
+ import userEvent from '@testing-library/user-event';
5
+
4
6
  import { DropdownToggleCheckbox } from '../DropdownToggleCheckbox';
5
7
 
6
8
  const props = {
@@ -8,56 +10,50 @@ const props = {
8
10
  isChecked: false
9
11
  };
10
12
 
11
- test('controlled', () => {
12
- const view = render(<DropdownToggleCheckbox isChecked id="check" aria-label="check" />);
13
- expect(view.container).toMatchSnapshot();
14
- });
15
-
16
- test('uncontrolled', () => {
17
- const view = render(<DropdownToggleCheckbox id="check" aria-label="check" />);
18
- expect(view.container).toMatchSnapshot();
19
- });
20
-
21
- test('with text', () => {
22
- const view = render(
23
- <DropdownToggleCheckbox id="check" isDisabled aria-label="check">
24
- Some text
25
- </DropdownToggleCheckbox>
26
- );
27
- expect(view.container).toMatchSnapshot();
28
- });
29
-
30
- test('isDisabled', () => {
31
- const view = render(<DropdownToggleCheckbox id="check" isDisabled aria-label="check" />);
32
- expect(view.container).toMatchSnapshot();
33
- });
34
-
35
- test('3rd state', () => {
36
- const view = render(<DropdownToggleCheckbox id="check" isChecked={null} aria-label="check" />);
37
- expect(view.container).toMatchSnapshot();
38
- });
39
-
40
- test('passing class', () => {
41
- const view = render(
42
- <DropdownToggleCheckbox label="label" className="class-123" id="check" isChecked aria-label="check" />
43
- );
44
- expect(view.container).toMatchSnapshot();
45
- });
46
-
47
- test('passing HTML attribute', () => {
48
- const view = render(
49
- <DropdownToggleCheckbox label="label" aria-labelledby="labelId" id="check" isChecked aria-label="check" />
50
- );
51
- expect(view.container).toMatchSnapshot();
52
- });
53
-
54
- test('checkbox passes value and event to onChange handler', () => {
55
- const newValue = true;
56
- const event = {
57
- target: { checked: newValue }
58
- };
59
- const view = mount(<DropdownToggleCheckbox id="check" {...props} aria-label="check" />);
60
- view.find('input').simulate('change', event);
61
- expect(props.onChange.mock.calls[0][0]).toBe(newValue);
62
- expect(props.onChange.mock.calls[0][1]).toMatchObject(event);
13
+ describe('DropdownToggleCheckbox', () => {
14
+ test('controlled', () => {
15
+ render(<DropdownToggleCheckbox isChecked id="check" aria-label="check" />);
16
+ expect(screen.getByRole('checkbox').outerHTML).toMatchSnapshot();
17
+ });
18
+
19
+ test('uncontrolled', () => {
20
+ render(<DropdownToggleCheckbox id="check" aria-label="check" />);
21
+ expect(screen.getByRole('checkbox').outerHTML).toMatchSnapshot();
22
+ });
23
+
24
+ test('with text', () => {
25
+ render(
26
+ <DropdownToggleCheckbox id="check" isDisabled aria-label="check">
27
+ Some text
28
+ </DropdownToggleCheckbox>
29
+ );
30
+ expect(screen.getByRole('checkbox').parentElement.outerHTML).toMatchSnapshot();
31
+ });
32
+
33
+ test('isDisabled', () => {
34
+ render(<DropdownToggleCheckbox id="check" isDisabled aria-label="check" />);
35
+ expect(screen.getByRole('checkbox').outerHTML).toMatchSnapshot();
36
+ });
37
+
38
+ test('3rd state', () => {
39
+ render(<DropdownToggleCheckbox id="check" isChecked={null} aria-label="check" />);
40
+ expect(screen.getByRole('checkbox').outerHTML).toMatchSnapshot();
41
+ });
42
+
43
+ test('passing class', () => {
44
+ render(<DropdownToggleCheckbox label="label" className="class-123" id="check" isChecked aria-label="check" />);
45
+ expect(screen.getByRole('checkbox').outerHTML).toMatchSnapshot();
46
+ });
47
+
48
+ test('passing HTML attribute', () => {
49
+ render(<DropdownToggleCheckbox label="label" aria-labelledby="labelId" id="check" isChecked aria-label="check" />);
50
+ expect(screen.getByRole('checkbox').outerHTML).toMatchSnapshot();
51
+ });
52
+
53
+ test('checkbox passes value and event to onChange handler', () => {
54
+ render(<DropdownToggleCheckbox id="check" {...props} aria-label="check" />);
55
+
56
+ userEvent.click(screen.getByRole('checkbox'));
57
+ expect(props.onChange.mock.calls[0][0]).toBe(true);
58
+ });
63
59
  });
@@ -1,29 +1,31 @@
1
- /**
2
- * This test was generated
3
- */
4
- import * as React from 'react';
5
- import { shallow } from 'enzyme';
1
+ import React from 'react';
2
+
3
+ import { render } from '@testing-library/react';
4
+
6
5
  import { DropdownItem } from '../../DropdownItem';
7
- // any missing imports can usually be resolved by adding them here
8
- import {} from '../..';
6
+ import { DropdownArrowContext } from '../../dropdownConstants';
9
7
 
10
- it('DropdownItem should match snapshot (auto-generated)', () => {
11
- const view = shallow(
12
- <DropdownItem
13
- children={<>ReactNode</>}
14
- className={"''"}
15
- listItemClassName={'string'}
16
- component={'a'}
17
- isDisabled={false}
18
- isPlainText={false}
19
- isHovered={false}
20
- href={'string'}
21
- tooltip={null}
22
- tooltipProps={undefined}
23
- additionalChild={<div>ReactNode</div>}
24
- customChild={<div>ReactNode</div>}
25
- icon={null}
26
- />
27
- );
28
- expect(view).toMatchSnapshot();
8
+ describe('DropdownItem', () => {
9
+ it('should match snapshot', () => {
10
+ const view = render(
11
+ <DropdownArrowContext.Provider value={{ sendRef: jest.fn(), keyHandler: undefined }}>
12
+ <DropdownItem
13
+ children={<>ReactNode</>}
14
+ className={"''"}
15
+ listItemClassName={'string'}
16
+ component={'a'}
17
+ isDisabled={false}
18
+ isPlainText={false}
19
+ isHovered={false}
20
+ href={'string'}
21
+ tooltip={null}
22
+ tooltipProps={undefined}
23
+ additionalChild={<div>ReactNode</div>}
24
+ customChild={<div>ReactNode</div>}
25
+ icon={null}
26
+ />
27
+ </DropdownArrowContext.Provider>
28
+ );
29
+ expect(view.container).toMatchSnapshot();
30
+ });
29
31
  });
@@ -1,18 +1,17 @@
1
- /**
2
- * This test was generated
3
- */
4
- import * as React from 'react';
5
- import { shallow } from 'enzyme';
1
+ import React from 'react';
2
+
3
+ import { render } from '@testing-library/react';
4
+
6
5
  import { DropdownSeparator } from '../../DropdownSeparator';
7
- // any missing imports can usually be resolved by adding them here
8
- import {} from '../..';
6
+ import { DropdownArrowContext } from '../../dropdownConstants';
9
7
 
10
- it('DropdownSeparator should match snapshot (auto-generated)', () => {
11
- const view = shallow(
12
- <DropdownSeparator
13
- className={"''"}
14
- onClick={(event: React.MouseEvent<HTMLAnchorElement> | React.KeyboardEvent | MouseEvent) => undefined as void}
15
- />
16
- );
17
- expect(view).toMatchSnapshot();
8
+ describe('DropdownSeparator', () => {
9
+ it('should match snapshot', () => {
10
+ const view = render(
11
+ <DropdownArrowContext.Provider value={{ sendRef: jest.fn(), keyHandler: undefined }}>
12
+ <DropdownSeparator className={"''"} onClick={() => console.log('clicked')} />
13
+ </DropdownArrowContext.Provider>
14
+ );
15
+ expect(view.container).toMatchSnapshot();
16
+ });
18
17
  });
@@ -1,39 +1,42 @@
1
- /**
2
- * This test was generated
3
- */
4
- import * as React from 'react';
5
- import { shallow } from 'enzyme';
1
+ import React from 'react';
2
+
3
+ import { render } from '@testing-library/react';
4
+
6
5
  import { InternalDropdownItem } from '../../InternalDropdownItem';
7
- // any missing imports can usually be resolved by adding them here
8
- import {} from '../..';
6
+ import { DropdownContext } from '../../dropdownConstants';
9
7
 
10
- it('InternalDropdownItem should match snapshot (auto-generated)', () => {
11
- const view = shallow(
12
- <InternalDropdownItem
13
- children={<div>ReactNode</div>}
14
- className={"''"}
15
- listItemClassName={'string'}
16
- component={'a'}
17
- role={"'none'"}
18
- isDisabled={false}
19
- isPlainText={false}
20
- isHovered={false}
21
- href={'string'}
22
- tooltip={<div>ReactNode</div>}
23
- tooltipProps={undefined}
24
- index={-1}
25
- context={{
26
- keyHandler: () => {},
27
- sendRef: () => {}
28
- }}
29
- onClick={(event: React.MouseEvent<any> | React.KeyboardEvent | MouseEvent) => undefined as any}
30
- id={'string'}
31
- componentID={'string'}
32
- additionalChild={<div>ReactNode</div>}
33
- customChild={<div>ReactNode</div>}
34
- enterTriggersArrowDown={false}
35
- icon={<div>ReactNode</div>}
36
- />
37
- );
38
- expect(view).toMatchSnapshot();
8
+ describe('InternalDropdownItem', () => {
9
+ it('should match snapshot', () => {
10
+ const view = render(
11
+ <DropdownContext.Provider value={{}}>
12
+ {' '}
13
+ <InternalDropdownItem
14
+ children={<div>ReactNode</div>}
15
+ className={"''"}
16
+ listItemClassName={'string'}
17
+ component={'a'}
18
+ role={"'none'"}
19
+ isDisabled={false}
20
+ isPlainText={false}
21
+ isHovered={false}
22
+ href={'string'}
23
+ tooltip={<div>ReactNode</div>}
24
+ tooltipProps={undefined}
25
+ index={-1}
26
+ context={{
27
+ keyHandler: () => {},
28
+ sendRef: () => {}
29
+ }}
30
+ onClick={(event: React.MouseEvent<any> | React.KeyboardEvent | MouseEvent) => undefined as any}
31
+ id={'string'}
32
+ componentID={'string'}
33
+ additionalChild={<div>ReactNode</div>}
34
+ customChild={<div>ReactNode</div>}
35
+ enterTriggersArrowDown={false}
36
+ icon={<div>ReactNode</div>}
37
+ />
38
+ </DropdownContext.Provider>
39
+ );
40
+ expect(view.container).toMatchSnapshot();
41
+ });
39
42
  });
@@ -1,7 +1,9 @@
1
1
  // Jest Snapshot v1, https://goo.gl/fbAQLP
2
2
 
3
- exports[`DropdownItem should match snapshot (auto-generated) 1`] = `
4
- <ContextConsumer>
5
- <Component />
6
- </ContextConsumer>
3
+ exports[`DropdownItem should match snapshot 1`] = `
4
+ <div>
5
+ <div>
6
+ ReactNode
7
+ </div>
8
+ </div>
7
9
  `;
@@ -1,7 +1,14 @@
1
1
  // Jest Snapshot v1, https://goo.gl/fbAQLP
2
2
 
3
- exports[`DropdownSeparator should match snapshot (auto-generated) 1`] = `
4
- <ContextConsumer>
5
- <Component />
6
- </ContextConsumer>
3
+ exports[`DropdownSeparator should match snapshot 1`] = `
4
+ <div>
5
+ <li
6
+ role="separator"
7
+ >
8
+ <div
9
+ class="pf-c-divider ''"
10
+ role="separator"
11
+ />
12
+ </li>
13
+ </div>
7
14
  `;
@@ -1,7 +1,10 @@
1
1
  // Jest Snapshot v1, https://goo.gl/fbAQLP
2
2
 
3
- exports[`InternalDropdownItem should match snapshot (auto-generated) 1`] = `
4
- <ContextConsumer>
5
- <Component />
6
- </ContextConsumer>
3
+ exports[`InternalDropdownItem should match snapshot 1`] = `
4
+ <div>
5
+
6
+ <div>
7
+ ReactNode
8
+ </div>
9
+ </div>
7
10
  `;
@@ -1,84 +1,81 @@
1
- import * as React from 'react';
2
- import { render } from '@testing-library/react';
3
- import { shallow } from 'enzyme';
1
+ import React from 'react';
2
+ import { render, screen } from '@testing-library/react';
4
3
  import { InternalDropdownItem } from '../InternalDropdownItem';
5
- import { DropdownSeparator } from '../DropdownSeparator';
6
4
 
7
- describe('dropdown items', () => {
8
- test('a', () => {
9
- const view = render(<InternalDropdownItem>Something</InternalDropdownItem>);
10
- expect(view.container).toMatchSnapshot();
11
- });
12
-
13
- test('button', () => {
14
- const view = render(<InternalDropdownItem component="button">Something</InternalDropdownItem>);
15
- expect(view.container).toMatchSnapshot();
16
- });
17
-
18
- test('separator', () => {
19
- const view = shallow(<DropdownSeparator />);
20
- expect(view).toMatchSnapshot();
21
- });
22
-
23
- describe('hover', () => {
5
+ describe('InternalDropdownItem', () => {
6
+ describe('dropdown items', () => {
24
7
  test('a', () => {
25
- const view = render(<InternalDropdownItem isHovered>Something</InternalDropdownItem>);
26
- expect(view.container).toMatchSnapshot();
8
+ render(<InternalDropdownItem>Something</InternalDropdownItem>);
9
+ expect(screen.getByText('Something').outerHTML).toMatchSnapshot();
27
10
  });
28
- test('button', () => {
29
- const view = render(
30
- <InternalDropdownItem isHovered component="button">
31
- Something
32
- </InternalDropdownItem>
33
- );
34
- expect(view.container).toMatchSnapshot();
35
- });
36
- });
37
11
 
38
- describe('disabled', () => {
39
- test('a', () => {
40
- const view = render(<InternalDropdownItem isDisabled>Something</InternalDropdownItem>);
41
- expect(view.container).toMatchSnapshot();
42
- });
43
12
  test('button', () => {
44
- const view = render(
45
- <InternalDropdownItem isDisabled component="button">
46
- Something
47
- </InternalDropdownItem>
48
- );
49
- expect(view.container).toMatchSnapshot();
13
+ render(<InternalDropdownItem component="button">Something</InternalDropdownItem>);
14
+ expect(screen.getByText('Something').outerHTML).toMatchSnapshot();
50
15
  });
51
- });
52
16
 
53
- describe('aria-disabled', () => {
54
- test('a', () => {
55
- const view = render(<InternalDropdownItem isAriaDisabled>Something</InternalDropdownItem>);
56
- expect(view.container).toMatchSnapshot();
17
+ describe('hover', () => {
18
+ test('a', () => {
19
+ render(<InternalDropdownItem isHovered>Something</InternalDropdownItem>);
20
+ expect(screen.getByText('Something').outerHTML).toMatchSnapshot();
21
+ });
22
+
23
+ test('button', () => {
24
+ render(
25
+ <InternalDropdownItem isHovered component="button">
26
+ Something
27
+ </InternalDropdownItem>
28
+ );
29
+ expect(screen.getByText('Something').outerHTML).toMatchSnapshot();
30
+ });
57
31
  });
58
- test('button', () => {
59
- const view = render(
60
- <InternalDropdownItem isAriaDisabled component="button">
61
- Something
62
- </InternalDropdownItem>
63
- );
64
- expect(view.container).toMatchSnapshot();
32
+
33
+ describe('disabled', () => {
34
+ test('a', () => {
35
+ render(<InternalDropdownItem isDisabled>Something</InternalDropdownItem>);
36
+ expect(screen.getByText('Something').outerHTML).toMatchSnapshot();
37
+ });
38
+
39
+ test('button', () => {
40
+ render(
41
+ <InternalDropdownItem isDisabled component="button">
42
+ Something
43
+ </InternalDropdownItem>
44
+ );
45
+ expect(screen.getByText('Something').outerHTML).toMatchSnapshot();
46
+ });
65
47
  });
66
- });
67
48
 
68
- describe('description', () => {
69
- test('a', () => {
70
- const view = render(
71
- <InternalDropdownItem description="Something's link description">Something</InternalDropdownItem>
72
- );
73
- expect(view.container).toMatchSnapshot();
49
+ describe('aria-disabled', () => {
50
+ test('a', () => {
51
+ render(<InternalDropdownItem isAriaDisabled>Something</InternalDropdownItem>);
52
+ expect(screen.getByText('Something').outerHTML).toMatchSnapshot();
53
+ });
54
+
55
+ test('button', () => {
56
+ render(
57
+ <InternalDropdownItem isAriaDisabled component="button">
58
+ Something
59
+ </InternalDropdownItem>
60
+ );
61
+ expect(screen.getByText('Something').outerHTML).toMatchSnapshot();
62
+ });
74
63
  });
75
- test('button', () => {
76
- const view = render(
77
- <InternalDropdownItem description="Something's button description" component="button">
78
- Something
79
- </InternalDropdownItem>
80
- );
81
- expect(view.container).toMatchSnapshot();
64
+
65
+ describe('description', () => {
66
+ test('a', () => {
67
+ render(<InternalDropdownItem description="Something's link description">Something</InternalDropdownItem>);
68
+ expect(screen.getByText("Something's link description").outerHTML).toMatchSnapshot();
69
+ });
70
+
71
+ test('button', () => {
72
+ render(
73
+ <InternalDropdownItem description="Something's button description" component="button">
74
+ Something
75
+ </InternalDropdownItem>
76
+ );
77
+ expect(screen.getByText("Something's button description").outerHTML).toMatchSnapshot();
78
+ });
82
79
  });
83
80
  });
84
81
  });