Fix tests

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
This commit is contained in:
Michael Telatynski 2024-09-13 12:34:15 +01:00
parent a6e98b0b63
commit 8044ce4c01
No known key found for this signature in database
GPG Key ID: A2B008A5F49F5D0D
12 changed files with 32 additions and 32 deletions

View File

@ -370,9 +370,9 @@ exports[`RoomView for a local room in state ERROR should match the snapshot 1`]
<p>
<span>
Send your first message to invite
<b>
<strong>
@user:example.com
</b>
</strong>
to chat
</span>
</p>
@ -625,9 +625,9 @@ exports[`RoomView for a local room in state NEW should match the snapshot 1`] =
<p>
<span>
Send your first message to invite
<b>
<strong>
@user:example.com
</b>
</strong>
to chat
</span>
</p>
@ -952,9 +952,9 @@ exports[`RoomView for a local room in state NEW that is encrypted should match t
<p>
<span>
Send your first message to invite
<b>
<strong>
@user:example.com
</b>
</strong>
to chat
</span>
</p>

View File

@ -8,9 +8,9 @@ exports[`<EmailIdentityAuthEntry/> should render 1`] = `
<p>
<span>
To create your account, open the link in the email we just sent to
<b>
<strong>
alice@example.xyz
</b>
</strong>
.
</span>
</p>

View File

@ -26,9 +26,9 @@ exports[`<ManageRestrictedJoinRuleDialog /> should list spaces which are not par
<p>
<span>
Decide which spaces can access this room. If a space is selected, its members can find and join
<b>
<strong>
!roomId:server
</b>
</strong>
.
</span>
</p>
@ -176,9 +176,9 @@ exports[`<ManageRestrictedJoinRuleDialog /> should render empty state 1`] = `
<p>
<span>
Decide which spaces can access this room. If a space is selected, its members can find and join
<b>
<strong>
!roomId:server
</b>
</strong>
.
</span>
</p>

View File

@ -66,9 +66,9 @@ exports[`ManualDeviceKeyVerificationDialog should display the device 1`] = `
<span>
<code>
<b>
<strong>
ABCD EFGH
</b>
</strong>
</code>
</span>
</li>
@ -181,9 +181,9 @@ exports[`ManualDeviceKeyVerificationDialog should display the device of another
<span>
<code>
<b>
<strong>
ABCD EFGH
</b>
</strong>
</code>
</span>
</li>

View File

@ -18,7 +18,7 @@ describe("CryptographyPanel", () => {
it("shows the session ID and key", () => {
const sessionId = "ABCDEFGHIJ";
const sessionKey = "AbCDeFghIJK7L/m4nOPqRSTUVW4xyzaBCDef6gHIJkl";
const sessionKeyFormatted = "<b>AbCD eFgh IJK7 L/m4 nOPq RSTU VW4x yzaB CDef 6gHI Jkl</b>";
const sessionKeyFormatted = "<strong>AbCD eFgh IJK7 L/m4 nOPq RSTU VW4x yzaB CDef 6gHI Jkl</strong>";
TestUtils.stubClient();
const client: MatrixClient = MatrixClientPeg.safeGet();

View File

@ -79,9 +79,9 @@ exports[`<SecureBackupPanel /> suggests connecting session to key backup when ba
>
<span>
This session is
<b>
<strong>
not backing up your keys
</b>
</strong>
, but you do have an existing backup you can restore from and add to going forward.
</span>
</div>

View File

@ -41,9 +41,9 @@ exports[`SetIntegrationManager should render manage integrations sections 1`] =
>
<span>
Use an integration manager
<b>
<strong>
(scalar.vector.im)
</b>
</strong>
to manage bots, widgets, and sticker packs.
</span>
</div>

View File

@ -1067,9 +1067,9 @@ exports[`<LoginWithQRFlow /> renders QR code 1`] = `
<li>
<span>
Select "
<b>
<strong>
Sign in with QR code
</b>
</strong>
"
</span>
</li>

View File

@ -178,9 +178,9 @@ exports[`<SecurityRoomSettingsTab /> join rule warns when trying to make an encr
<p>
<span>
<b>
<strong>
It's not recommended to make encrypted rooms public.
</b>
</strong>
It will mean anyone can find and join the room, so anyone can read messages. You'll get none of the benefits of encryption. Encrypting messages in a public room will make receiving and sending messages slower.
</span>

View File

@ -48,9 +48,9 @@ exports[`<SecurityUserSettingsTab /> renders security section 1`] = `
>
<span>
Use an integration manager
<b>
<strong>
(scalar.vector.im)
</b>
</strong>
to manage bots, widgets, and sticker packs.
</span>
</div>
@ -332,9 +332,9 @@ exports[`<SecurityUserSettingsTab /> renders security section 1`] = `
</th>
<td>
<code>
<b>
<strong>
&lt;not supported&gt;
</b>
</strong>
</code>
</td>
</tr>

View File

@ -143,9 +143,9 @@ exports[`<SpaceSettingsVisibilityTab /> renders container 1`] = `
<p>
Allow people to preview your space before they join.
<br />
<b>
<strong>
Recommended for public spaces.
</b>
</strong>
</p>
</div>
</div>

View File

@ -58,7 +58,7 @@ exports[`HTMLExport should export 1`] = `
<div class="mx_NewRoomIntro">
<span role="presentation" title="!myroom:example.org" data-testid="avatar-img" data-type="round" data-color="1" class="_avatar_mcap2_17 mx_BaseAvatar _avatar-imageless_mcap2_61" style="--cpd-avatar-size:32px">!</span>
<h2> !myroom:example.org </h2>
<p> created this room. <br/><br/> <p><span>This is the start of export of <b>!myroom:example.org</b>. Exported by <a href="https://matrix.to/#/%40userId%3Amatrix.org" target="_blank" rel="noopener noreferrer"><b>@userId:matrix.org</b></a> at 11/17/2022.</span></p> </p>
<p> created this room. <br/><br/> <p><span>This is the start of export of <strong>!myroom:example.org</strong>. Exported by <a href="https://matrix.to/#/%40userId%3Amatrix.org" target="_blank" rel="noopener noreferrer"><strong>@userId:matrix.org</strong></a> at 11/17/2022.</span></p> </p>
<br/>
<p> </p>
</div>