Fix tests
This commit is contained in:
@@ -13,7 +13,7 @@ exports[`AppBar > renders 1`] = `
|
|||||||
class="nav leftNav"
|
class="nav leftNav"
|
||||||
>
|
>
|
||||||
<button
|
<button
|
||||||
aria-labelledby="«r0»"
|
aria-labelledby="_r_0_"
|
||||||
class="_icon-button_1pz9o_8"
|
class="_icon-button_1pz9o_8"
|
||||||
data-kind="primary"
|
data-kind="primary"
|
||||||
role="button"
|
role="button"
|
||||||
|
|||||||
@@ -2,10 +2,10 @@
|
|||||||
|
|
||||||
exports[`the content is rendered when the modal is open 1`] = `
|
exports[`the content is rendered when the modal is open 1`] = `
|
||||||
<div
|
<div
|
||||||
aria-labelledby="radix-«r4»"
|
aria-labelledby="radix-_r_4_"
|
||||||
class="overlay animate modal dialog _glass_sepwu_8"
|
class="overlay animate modal dialog _glass_sepwu_8"
|
||||||
data-state="open"
|
data-state="open"
|
||||||
id="radix-«r3»"
|
id="radix-_r_3_"
|
||||||
role="dialog"
|
role="dialog"
|
||||||
style="pointer-events: auto;"
|
style="pointer-events: auto;"
|
||||||
tabindex="-1"
|
tabindex="-1"
|
||||||
@@ -18,7 +18,7 @@ exports[`the content is rendered when the modal is open 1`] = `
|
|||||||
>
|
>
|
||||||
<h2
|
<h2
|
||||||
class="_typography_6v6n8_153 _font-heading-md-semibold_6v6n8_112"
|
class="_typography_6v6n8_153 _font-heading-md-semibold_6v6n8_112"
|
||||||
id="radix-«r4»"
|
id="radix-_r_4_"
|
||||||
>
|
>
|
||||||
My modal
|
My modal
|
||||||
</h2>
|
</h2>
|
||||||
@@ -36,7 +36,7 @@ exports[`the content is rendered when the modal is open 1`] = `
|
|||||||
|
|
||||||
exports[`the modal renders as a drawer in mobile viewports 1`] = `
|
exports[`the modal renders as a drawer in mobile viewports 1`] = `
|
||||||
<div
|
<div
|
||||||
aria-labelledby="radix-«ra»"
|
aria-labelledby="radix-_r_a_"
|
||||||
class="overlay modal drawer"
|
class="overlay modal drawer"
|
||||||
data-state="open"
|
data-state="open"
|
||||||
data-vaul-animate="true"
|
data-vaul-animate="true"
|
||||||
@@ -45,7 +45,7 @@ exports[`the modal renders as a drawer in mobile viewports 1`] = `
|
|||||||
data-vaul-drawer=""
|
data-vaul-drawer=""
|
||||||
data-vaul-drawer-direction="bottom"
|
data-vaul-drawer-direction="bottom"
|
||||||
data-vaul-snap-points="false"
|
data-vaul-snap-points="false"
|
||||||
id="radix-«r9»"
|
id="radix-_r_9_"
|
||||||
role="dialog"
|
role="dialog"
|
||||||
style="pointer-events: auto;"
|
style="pointer-events: auto;"
|
||||||
tabindex="-1"
|
tabindex="-1"
|
||||||
@@ -60,7 +60,7 @@ exports[`the modal renders as a drawer in mobile viewports 1`] = `
|
|||||||
class="handle"
|
class="handle"
|
||||||
/>
|
/>
|
||||||
<h2
|
<h2
|
||||||
id="radix-«ra»"
|
id="radix-_r_a_"
|
||||||
style="position: absolute; border: 0px; width: 1px; height: 1px; padding: 0px; margin: -1px; overflow: hidden; clip: rect(0px, 0px, 0px, 0px); white-space: nowrap; word-wrap: normal;"
|
style="position: absolute; border: 0px; width: 1px; height: 1px; padding: 0px; margin: -1px; overflow: hidden; clip: rect(0px, 0px, 0px, 0px); white-space: nowrap; word-wrap: normal;"
|
||||||
>
|
>
|
||||||
My modal
|
My modal
|
||||||
|
|||||||
@@ -2,10 +2,10 @@
|
|||||||
|
|
||||||
exports[`Toast > renders 1`] = `
|
exports[`Toast > renders 1`] = `
|
||||||
<button
|
<button
|
||||||
aria-labelledby="radix-«r4»"
|
aria-labelledby="radix-_r_4_"
|
||||||
class="overlay animate toast"
|
class="overlay animate toast"
|
||||||
data-state="open"
|
data-state="open"
|
||||||
id="radix-«r3»"
|
id="radix-_r_3_"
|
||||||
role="dialog"
|
role="dialog"
|
||||||
style="pointer-events: auto;"
|
style="pointer-events: auto;"
|
||||||
tabindex="-1"
|
tabindex="-1"
|
||||||
@@ -13,7 +13,7 @@ exports[`Toast > renders 1`] = `
|
|||||||
>
|
>
|
||||||
<h3
|
<h3
|
||||||
class="_typography_6v6n8_153 _font-body-sm-semibold_6v6n8_36"
|
class="_typography_6v6n8_153 _font-body-sm-semibold_6v6n8_36"
|
||||||
id="radix-«r4»"
|
id="radix-_r_4_"
|
||||||
>
|
>
|
||||||
Hello world!
|
Hello world!
|
||||||
</h3>
|
</h3>
|
||||||
|
|||||||
@@ -9,7 +9,7 @@ exports[`Can close reaction dialog 1`] = `
|
|||||||
aria-disabled="false"
|
aria-disabled="false"
|
||||||
aria-expanded="true"
|
aria-expanded="true"
|
||||||
aria-haspopup="true"
|
aria-haspopup="true"
|
||||||
aria-labelledby="«rbb»"
|
aria-labelledby="_r_bb_"
|
||||||
class="_button_vczzf_8 _has-icon_vczzf_57 _icon-only_vczzf_50"
|
class="_button_vczzf_8 _has-icon_vczzf_57 _icon-only_vczzf_50"
|
||||||
data-kind="primary"
|
data-kind="primary"
|
||||||
data-size="lg"
|
data-size="lg"
|
||||||
@@ -43,7 +43,7 @@ exports[`Can fully expand emoji picker 1`] = `
|
|||||||
aria-disabled="false"
|
aria-disabled="false"
|
||||||
aria-expanded="true"
|
aria-expanded="true"
|
||||||
aria-haspopup="true"
|
aria-haspopup="true"
|
||||||
aria-labelledby="«r7m»"
|
aria-labelledby="_r_7m_"
|
||||||
class="_button_vczzf_8 _has-icon_vczzf_57 _icon-only_vczzf_50"
|
class="_button_vczzf_8 _has-icon_vczzf_57 _icon-only_vczzf_50"
|
||||||
data-kind="primary"
|
data-kind="primary"
|
||||||
data-size="lg"
|
data-size="lg"
|
||||||
@@ -74,7 +74,7 @@ exports[`Can lower hand 1`] = `
|
|||||||
aria-disabled="false"
|
aria-disabled="false"
|
||||||
aria-expanded="false"
|
aria-expanded="false"
|
||||||
aria-haspopup="true"
|
aria-haspopup="true"
|
||||||
aria-labelledby="«r36»"
|
aria-labelledby="_r_36_"
|
||||||
class="_button_vczzf_8 _has-icon_vczzf_57 _icon-only_vczzf_50"
|
class="_button_vczzf_8 _has-icon_vczzf_57 _icon-only_vczzf_50"
|
||||||
data-kind="secondary"
|
data-kind="secondary"
|
||||||
data-size="lg"
|
data-size="lg"
|
||||||
@@ -108,7 +108,7 @@ exports[`Can open menu 1`] = `
|
|||||||
aria-disabled="false"
|
aria-disabled="false"
|
||||||
aria-expanded="true"
|
aria-expanded="true"
|
||||||
aria-haspopup="true"
|
aria-haspopup="true"
|
||||||
aria-labelledby="«r0»"
|
aria-labelledby="_r_0_"
|
||||||
class="_button_vczzf_8 _has-icon_vczzf_57 _icon-only_vczzf_50"
|
class="_button_vczzf_8 _has-icon_vczzf_57 _icon-only_vczzf_50"
|
||||||
data-kind="primary"
|
data-kind="primary"
|
||||||
data-size="lg"
|
data-size="lg"
|
||||||
@@ -139,7 +139,7 @@ exports[`Can raise hand 1`] = `
|
|||||||
aria-disabled="false"
|
aria-disabled="false"
|
||||||
aria-expanded="false"
|
aria-expanded="false"
|
||||||
aria-haspopup="true"
|
aria-haspopup="true"
|
||||||
aria-labelledby="«r1j»"
|
aria-labelledby="_r_1j_"
|
||||||
class="_button_vczzf_8 raisedButton _has-icon_vczzf_57 _icon-only_vczzf_50"
|
class="_button_vczzf_8 raisedButton _has-icon_vczzf_57 _icon-only_vczzf_50"
|
||||||
data-kind="primary"
|
data-kind="primary"
|
||||||
data-size="lg"
|
data-size="lg"
|
||||||
|
|||||||
@@ -34,7 +34,7 @@ exports[`InCallView > rendering > renders 1`] = `
|
|||||||
tabindex="0"
|
tabindex="0"
|
||||||
>
|
>
|
||||||
<svg
|
<svg
|
||||||
aria-labelledby="«r0»"
|
aria-labelledby="_r_0_"
|
||||||
class="lock"
|
class="lock"
|
||||||
data-encrypted="false"
|
data-encrypted="false"
|
||||||
fill="currentColor"
|
fill="currentColor"
|
||||||
@@ -286,7 +286,7 @@ exports[`InCallView > rendering > renders 1`] = `
|
|||||||
>
|
>
|
||||||
<button
|
<button
|
||||||
aria-disabled="true"
|
aria-disabled="true"
|
||||||
aria-labelledby="«r8»"
|
aria-labelledby="_r_8_"
|
||||||
class="_button_vczzf_8 _has-icon_vczzf_57 _icon-only_vczzf_50"
|
class="_button_vczzf_8 _has-icon_vczzf_57 _icon-only_vczzf_50"
|
||||||
data-kind="primary"
|
data-kind="primary"
|
||||||
data-size="lg"
|
data-size="lg"
|
||||||
@@ -309,7 +309,7 @@ exports[`InCallView > rendering > renders 1`] = `
|
|||||||
</button>
|
</button>
|
||||||
<button
|
<button
|
||||||
aria-disabled="true"
|
aria-disabled="true"
|
||||||
aria-labelledby="«rd»"
|
aria-labelledby="_r_d_"
|
||||||
class="_button_vczzf_8 _has-icon_vczzf_57 _icon-only_vczzf_50"
|
class="_button_vczzf_8 _has-icon_vczzf_57 _icon-only_vczzf_50"
|
||||||
data-kind="primary"
|
data-kind="primary"
|
||||||
data-size="lg"
|
data-size="lg"
|
||||||
@@ -331,7 +331,7 @@ exports[`InCallView > rendering > renders 1`] = `
|
|||||||
</svg>
|
</svg>
|
||||||
</button>
|
</button>
|
||||||
<button
|
<button
|
||||||
aria-labelledby="«ri»"
|
aria-labelledby="_r_i_"
|
||||||
class="_button_vczzf_8 _has-icon_vczzf_57 _icon-only_vczzf_50"
|
class="_button_vczzf_8 _has-icon_vczzf_57 _icon-only_vczzf_50"
|
||||||
data-kind="secondary"
|
data-kind="secondary"
|
||||||
data-size="lg"
|
data-size="lg"
|
||||||
@@ -352,7 +352,7 @@ exports[`InCallView > rendering > renders 1`] = `
|
|||||||
</svg>
|
</svg>
|
||||||
</button>
|
</button>
|
||||||
<button
|
<button
|
||||||
aria-labelledby="«rn»"
|
aria-labelledby="_r_n_"
|
||||||
class="_button_vczzf_8 endCall _has-icon_vczzf_57 _icon-only_vczzf_50 _destructive_vczzf_107"
|
class="_button_vczzf_8 endCall _has-icon_vczzf_57 _icon-only_vczzf_50 _destructive_vczzf_107"
|
||||||
data-kind="primary"
|
data-kind="primary"
|
||||||
data-size="lg"
|
data-size="lg"
|
||||||
@@ -378,7 +378,7 @@ exports[`InCallView > rendering > renders 1`] = `
|
|||||||
class="toggle layout"
|
class="toggle layout"
|
||||||
>
|
>
|
||||||
<input
|
<input
|
||||||
aria-labelledby="«rs»"
|
aria-labelledby="_r_s_"
|
||||||
name="layout"
|
name="layout"
|
||||||
type="radio"
|
type="radio"
|
||||||
value="spotlight"
|
value="spotlight"
|
||||||
@@ -396,7 +396,7 @@ exports[`InCallView > rendering > renders 1`] = `
|
|||||||
/>
|
/>
|
||||||
</svg>
|
</svg>
|
||||||
<input
|
<input
|
||||||
aria-labelledby="«r11»"
|
aria-labelledby="_r_11_"
|
||||||
checked=""
|
checked=""
|
||||||
name="layout"
|
name="layout"
|
||||||
type="radio"
|
type="radio"
|
||||||
|
|||||||
@@ -24,7 +24,7 @@ exports[`DeveloperSettingsTab > renders and matches snapshot 1`] = `
|
|||||||
class="field inputField"
|
class="field inputField"
|
||||||
>
|
>
|
||||||
<input
|
<input
|
||||||
aria-describedby="«r1»"
|
aria-describedby="_r_1_"
|
||||||
id="duplicateTiles"
|
id="duplicateTiles"
|
||||||
min="0"
|
min="0"
|
||||||
type="number"
|
type="number"
|
||||||
@@ -44,7 +44,7 @@ exports[`DeveloperSettingsTab > renders and matches snapshot 1`] = `
|
|||||||
class="field checkboxField"
|
class="field checkboxField"
|
||||||
>
|
>
|
||||||
<input
|
<input
|
||||||
aria-describedby="«r2»"
|
aria-describedby="_r_2_"
|
||||||
id="debugTileLayout"
|
id="debugTileLayout"
|
||||||
type="checkbox"
|
type="checkbox"
|
||||||
/>
|
/>
|
||||||
@@ -81,7 +81,7 @@ exports[`DeveloperSettingsTab > renders and matches snapshot 1`] = `
|
|||||||
class="field checkboxField"
|
class="field checkboxField"
|
||||||
>
|
>
|
||||||
<input
|
<input
|
||||||
aria-describedby="«r3»"
|
aria-describedby="_r_3_"
|
||||||
id="showConnectionStats"
|
id="showConnectionStats"
|
||||||
type="checkbox"
|
type="checkbox"
|
||||||
/>
|
/>
|
||||||
@@ -118,7 +118,7 @@ exports[`DeveloperSettingsTab > renders and matches snapshot 1`] = `
|
|||||||
class="field checkboxField"
|
class="field checkboxField"
|
||||||
>
|
>
|
||||||
<input
|
<input
|
||||||
aria-describedby="«r4»"
|
aria-describedby="_r_4_"
|
||||||
id="muteAllAudio"
|
id="muteAllAudio"
|
||||||
type="checkbox"
|
type="checkbox"
|
||||||
/>
|
/>
|
||||||
@@ -156,7 +156,7 @@ exports[`DeveloperSettingsTab > renders and matches snapshot 1`] = `
|
|||||||
class="field checkboxField"
|
class="field checkboxField"
|
||||||
>
|
>
|
||||||
<input
|
<input
|
||||||
aria-describedby="«r5»"
|
aria-describedby="_r_5_"
|
||||||
id="alwaysShowIphoneEarpiece"
|
id="alwaysShowIphoneEarpiece"
|
||||||
type="checkbox"
|
type="checkbox"
|
||||||
/>
|
/>
|
||||||
@@ -195,7 +195,7 @@ exports[`DeveloperSettingsTab > renders and matches snapshot 1`] = `
|
|||||||
>
|
>
|
||||||
<label
|
<label
|
||||||
class="_label_19upo_59"
|
class="_label_19upo_59"
|
||||||
for="radix-«r6»"
|
for="radix-_r_6_"
|
||||||
>
|
>
|
||||||
Custom Livekit-url
|
Custom Livekit-url
|
||||||
</label>
|
</label>
|
||||||
@@ -203,9 +203,9 @@ exports[`DeveloperSettingsTab > renders and matches snapshot 1`] = `
|
|||||||
class="_controls_17lij_8"
|
class="_controls_17lij_8"
|
||||||
>
|
>
|
||||||
<input
|
<input
|
||||||
aria-describedby="radix-«r7»"
|
aria-describedby="radix-_r_7_"
|
||||||
class="_control_sqdq4_10"
|
class="_control_sqdq4_10"
|
||||||
id="radix-«r6»"
|
id="radix-_r_6_"
|
||||||
name="input"
|
name="input"
|
||||||
title=""
|
title=""
|
||||||
value=""
|
value=""
|
||||||
@@ -213,7 +213,7 @@ exports[`DeveloperSettingsTab > renders and matches snapshot 1`] = `
|
|||||||
</div>
|
</div>
|
||||||
<span
|
<span
|
||||||
class="_message_19upo_85 _help-message_19upo_91"
|
class="_message_19upo_85 _help-message_19upo_91"
|
||||||
id="radix-«r7»"
|
id="radix-_r_7_"
|
||||||
>
|
>
|
||||||
Currently, no overwrite is set. Url from well-known or config is used.
|
Currently, no overwrite is set. Url from well-known or config is used.
|
||||||
</span>
|
</span>
|
||||||
@@ -237,11 +237,11 @@ exports[`DeveloperSettingsTab > renders and matches snapshot 1`] = `
|
|||||||
class="_container_1e0uz_10"
|
class="_container_1e0uz_10"
|
||||||
>
|
>
|
||||||
<input
|
<input
|
||||||
aria-describedby="radix-«r9» radix-«rb» radix-«rd»"
|
aria-describedby="radix-_r_9_ radix-_r_b_ radix-_r_d_"
|
||||||
checked=""
|
checked=""
|
||||||
class="_input_1e0uz_18"
|
class="_input_1e0uz_18"
|
||||||
id="radix-«r8»"
|
id="radix-_r_8_"
|
||||||
name="«r0»"
|
name="_r_0_"
|
||||||
title=""
|
title=""
|
||||||
type="radio"
|
type="radio"
|
||||||
value="legacy"
|
value="legacy"
|
||||||
@@ -256,13 +256,13 @@ exports[`DeveloperSettingsTab > renders and matches snapshot 1`] = `
|
|||||||
>
|
>
|
||||||
<label
|
<label
|
||||||
class="_label_19upo_59"
|
class="_label_19upo_59"
|
||||||
for="radix-«r8»"
|
for="radix-_r_8_"
|
||||||
>
|
>
|
||||||
Legacy: state events & oldest membership SFU
|
Legacy: state events & oldest membership SFU
|
||||||
</label>
|
</label>
|
||||||
<span
|
<span
|
||||||
class="_message_19upo_85 _help-message_19upo_91"
|
class="_message_19upo_85 _help-message_19upo_91"
|
||||||
id="radix-«r9»"
|
id="radix-_r_9_"
|
||||||
>
|
>
|
||||||
Compatible with old versions of EC that do not support multi SFU
|
Compatible with old versions of EC that do not support multi SFU
|
||||||
</span>
|
</span>
|
||||||
@@ -278,10 +278,10 @@ exports[`DeveloperSettingsTab > renders and matches snapshot 1`] = `
|
|||||||
class="_container_1e0uz_10"
|
class="_container_1e0uz_10"
|
||||||
>
|
>
|
||||||
<input
|
<input
|
||||||
aria-describedby="radix-«r9» radix-«rb» radix-«rd»"
|
aria-describedby="radix-_r_9_ radix-_r_b_ radix-_r_d_"
|
||||||
class="_input_1e0uz_18"
|
class="_input_1e0uz_18"
|
||||||
id="radix-«ra»"
|
id="radix-_r_a_"
|
||||||
name="«r0»"
|
name="_r_0_"
|
||||||
title=""
|
title=""
|
||||||
type="radio"
|
type="radio"
|
||||||
value="compatibil"
|
value="compatibil"
|
||||||
@@ -296,13 +296,13 @@ exports[`DeveloperSettingsTab > renders and matches snapshot 1`] = `
|
|||||||
>
|
>
|
||||||
<label
|
<label
|
||||||
class="_label_19upo_59"
|
class="_label_19upo_59"
|
||||||
for="radix-«ra»"
|
for="radix-_r_a_"
|
||||||
>
|
>
|
||||||
Compatibility: state events & multi SFU
|
Compatibility: state events & multi SFU
|
||||||
</label>
|
</label>
|
||||||
<span
|
<span
|
||||||
class="_message_19upo_85 _help-message_19upo_91"
|
class="_message_19upo_85 _help-message_19upo_91"
|
||||||
id="radix-«rb»"
|
id="radix-_r_b_"
|
||||||
>
|
>
|
||||||
Compatible with homeservers that do not support sticky events (but all other EC clients are v0.17.0 or later)
|
Compatible with homeservers that do not support sticky events (but all other EC clients are v0.17.0 or later)
|
||||||
</span>
|
</span>
|
||||||
@@ -318,10 +318,10 @@ exports[`DeveloperSettingsTab > renders and matches snapshot 1`] = `
|
|||||||
class="_container_1e0uz_10"
|
class="_container_1e0uz_10"
|
||||||
>
|
>
|
||||||
<input
|
<input
|
||||||
aria-describedby="radix-«r9» radix-«rb» radix-«rd»"
|
aria-describedby="radix-_r_9_ radix-_r_b_ radix-_r_d_"
|
||||||
class="_input_1e0uz_18"
|
class="_input_1e0uz_18"
|
||||||
id="radix-«rc»"
|
id="radix-_r_c_"
|
||||||
name="«r0»"
|
name="_r_0_"
|
||||||
title=""
|
title=""
|
||||||
type="radio"
|
type="radio"
|
||||||
value="matrix_2_0"
|
value="matrix_2_0"
|
||||||
@@ -336,13 +336,13 @@ exports[`DeveloperSettingsTab > renders and matches snapshot 1`] = `
|
|||||||
>
|
>
|
||||||
<label
|
<label
|
||||||
class="_label_19upo_59"
|
class="_label_19upo_59"
|
||||||
for="radix-«rc»"
|
for="radix-_r_c_"
|
||||||
>
|
>
|
||||||
Matrix 2.0: sticky events & multi SFU
|
Matrix 2.0: sticky events & multi SFU
|
||||||
</label>
|
</label>
|
||||||
<span
|
<span
|
||||||
class="_message_19upo_85 _help-message_19upo_91"
|
class="_message_19upo_85 _help-message_19upo_91"
|
||||||
id="radix-«rd»"
|
id="radix-_r_d_"
|
||||||
>
|
>
|
||||||
Compatible only with homservers supporting sticky events and all EC clients v0.17.0 or later
|
Compatible only with homservers supporting sticky events and all EC clients v0.17.0 or later
|
||||||
</span>
|
</span>
|
||||||
|
|||||||
@@ -6,7 +6,7 @@ Please see LICENSE in the repository root for full details.
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
import "global-jsdom/register";
|
import "global-jsdom/register";
|
||||||
import "@formatjs/intl-durationformat/polyfill";
|
import "@formatjs/intl-durationformat/polyfill.js";
|
||||||
import "@formatjs/intl-segmenter/polyfill";
|
import "@formatjs/intl-segmenter/polyfill";
|
||||||
import i18n from "i18next";
|
import i18n from "i18next";
|
||||||
import posthog from "posthog-js";
|
import posthog from "posthog-js";
|
||||||
|
|||||||
Reference in New Issue
Block a user