VIDCS-3473: Use Popper instead of Menu and close after clicking pin #544
Annotations
2 errors
Run unit tests:
frontend/src/components/MeetingRoom/ParticipantListItemMenu/ParticipantListItemMenu.spec.tsx#L42
TestingLibraryElementError: Unable to find an element by: [data-testid="pin-menu-item"]
Ignored nodes: comments, script, style
<body>
<div>
<button
class="MuiButtonBase-root MuiIconButton-root MuiIconButton-sizeMedium css-6q6dqq-MuiButtonBase-root-MuiIconButton-root"
tabindex="0"
type="button"
>
<svg
aria-hidden="true"
class="MuiSvgIcon-root MuiSvgIcon-fontSizeMedium css-hwaqf3-MuiSvgIcon-root"
data-testid="MoreVertIcon"
focusable="false"
viewBox="0 0 24 24"
>
<path
d="M12 8c1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2 .9 2 2 2m0 2c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2m0 6c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2"
/>
</svg>
<span
class="MuiTouchRipple-root css-8je8zh-MuiTouchRipple-root"
/>
</button>
</div>
</body>
❯ Object.getElementError ../node_modules/@testing-library/dom/dist/config.js:37:19
❯ ../node_modules/@testing-library/dom/dist/query-helpers.js:76:38
❯ ../node_modules/@testing-library/dom/dist/query-helpers.js:52:17
❯ ../node_modules/@testing-library/dom/dist/query-helpers.js:95:19
❯ src/components/MeetingRoom/ParticipantListItemMenu/ParticipantListItemMenu.spec.tsx:42:19
|
Run unit tests
Process completed with exit code 1.
|
Loading