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

View file

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

View file

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

View file

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

View file

@ -18,7 +18,7 @@ describe("CryptographyPanel", () => {
it("shows the session ID and key", () => { it("shows the session ID and key", () => {
const sessionId = "ABCDEFGHIJ"; const sessionId = "ABCDEFGHIJ";
const sessionKey = "AbCDeFghIJK7L/m4nOPqRSTUVW4xyzaBCDef6gHIJkl"; 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(); TestUtils.stubClient();
const client: MatrixClient = MatrixClientPeg.safeGet(); const client: MatrixClient = MatrixClientPeg.safeGet();

View file

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

View file

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

View file

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

View file

@ -178,9 +178,9 @@ exports[`<SecurityRoomSettingsTab /> join rule warns when trying to make an encr
<p> <p>
<span> <span>
<b> <strong>
It's not recommended to make encrypted rooms public. 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. 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> </span>

View file

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

View file

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

View file

@ -58,7 +58,7 @@ exports[`HTMLExport should export 1`] = `
<div class="mx_NewRoomIntro"> <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> <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> <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/> <br/>
<p> </p> <p> </p>
</div> </div>