You've already forked element-web
mirror of
https://github.com/element-hq/element-web.git
synced 2025-09-14 21:49:26 +03:00
* Update vector-im * Update snapshots Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> * Update tests Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> * Make BaseDialog's div keyboard focusable and fix test. * Update more e2e tests to use switch instead of checkbox * fix useParticipants incorrectly returning an array when a map is expected * Try again to fix calParticipants * try fix RoomHeader tests again by also mocking useParticipants * Revert "try fix RoomHeader tests again by also mocking useParticipants" This reverts commitf83093cc44
. * Try with no dependencies * try mocking useCall rather than just useParticipantCount * Mock the call store rather than the hook * Only mock the call object for tests that expect it. * Revert "Only mock the call object for tests that expect it." This reverts commit043d812b1d
. * Revert "Mock the call store rather than the hook" This reverts commit644be3155c
. * Revert "try mocking useCall rather than just useParticipantCount" This reverts commit92034aaff9
. * Revert "Try with no dependencies" This reverts commitfb502a68a0
. * Reapply "try fix RoomHeader tests again by also mocking useParticipants" This reverts commite456782efd
. * Revert "try fix RoomHeader tests again by also mocking useParticipants" This reverts commitf83093cc44
. * Revert "Try again to fix calParticipants" This reverts commitc45ad3063f
. * Revert "fix useParticipants incorrectly returning an array when a map is expected" This reverts commite06d76e3f7
. * bump compound-web * Update snapshots * Fix bad merge, we don't need the second call to escape. The comment a couple of lines up explains things. * Trigger build to fix licence/cla check --------- Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Michael Telatynski <7t3chguy@gmail.com> Co-authored-by: David Langley <davidl@element.io>
83 lines
2.2 KiB
Plaintext
83 lines
2.2 KiB
Plaintext
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
|
|
exports[`<ImageView /> renders correctly 1`] = `
|
|
<div>
|
|
<div
|
|
data-focus-guard="true"
|
|
style="width: 1px; height: 0px; padding: 0px; overflow: hidden; position: fixed; top: 1px; left: 1px;"
|
|
tabindex="0"
|
|
/>
|
|
<div
|
|
aria-label="Image view"
|
|
class="mx_ImageView"
|
|
data-focus-lock-disabled="false"
|
|
role="dialog"
|
|
>
|
|
<div
|
|
class="mx_ImageView_panel"
|
|
>
|
|
<div />
|
|
<div
|
|
class="mx_ImageView_toolbar"
|
|
>
|
|
<div
|
|
aria-describedby="«r2»"
|
|
aria-label="Zoom out"
|
|
class="mx_AccessibleButton mx_ImageView_button mx_ImageView_button_zoomOut"
|
|
role="button"
|
|
tabindex="0"
|
|
/>
|
|
<div
|
|
aria-label="Zoom in"
|
|
class="mx_AccessibleButton mx_ImageView_button mx_ImageView_button_zoomIn"
|
|
role="button"
|
|
tabindex="0"
|
|
/>
|
|
<div
|
|
aria-label="Rotate Left"
|
|
class="mx_AccessibleButton mx_ImageView_button mx_ImageView_button_rotateCCW"
|
|
role="button"
|
|
tabindex="0"
|
|
/>
|
|
<div
|
|
aria-label="Rotate Right"
|
|
class="mx_AccessibleButton mx_ImageView_button mx_ImageView_button_rotateCW"
|
|
role="button"
|
|
tabindex="0"
|
|
/>
|
|
<div
|
|
aria-label="Download"
|
|
class="mx_AccessibleButton mx_ImageView_button mx_ImageView_button_download"
|
|
role="button"
|
|
tabindex="0"
|
|
/>
|
|
<div
|
|
aria-label="Close"
|
|
class="mx_AccessibleButton mx_ImageView_button mx_ImageView_button_close"
|
|
role="button"
|
|
tabindex="0"
|
|
/>
|
|
</div>
|
|
</div>
|
|
<div
|
|
class="mx_ImageView_image_wrapper"
|
|
>
|
|
<img
|
|
class="mx_ImageView_image "
|
|
draggable="true"
|
|
src="https://example.com/image.png"
|
|
style="transform: translateX(0px)
|
|
translateY(0px)
|
|
scale(0)
|
|
rotate(0deg); cursor: zoom-out;"
|
|
/>
|
|
</div>
|
|
</div>
|
|
<div
|
|
data-focus-guard="true"
|
|
style="width: 1px; height: 0px; padding: 0px; overflow: hidden; position: fixed; top: 1px; left: 1px;"
|
|
tabindex="0"
|
|
/>
|
|
</div>
|
|
`;
|