* 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 commit f83093cc44586b881d0918e4e4dee60d3263d44b. * 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 commit 043d812b1defe75eb7d9c56546317f176b4ba34e. * Revert "Mock the call store rather than the hook" This reverts commit 644be3155c434a309fcfd90a21370a732bb7bdd5. * Revert "try mocking useCall rather than just useParticipantCount" This reverts commit 92034aaff9b46fd135ee4dbcd93dd62ad5985e5e. * Revert "Try with no dependencies" This reverts commit fb502a68a08bd0227ace807fdaf394ed8719d92a. * Reapply "try fix RoomHeader tests again by also mocking useParticipants" This reverts commit e456782efd5ea860cb6679be3adf440788fe40a4. * Revert "try fix RoomHeader tests again by also mocking useParticipants" This reverts commit f83093cc44586b881d0918e4e4dee60d3263d44b. * Revert "Try again to fix calParticipants" This reverts commit c45ad3063f97cad6989ec3fe44dacf6f0904a4e1. * Revert "fix useParticipants incorrectly returning an array when a map is expected" This reverts commit e06d76e3f74d8f77e33247e9f4708bb39aebdce0. * 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>
243 lines
5.7 KiB
Plaintext
243 lines
5.7 KiB
Plaintext
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
|
|
exports[`DevtoolsDialog renders the devtools dialog 1`] = `
|
|
<DocumentFragment>
|
|
<div
|
|
data-focus-guard="true"
|
|
style="width: 1px; height: 0px; padding: 0px; overflow: hidden; position: fixed; top: 1px; left: 1px;"
|
|
tabindex="0"
|
|
/>
|
|
<div
|
|
aria-labelledby="mx_BaseDialog_title"
|
|
class="mx_QuestionDialog mx_Dialog_fixedWidth"
|
|
data-focus-lock-disabled="false"
|
|
role="dialog"
|
|
tabindex="-1"
|
|
>
|
|
<div
|
|
class="mx_Dialog_header"
|
|
>
|
|
<h1
|
|
class="mx_Heading_h3 mx_Dialog_title"
|
|
id="mx_BaseDialog_title"
|
|
>
|
|
Developer Tools
|
|
</h1>
|
|
</div>
|
|
<div
|
|
class="mx_DevTools_label_left"
|
|
>
|
|
Toolbox
|
|
</div>
|
|
<div
|
|
class="mx_CopyableText mx_DevTools_label_right"
|
|
>
|
|
Room ID: !id
|
|
<div
|
|
aria-describedby="«r2»"
|
|
aria-label="Copy"
|
|
class="mx_AccessibleButton mx_CopyableText_copyButton"
|
|
role="button"
|
|
tabindex="0"
|
|
/>
|
|
</div>
|
|
<div
|
|
class="mx_DevTools_label_bottom"
|
|
/>
|
|
<div
|
|
class="mx_DevTools_content"
|
|
>
|
|
<div>
|
|
<h3>
|
|
Room
|
|
</h3>
|
|
<button
|
|
class="mx_DevTools_button"
|
|
>
|
|
Send custom timeline event
|
|
</button>
|
|
<button
|
|
class="mx_DevTools_button"
|
|
>
|
|
Explore room state
|
|
</button>
|
|
<button
|
|
class="mx_DevTools_button"
|
|
>
|
|
Explore room account data
|
|
</button>
|
|
<button
|
|
class="mx_DevTools_button"
|
|
>
|
|
View servers in room
|
|
</button>
|
|
<button
|
|
class="mx_DevTools_button"
|
|
>
|
|
Notifications debug
|
|
</button>
|
|
<button
|
|
class="mx_DevTools_button"
|
|
>
|
|
Active Widgets
|
|
</button>
|
|
</div>
|
|
<div>
|
|
<h3>
|
|
Other
|
|
</h3>
|
|
<button
|
|
class="mx_DevTools_button"
|
|
>
|
|
Explore account data
|
|
</button>
|
|
<button
|
|
class="mx_DevTools_button"
|
|
>
|
|
Settings explorer
|
|
</button>
|
|
<button
|
|
class="mx_DevTools_button"
|
|
>
|
|
Server info
|
|
</button>
|
|
<button
|
|
class="mx_DevTools_button"
|
|
>
|
|
End-to-end encryption
|
|
</button>
|
|
</div>
|
|
<div>
|
|
<h3>
|
|
Options
|
|
</h3>
|
|
<div
|
|
class="mx_SettingsFlag"
|
|
>
|
|
<label
|
|
class="mx_SettingsFlag_label"
|
|
for="mx_SettingsFlag_vY7Q4uEh9K38"
|
|
>
|
|
<span
|
|
class="mx_SettingsFlag_labelText"
|
|
>
|
|
Developer mode
|
|
</span>
|
|
</label>
|
|
<div
|
|
aria-checked="false"
|
|
aria-disabled="false"
|
|
aria-label="Developer mode"
|
|
class="mx_AccessibleButton mx_ToggleSwitch mx_ToggleSwitch_enabled"
|
|
id="mx_SettingsFlag_vY7Q4uEh9K38"
|
|
role="switch"
|
|
tabindex="0"
|
|
>
|
|
<div
|
|
class="mx_ToggleSwitch_ball"
|
|
/>
|
|
</div>
|
|
</div>
|
|
<div
|
|
class="mx_SettingsFlag"
|
|
>
|
|
<label
|
|
class="mx_SettingsFlag_label"
|
|
for="mx_SettingsFlag_QgU2PomxwKpa"
|
|
>
|
|
<span
|
|
class="mx_SettingsFlag_labelText"
|
|
>
|
|
Show hidden events in timeline
|
|
</span>
|
|
</label>
|
|
<div
|
|
aria-checked="false"
|
|
aria-disabled="false"
|
|
aria-label="Show hidden events in timeline"
|
|
class="mx_AccessibleButton mx_ToggleSwitch mx_ToggleSwitch_enabled"
|
|
id="mx_SettingsFlag_QgU2PomxwKpa"
|
|
role="switch"
|
|
tabindex="0"
|
|
>
|
|
<div
|
|
class="mx_ToggleSwitch_ball"
|
|
/>
|
|
</div>
|
|
</div>
|
|
<div
|
|
class="mx_SettingsFlag"
|
|
>
|
|
<label
|
|
class="mx_SettingsFlag_label"
|
|
for="mx_SettingsFlag_6hpi3YEetmBG"
|
|
>
|
|
<span
|
|
class="mx_SettingsFlag_labelText"
|
|
>
|
|
Enable widget screenshots on supported widgets
|
|
</span>
|
|
</label>
|
|
<div
|
|
aria-checked="false"
|
|
aria-disabled="false"
|
|
aria-label="Enable widget screenshots on supported widgets"
|
|
class="mx_AccessibleButton mx_ToggleSwitch mx_ToggleSwitch_enabled"
|
|
id="mx_SettingsFlag_6hpi3YEetmBG"
|
|
role="switch"
|
|
tabindex="0"
|
|
>
|
|
<div
|
|
class="mx_ToggleSwitch_ball"
|
|
/>
|
|
</div>
|
|
</div>
|
|
<form
|
|
class="_root_19upo_16"
|
|
>
|
|
<div
|
|
class="_field_19upo_26"
|
|
>
|
|
<label
|
|
class="_label_19upo_59"
|
|
for="radix-«r4»"
|
|
>
|
|
Element Call URL
|
|
</label>
|
|
<div
|
|
class="_controls_17lij_8"
|
|
>
|
|
<input
|
|
class="_control_sqdq4_10"
|
|
id="radix-«r4»"
|
|
name="input"
|
|
title=""
|
|
value=""
|
|
/>
|
|
</div>
|
|
</div>
|
|
</form>
|
|
</div>
|
|
</div>
|
|
<div
|
|
class="mx_Dialog_buttons"
|
|
>
|
|
<button>
|
|
Back
|
|
</button>
|
|
</div>
|
|
<div
|
|
aria-label="Close dialog"
|
|
class="mx_AccessibleButton mx_Dialog_cancelButton"
|
|
role="button"
|
|
tabindex="0"
|
|
/>
|
|
</div>
|
|
<div
|
|
data-focus-guard="true"
|
|
style="width: 1px; height: 0px; padding: 0px; overflow: hidden; position: fixed; top: 1px; left: 1px;"
|
|
tabindex="0"
|
|
/>
|
|
</DocumentFragment>
|
|
`;
|