Move CSS for ResetIdentityPanel into EncryptionCard #3768
Annotations
5 errors
<EncryptionUserSettingsTab /> › should display the reset identity panel when the user clicks on the reset cryptographic identity panel:
test/unit-tests/components/views/settings/tabs/user/EncryptionUserSettingsTab-test.tsx#L137
expect(received).toMatchSnapshot()
Snapshot name: `<EncryptionUserSettingsTab /> should display the reset identity panel when the user clicks on the reset cryptographic identity panel 1`
- Snapshot - 1
+ Received + 2
@@ -85,11 +85,12 @@
>
Are you sure you want to reset your identity?
</h2>
</div>
<div
- class="mx_EncryptionCard_emphasisedContent"
+ class="mx_Flex mx_EncryptionCard_emphasisedContent"
+ style="--mx-flex-display: flex; --mx-flex-direction: column; --mx-flex-align: start; --mx-flex-justify: start; --mx-flex-gap: 0;"
>
<ul
class="_visual-list_4dcf8_17"
>
<li
at Object.toMatchSnapshot (test/unit-tests/components/views/settings/tabs/user/EncryptionUserSettingsTab-test.tsx:137:30)
|
<ResetIdentityPanel /> › should reset the encryption when the continue button is clicked:
test/unit-tests/components/views/settings/encryption/ResetIdentityPanel-test.tsx#L31
expect(received).toMatchSnapshot()
Snapshot name: `<ResetIdentityPanel /> should reset the encryption when the continue button is clicked 1`
- Snapshot - 1
+ Received + 2
@@ -78,11 +78,12 @@
>
Are you sure you want to reset your identity?
</h2>
</div>
<div
- class="mx_EncryptionCard_emphasisedContent"
+ class="mx_Flex mx_EncryptionCard_emphasisedContent"
+ style="--mx-flex-display: flex; --mx-flex-direction: column; --mx-flex-align: start; --mx-flex-justify: start; --mx-flex-gap: 0;"
>
<ul
class="_visual-list_4dcf8_17"
>
<li
at Object.toMatchSnapshot (test/unit-tests/components/views/settings/encryption/ResetIdentityPanel-test.tsx:31:30)
|
<ResetIdentityPanel /> › should display the 'forgot recovery key' variant correctly:
test/unit-tests/components/views/settings/encryption/ResetIdentityPanel-test.tsx#L44
expect(received).toMatchSnapshot()
Snapshot name: `<ResetIdentityPanel /> should display the 'forgot recovery key' variant correctly 1`
- Snapshot - 1
+ Received + 2
@@ -78,11 +78,12 @@
>
Forgot your recovery key? You’ll need to reset your identity.
</h2>
</div>
<div
- class="mx_EncryptionCard_emphasisedContent"
+ class="mx_Flex mx_EncryptionCard_emphasisedContent"
+ style="--mx-flex-display: flex; --mx-flex-direction: column; --mx-flex-align: start; --mx-flex-justify: start; --mx-flex-gap: 0;"
>
<ul
class="_visual-list_4dcf8_17"
>
<li
at Object.toMatchSnapshot (test/unit-tests/components/views/settings/encryption/ResetIdentityPanel-test.tsx:44:30)
|
Jest (2)
Process completed with exit code 1.
|
jest-tests
Process completed with exit code 1.
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
coverage-1
|
393 KB |
|