Eik/UI features account div1 #161
tests.yml
on: pull_request
Matrix: Jest
Element Web Integration Tests
2m 12s
Skip SonarCloud in merge queue
0s
Annotations
15 errors
Element Web Integration Tests
Process completed with exit code 1.
|
RoomStatusBar › <RoomStatusBar /> › unsent messages › should render warning when messages are unsent due to consent:
src/components/views/rooms/NotificationBadge/StatelessNotificationBadge.tsx#L66
ReferenceError: NotificationColor is not defined
at NotificationColor (src/components/views/rooms/NotificationBadge/StatelessNotificationBadge.tsx:66:35)
at renderWithHooks (node_modules/react-dom/cjs/react-dom.development.js:14985:18)
at updateForwardRef (node_modules/react-dom/cjs/react-dom.development.js:17044:20)
at beginWork (node_modules/react-dom/cjs/react-dom.development.js:19098:16)
at HTMLUnknownElement.callCallback (node_modules/react-dom/cjs/react-dom.development.js:3945:14)
at HTMLUnknownElement.callTheUserObjectsOperation (node_modules/jsdom/lib/jsdom/living/generated/EventListener.js:26:30)
at innerInvokeEventListeners (node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:350:25)
at invokeEventListeners (node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:286:3)
at HTMLUnknownElementImpl._dispatch (node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:233:9)
at HTMLUnknownElementImpl.dispatchEvent (node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:104:17)
at HTMLUnknownElement.dispatchEvent (node_modules/jsdom/lib/jsdom/living/generated/EventTarget.js:241:34)
at Object.invokeGuardedCallbackDev (node_modules/react-dom/cjs/react-dom.development.js:3994:16)
at invokeGuardedCallback (node_modules/react-dom/cjs/react-dom.development.js:4056:31)
at beginWork$1 (node_modules/react-dom/cjs/react-dom.development.js:23964:7)
at performUnitOfWork (node_modules/react-dom/cjs/react-dom.development.js:22779:12)
at workLoopSync (node_modules/react-dom/cjs/react-dom.development.js:22707:5)
at renderRootSync (node_modules/react-dom/cjs/react-dom.development.js:22670:7)
at performSyncWorkOnRoot (node_modules/react-dom/cjs/react-dom.development.js:22293:18)
at scheduleUpdateOnFiber (node_modules/react-dom/cjs/react-dom.development.js:21881:7)
at updateContainer (node_modules/react-dom/cjs/react-dom.development.js:25482:3)
at node_modules/react-dom/cjs/react-dom.development.js:26021:7
at unbatchedUpdates (node_modules/react-dom/cjs/react-dom.development.js:22431:12)
at legacyRenderSubtreeIntoContainer (node_modules/react-dom/cjs/react-dom.development.js:26020:5)
at Object.render (node_modules/react-dom/cjs/react-dom.development.js:26103:10)
at node_modules/@testing-library/react/dist/pure.js:101:25
at batchedUpdates$1 (node_modules/react-dom/cjs/react-dom.development.js:22380:12)
at act (node_modules/react-dom/cjs/react-dom-test-utils.development.js:1042:14)
at render (node_modules/@testing-library/react/dist/pure.js:97:26)
at getComponent (test/components/structures/RoomStatusBar-test.tsx:60:15)
at Object.getComponent (test/components/structures/RoomStatusBar-test.tsx:131:39)
|
RoomStatusBar › <RoomStatusBar /> › unsent messages › should render warning when messages are unsent due to resource limit:
src/components/views/rooms/NotificationBadge/StatelessNotificationBadge.tsx#L66
ReferenceError: NotificationColor is not defined
at NotificationColor (src/components/views/rooms/NotificationBadge/StatelessNotificationBadge.tsx:66:35)
at renderWithHooks (node_modules/react-dom/cjs/react-dom.development.js:14985:18)
at updateForwardRef (node_modules/react-dom/cjs/react-dom.development.js:17044:20)
at beginWork (node_modules/react-dom/cjs/react-dom.development.js:19098:16)
at HTMLUnknownElement.callCallback (node_modules/react-dom/cjs/react-dom.development.js:3945:14)
at HTMLUnknownElement.callTheUserObjectsOperation (node_modules/jsdom/lib/jsdom/living/generated/EventListener.js:26:30)
at innerInvokeEventListeners (node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:350:25)
at invokeEventListeners (node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:286:3)
at HTMLUnknownElementImpl._dispatch (node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:233:9)
at HTMLUnknownElementImpl.dispatchEvent (node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:104:17)
at HTMLUnknownElement.dispatchEvent (node_modules/jsdom/lib/jsdom/living/generated/EventTarget.js:241:34)
at Object.invokeGuardedCallbackDev (node_modules/react-dom/cjs/react-dom.development.js:3994:16)
at invokeGuardedCallback (node_modules/react-dom/cjs/react-dom.development.js:4056:31)
at beginWork$1 (node_modules/react-dom/cjs/react-dom.development.js:23964:7)
at performUnitOfWork (node_modules/react-dom/cjs/react-dom.development.js:22779:12)
at workLoopSync (node_modules/react-dom/cjs/react-dom.development.js:22707:5)
at renderRootSync (node_modules/react-dom/cjs/react-dom.development.js:22670:7)
at performSyncWorkOnRoot (node_modules/react-dom/cjs/react-dom.development.js:22293:18)
at scheduleUpdateOnFiber (node_modules/react-dom/cjs/react-dom.development.js:21881:7)
at updateContainer (node_modules/react-dom/cjs/react-dom.development.js:25482:3)
at node_modules/react-dom/cjs/react-dom.development.js:26021:7
at unbatchedUpdates (node_modules/react-dom/cjs/react-dom.development.js:22431:12)
at legacyRenderSubtreeIntoContainer (node_modules/react-dom/cjs/react-dom.development.js:26020:5)
at Object.render (node_modules/react-dom/cjs/react-dom.development.js:26103:10)
at node_modules/@testing-library/react/dist/pure.js:101:25
at batchedUpdates$1 (node_modules/react-dom/cjs/react-dom.development.js:22380:12)
at act (node_modules/react-dom/cjs/react-dom-test-utils.development.js:1042:14)
at render (node_modules/@testing-library/react/dist/pure.js:97:26)
at getComponent (test/components/structures/RoomStatusBar-test.tsx:60:15)
at Object.getComponent (test/components/structures/RoomStatusBar-test.tsx:152:39)
|
RoomStatusBarUnsentMessages › should render the values passed as props:
src/components/views/rooms/NotificationBadge/StatelessNotificationBadge.tsx#L66
ReferenceError: NotificationColor is not defined
at NotificationColor (src/components/views/rooms/NotificationBadge/StatelessNotificationBadge.tsx:66:35)
at renderWithHooks (node_modules/react-dom/cjs/react-dom.development.js:14985:18)
at updateForwardRef (node_modules/react-dom/cjs/react-dom.development.js:17044:20)
at beginWork (node_modules/react-dom/cjs/react-dom.development.js:19098:16)
at HTMLUnknownElement.callCallback (node_modules/react-dom/cjs/react-dom.development.js:3945:14)
at HTMLUnknownElement.callTheUserObjectsOperation (node_modules/jsdom/lib/jsdom/living/generated/EventListener.js:26:30)
at innerInvokeEventListeners (node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:350:25)
at invokeEventListeners (node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:286:3)
at HTMLUnknownElementImpl._dispatch (node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:233:9)
at HTMLUnknownElementImpl.dispatchEvent (node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:104:17)
at HTMLUnknownElement.dispatchEvent (node_modules/jsdom/lib/jsdom/living/generated/EventTarget.js:241:34)
at Object.invokeGuardedCallbackDev (node_modules/react-dom/cjs/react-dom.development.js:3994:16)
at invokeGuardedCallback (node_modules/react-dom/cjs/react-dom.development.js:4056:31)
at beginWork$1 (node_modules/react-dom/cjs/react-dom.development.js:23964:7)
at performUnitOfWork (node_modules/react-dom/cjs/react-dom.development.js:22779:12)
at workLoopSync (node_modules/react-dom/cjs/react-dom.development.js:22707:5)
at renderRootSync (node_modules/react-dom/cjs/react-dom.development.js:22670:7)
at performSyncWorkOnRoot (node_modules/react-dom/cjs/react-dom.development.js:22293:18)
at scheduleUpdateOnFiber (node_modules/react-dom/cjs/react-dom.development.js:21881:7)
at updateContainer (node_modules/react-dom/cjs/react-dom.development.js:25482:3)
at node_modules/react-dom/cjs/react-dom.development.js:26021:7
at unbatchedUpdates (node_modules/react-dom/cjs/react-dom.development.js:22431:12)
at legacyRenderSubtreeIntoContainer (node_modules/react-dom/cjs/react-dom.development.js:26020:5)
at Object.render (node_modules/react-dom/cjs/react-dom.development.js:26103:10)
at node_modules/@testing-library/react/dist/pure.js:101:25
at batchedUpdates$1 (node_modules/react-dom/cjs/react-dom.development.js:22380:12)
at act (node_modules/react-dom/cjs/react-dom-test-utils.development.js:1042:14)
at render (node_modules/@testing-library/react/dist/pure.js:97:26)
at Object.<anonymous> (test/components/structures/RoomStatusBarUnsentMessages-test.tsx:30:15)
|
Jest (2)
Process completed with exit code 1.
|
AutoDiscoveryUtils › buildValidatedConfigFromDiscovery() › handles homeserver too old error:
test/utils/AutoDiscoveryUtils-test.tsx#L228
expect(received).rejects.toThrow(expected)
Expected substring: "Your homeserver is too old and does not support the minimum API version required. Please contact your server owner, or upgrade your server."
Received message: "Unexpected error resolving homeserver configuration"
274 | });
275 | }
> 276 | throw new UserFriendlyError("auth|autodiscovery_unexpected_error_hs");
| ^
277 | } // else the error is not related to syntax - continue anyways.
278 | }
279 |
at Function.buildValidatedConfigFromDiscovery (src/utils/AutoDiscoveryUtils.tsx:276:23)
at buildValidatedConfigFromDiscovery (test/utils/AutoDiscoveryUtils-test.tsx:227:36)
at Object.toThrow (node_modules/expect/build/index.js:202:58)
at Object.toThrow (test/utils/AutoDiscoveryUtils-test.tsx:228:23)
at Object.toThrow (node_modules/expect/build/index.js:218:22)
at Object.toThrow (test/utils/AutoDiscoveryUtils-test.tsx:228:23)
|
NotificationBadge › shows a dot if the level is activity:
src/components/views/rooms/NotificationBadge/StatelessNotificationBadge.tsx#L66
ReferenceError: NotificationColor is not defined
at NotificationColor (src/components/views/rooms/NotificationBadge/StatelessNotificationBadge.tsx:66:35)
at renderWithHooks (node_modules/react-dom/cjs/react-dom.development.js:14985:18)
at updateForwardRef (node_modules/react-dom/cjs/react-dom.development.js:17044:20)
at beginWork (node_modules/react-dom/cjs/react-dom.development.js:19098:16)
at HTMLUnknownElement.callCallback (node_modules/react-dom/cjs/react-dom.development.js:3945:14)
at HTMLUnknownElement.callTheUserObjectsOperation (node_modules/jsdom/lib/jsdom/living/generated/EventListener.js:26:30)
at innerInvokeEventListeners (node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:350:25)
at invokeEventListeners (node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:286:3)
at HTMLUnknownElementImpl._dispatch (node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:233:9)
at HTMLUnknownElementImpl.dispatchEvent (node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:104:17)
at HTMLUnknownElement.dispatchEvent (node_modules/jsdom/lib/jsdom/living/generated/EventTarget.js:241:34)
at Object.invokeGuardedCallbackDev (node_modules/react-dom/cjs/react-dom.development.js:3994:16)
at invokeGuardedCallback (node_modules/react-dom/cjs/react-dom.development.js:4056:31)
at beginWork$1 (node_modules/react-dom/cjs/react-dom.development.js:23964:7)
at performUnitOfWork (node_modules/react-dom/cjs/react-dom.development.js:22779:12)
at workLoopSync (node_modules/react-dom/cjs/react-dom.development.js:22707:5)
at renderRootSync (node_modules/react-dom/cjs/react-dom.development.js:22670:7)
at performSyncWorkOnRoot (node_modules/react-dom/cjs/react-dom.development.js:22293:18)
at scheduleUpdateOnFiber (node_modules/react-dom/cjs/react-dom.development.js:21881:7)
at updateContainer (node_modules/react-dom/cjs/react-dom.development.js:25482:3)
at node_modules/react-dom/cjs/react-dom.development.js:26021:7
at unbatchedUpdates (node_modules/react-dom/cjs/react-dom.development.js:22431:12)
at legacyRenderSubtreeIntoContainer (node_modules/react-dom/cjs/react-dom.development.js:26020:5)
at Object.render (node_modules/react-dom/cjs/react-dom.development.js:26103:10)
at node_modules/@testing-library/react/dist/pure.js:101:25
at batchedUpdates$1 (node_modules/react-dom/cjs/react-dom.development.js:22380:12)
at act (node_modules/react-dom/cjs/react-dom-test-utils.development.js:1042:14)
at render (node_modules/@testing-library/react/dist/pure.js:97:26)
at Object.<anonymous> (test/components/views/rooms/NotificationBadge/NotificationBadge-test.tsx:37:37)
|
NotificationBadge › still shows an empty badge if hideIfDot us true:
src/components/views/rooms/NotificationBadge/StatelessNotificationBadge.tsx#L66
ReferenceError: NotificationColor is not defined
at NotificationColor (src/components/views/rooms/NotificationBadge/StatelessNotificationBadge.tsx:66:35)
at renderWithHooks (node_modules/react-dom/cjs/react-dom.development.js:14985:18)
at updateForwardRef (node_modules/react-dom/cjs/react-dom.development.js:17044:20)
at beginWork (node_modules/react-dom/cjs/react-dom.development.js:19098:16)
at HTMLUnknownElement.callCallback (node_modules/react-dom/cjs/react-dom.development.js:3945:14)
at HTMLUnknownElement.callTheUserObjectsOperation (node_modules/jsdom/lib/jsdom/living/generated/EventListener.js:26:30)
at innerInvokeEventListeners (node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:350:25)
at invokeEventListeners (node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:286:3)
at HTMLUnknownElementImpl._dispatch (node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:233:9)
at HTMLUnknownElementImpl.dispatchEvent (node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:104:17)
at HTMLUnknownElement.dispatchEvent (node_modules/jsdom/lib/jsdom/living/generated/EventTarget.js:241:34)
at Object.invokeGuardedCallbackDev (node_modules/react-dom/cjs/react-dom.development.js:3994:16)
at invokeGuardedCallback (node_modules/react-dom/cjs/react-dom.development.js:4056:31)
at beginWork$1 (node_modules/react-dom/cjs/react-dom.development.js:23964:7)
at performUnitOfWork (node_modules/react-dom/cjs/react-dom.development.js:22779:12)
at workLoopSync (node_modules/react-dom/cjs/react-dom.development.js:22707:5)
at renderRootSync (node_modules/react-dom/cjs/react-dom.development.js:22670:7)
at performSyncWorkOnRoot (node_modules/react-dom/cjs/react-dom.development.js:22293:18)
at scheduleUpdateOnFiber (node_modules/react-dom/cjs/react-dom.development.js:21881:7)
at updateContainer (node_modules/react-dom/cjs/react-dom.development.js:25482:3)
at node_modules/react-dom/cjs/react-dom.development.js:26021:7
at unbatchedUpdates (node_modules/react-dom/cjs/react-dom.development.js:22431:12)
at legacyRenderSubtreeIntoContainer (node_modules/react-dom/cjs/react-dom.development.js:26020:5)
at Object.render (node_modules/react-dom/cjs/react-dom.development.js:26103:10)
at node_modules/@testing-library/react/dist/pure.js:101:25
at batchedUpdates$1 (node_modules/react-dom/cjs/react-dom.development.js:22380:12)
at act (node_modules/react-dom/cjs/react-dom-test-utils.development.js:1042:14)
at render (node_modules/@testing-library/react/dist/pure.js:97:26)
at Object.<anonymous> (test/components/views/rooms/NotificationBadge/NotificationBadge-test.tsx:53:37)
|
NotificationBadge › StatelessNotificationBadge › lets you click it:
src/components/views/rooms/NotificationBadge/StatelessNotificationBadge.tsx#L66
ReferenceError: NotificationColor is not defined
at NotificationColor (src/components/views/rooms/NotificationBadge/StatelessNotificationBadge.tsx:66:35)
at renderWithHooks (node_modules/react-dom/cjs/react-dom.development.js:14985:18)
at updateForwardRef (node_modules/react-dom/cjs/react-dom.development.js:17044:20)
at beginWork (node_modules/react-dom/cjs/react-dom.development.js:19098:16)
at HTMLUnknownElement.callCallback (node_modules/react-dom/cjs/react-dom.development.js:3945:14)
at HTMLUnknownElement.callTheUserObjectsOperation (node_modules/jsdom/lib/jsdom/living/generated/EventListener.js:26:30)
at innerInvokeEventListeners (node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:350:25)
at invokeEventListeners (node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:286:3)
at HTMLUnknownElementImpl._dispatch (node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:233:9)
at HTMLUnknownElementImpl.dispatchEvent (node_modules/jsdom/lib/jsdom/living/events/EventTarget-impl.js:104:17)
at HTMLUnknownElement.dispatchEvent (node_modules/jsdom/lib/jsdom/living/generated/EventTarget.js:241:34)
at Object.invokeGuardedCallbackDev (node_modules/react-dom/cjs/react-dom.development.js:3994:16)
at invokeGuardedCallback (node_modules/react-dom/cjs/react-dom.development.js:4056:31)
at beginWork$1 (node_modules/react-dom/cjs/react-dom.development.js:23964:7)
at performUnitOfWork (node_modules/react-dom/cjs/react-dom.development.js:22779:12)
at workLoopSync (node_modules/react-dom/cjs/react-dom.development.js:22707:5)
at renderRootSync (node_modules/react-dom/cjs/react-dom.development.js:22670:7)
at performSyncWorkOnRoot (node_modules/react-dom/cjs/react-dom.development.js:22293:18)
at scheduleUpdateOnFiber (node_modules/react-dom/cjs/react-dom.development.js:21881:7)
at updateContainer (node_modules/react-dom/cjs/react-dom.development.js:25482:3)
at node_modules/react-dom/cjs/react-dom.development.js:26021:7
at unbatchedUpdates (node_modules/react-dom/cjs/react-dom.development.js:22431:12)
at legacyRenderSubtreeIntoContainer (node_modules/react-dom/cjs/react-dom.development.js:26020:5)
at Object.render (node_modules/react-dom/cjs/react-dom.development.js:26103:10)
at node_modules/@testing-library/react/dist/pure.js:101:25
at batchedUpdates$1 (node_modules/react-dom/cjs/react-dom.development.js:22380:12)
at act (node_modules/react-dom/cjs/react-dom-test-utils.development.js:1042:14)
at render (node_modules/@testing-library/react/dist/pure.js:97:26)
at Object.<anonymous> (test/components/views/rooms/NotificationBadge/NotificationBadge-test.tsx:62:41)
|
<TooltipTarget /> › displays Natural aligned tooltip on mouseover:
test/components/views/elements/TooltipTarget-test.tsx#L58
expect(received).toMatchSnapshot()
Snapshot name: `<TooltipTarget /> displays Natural aligned tooltip on mouseover 1`
- Snapshot - 1
+ Received + 1
@@ -1,10 +1,10 @@
<div
class="mx_Tooltip test tooltipClassName mx_Tooltip_visible"
id="test id"
role="tooltip"
- style="display: block; left: 6px; top: 0px; transform: translateY(-50%);"
+ style="display: block; left: 0px; top: -25px;"
>
<div
class="mx_Tooltip_chevron"
/>
test label
at toMatchSnapshot (test/components/views/elements/TooltipTarget-test.tsx:58:37)
|
<TooltipTarget /> › displays Left aligned tooltip on mouseover:
test/components/views/elements/TooltipTarget-test.tsx#L58
expect(received).toMatchSnapshot()
Snapshot name: `<TooltipTarget /> displays Left aligned tooltip on mouseover 1`
- Snapshot - 1
+ Received + 1
@@ -1,10 +1,10 @@
<div
class="mx_Tooltip test tooltipClassName mx_Tooltip_visible"
id="test id"
role="tooltip"
- style="display: block; right: 1030px; top: 0px; transform: translateY(-50%);"
+ style="display: block; right: 1024px; top: -25px;"
>
<div
class="mx_Tooltip_chevron"
/>
test label
at toMatchSnapshot (test/components/views/elements/TooltipTarget-test.tsx:58:37)
|
<TooltipTarget /> › displays Right aligned tooltip on mouseover:
test/components/views/elements/TooltipTarget-test.tsx#L58
expect(received).toMatchSnapshot()
Snapshot name: `<TooltipTarget /> displays Right aligned tooltip on mouseover 1`
- Snapshot - 1
+ Received + 1
@@ -1,10 +1,10 @@
<div
class="mx_Tooltip test tooltipClassName mx_Tooltip_visible"
id="test id"
role="tooltip"
- style="display: block; left: 6px; top: 0px; transform: translateY(-50%);"
+ style="display: block; left: 0px; top: -25px;"
>
<div
class="mx_Tooltip_chevron"
/>
test label
at toMatchSnapshot (test/components/views/elements/TooltipTarget-test.tsx:58:37)
|
<TooltipTarget /> › displays Top aligned tooltip on mouseover:
test/components/views/elements/TooltipTarget-test.tsx#L58
expect(received).toMatchSnapshot()
Snapshot name: `<TooltipTarget /> displays Top aligned tooltip on mouseover 1`
- Snapshot - 1
+ Received + 1
@@ -1,10 +1,10 @@
<div
class="mx_Tooltip test tooltipClassName mx_Tooltip_visible"
id="test id"
role="tooltip"
- style="display: block; top: -6px; transform: translate(max(10px, min(calc(0px - 50%), calc(100vw - 100% - 10px))), -100%);"
+ style="display: block; top: -16px; left: 0px;"
>
<div
class="mx_Tooltip_chevron"
/>
test label
at toMatchSnapshot (test/components/views/elements/TooltipTarget-test.tsx:58:37)
|
<TooltipTarget /> › displays Bottom aligned tooltip on mouseover:
test/components/views/elements/TooltipTarget-test.tsx#L58
expect(received).toMatchSnapshot()
Snapshot name: `<TooltipTarget /> displays Bottom aligned tooltip on mouseover 1`
- Snapshot - 1
+ Received + 1
@@ -1,10 +1,10 @@
<div
class="mx_Tooltip test tooltipClassName mx_Tooltip_visible"
id="test id"
role="tooltip"
- style="display: block; top: 6px; transform: translate(max(10px, min(calc(0px - 50%), calc(100vw - 100% - 10px))));"
+ style="display: block; top: 0px; left: 0px;"
>
<div
class="mx_Tooltip_chevron"
/>
test label
at toMatchSnapshot (test/components/views/elements/TooltipTarget-test.tsx:58:37)
|
<TooltipTarget /> › displays InnerBottom aligned tooltip on mouseover:
test/components/views/elements/TooltipTarget-test.tsx#L58
expect(received).toMatchSnapshot()
Snapshot name: `<TooltipTarget /> displays InnerBottom aligned tooltip on mouseover 1`
- Snapshot - 1
+ Received + 1
@@ -1,10 +1,10 @@
<div
class="mx_Tooltip test tooltipClassName mx_Tooltip_visible"
id="test id"
role="tooltip"
- style="display: block; top: -50px; transform: translate(max(10px, min(calc(0px - 50%), calc(100vw - 100% - 10px))));"
+ style="display: block;"
>
<div
class="mx_Tooltip_chevron"
/>
test label
at toMatchSnapshot (test/components/views/elements/TooltipTarget-test.tsx:58:37)
|