From b426bd55244f959a02090e5a2ce49639ea96bdbf Mon Sep 17 00:00:00 2001 From: Quentin Gliech Date: Fri, 21 Feb 2025 15:28:33 +0100 Subject: [PATCH] Update frontend test snapshots --- .../OAuth2ClientDetail.test.tsx.snap | 22 +- .../DeviceTypeIcon.test.tsx.snap | 10 +- .../CompatSessionDetail.test.tsx.snap | 198 +++++++++--------- .../OAuth2SessionDetail.test.tsx.snap | 140 ++++++------- .../__snapshots__/SessionHeader.test.tsx.snap | 4 +- .../BrowserSessionsOverview.test.tsx.snap | 12 +- .../__snapshots__/CompatSession.test.tsx.snap | 12 +- .../__snapshots__/OAuth2Session.test.tsx.snap | 10 +- .../reset-cross-signing.test.tsx.snap | 100 ++++----- .../account/__snapshots__/index.test.tsx.snap | 142 ++++++------- 10 files changed, 325 insertions(+), 325 deletions(-) diff --git a/frontend/src/components/Client/__snapshots__/OAuth2ClientDetail.test.tsx.snap b/frontend/src/components/Client/__snapshots__/OAuth2ClientDetail.test.tsx.snap index 214083888..1acf56602 100644 --- a/frontend/src/components/Client/__snapshots__/OAuth2ClientDetail.test.tsx.snap +++ b/frontend/src/components/Client/__snapshots__/OAuth2ClientDetail.test.tsx.snap @@ -9,7 +9,7 @@ exports[` > renders client details 1`] = ` class="flex flex-row gap-2 justify-start items-center" >

Test Client

@@ -18,11 +18,11 @@ exports[` > renders client details 1`] = ` class="flex flex-col gap-6" >

Client info @@ -30,7 +30,7 @@ exports[` > renders pc device type 1`] = ` xmlns="http://www.w3.org/2000/svg" > @@ -48,7 +48,7 @@ exports[` > renders tablet device type 1`] = ` xmlns="http://www.w3.org/2000/svg" > @@ -66,10 +66,10 @@ exports[` > renders unknown device type 1`] = ` xmlns="http://www.w3.org/2000/svg" > diff --git a/frontend/src/components/SessionDetail/__snapshots__/CompatSessionDetail.test.tsx.snap b/frontend/src/components/SessionDetail/__snapshots__/CompatSessionDetail.test.tsx.snap index c4ccb5f05..38afa39fb 100644 --- a/frontend/src/components/SessionDetail/__snapshots__/CompatSessionDetail.test.tsx.snap +++ b/frontend/src/components/SessionDetail/__snapshots__/CompatSessionDetail.test.tsx.snap @@ -20,12 +20,12 @@ exports[` > renders a compatability session details 1`] = ` xmlns="http://www.w3.org/2000/svg" >

element.io : @@ -36,11 +36,11 @@ exports[` > renders a compatability session details 1`] = ` class="flex flex-col gap-6" >

Device details @@ -515,7 +515,7 @@ exports[`Reset cross signing > renders the success page 1`] = `

The identity reset has been approved for the next 10 minutes. You can close this window and go back to the app to continue.

@@ -542,7 +542,7 @@ exports[`Reset cross signing > renders the success page 2`] = ` xmlns="http://www.w3.org/2000/svg" > @@ -557,7 +557,7 @@ exports[`Reset cross signing > renders the success page 2`] = `

The identity reset has been approved for the next 10 minutes. You can close this window and go back to the app to continue.

diff --git a/frontend/tests/routes/account/__snapshots__/index.test.tsx.snap b/frontend/tests/routes/account/__snapshots__/index.test.tsx.snap index fdd384961..89a73c89d 100644 --- a/frontend/tests/routes/account/__snapshots__/index.test.tsx.snap +++ b/frontend/tests/routes/account/__snapshots__/index.test.tsx.snap @@ -19,7 +19,7 @@ exports[`Account home page > display name edit box > displays an error if the di

display name edit box > displays an error if the di A
display name edit box > displays an error if the di
This is what others will see wherever you’re signed in.
display name edit box > displays an error if the di
@@ -167,7 +167,7 @@ exports[`Account home page > display name edit box > lets edit the display name

display name edit box > lets edit the display name A
display name edit box > lets edit the display name
This is what others will see wherever you’re signed in.
display name edit box > lets edit the display name
@@ -301,7 +301,7 @@ exports[`Account home page > renders the page 1`] = ` class="flex flex-col gap-10" >

Your account

@@ -313,7 +313,7 @@ exports[`Account home page > renders the page 1`] = ` > renders the page 1`] = ` class="_meta_66f22a" >

Alice

@alice:example.com

@@ -340,7 +340,7 @@ exports[`Account home page > renders the page 1`] = ` aria-expanded="false" aria-haspopup="dialog" aria-labelledby=":r3:" - class="_icon-button_bh2qc_17 _editButton_66f22a" + class="_icon-button_m2erp_8 _editButton_66f22a" data-state="closed" role="button" style="--cpd-icon-button-size: var(--cpd-space-6x);" @@ -348,7 +348,7 @@ exports[`Account home page > renders the page 1`] = ` type="button" >
renders the page 1`] = ` > @@ -414,7 +414,7 @@ exports[`Account home page > renders the page 1`] = ` class="_trigger_f1daaa" >

Contact info @@ -423,7 +423,7 @@ exports[`Account home page > renders the page 1`] = ` aria-controls="radix-:ra:" aria-expanded="true" aria-labelledby=":rb:" - class="_icon-button_bh2qc_17 _triggerIcon_f1daaa" + class="_icon-button_m2erp_8 _triggerIcon_f1daaa" data-state="open" role="button" style="--cpd-icon-button-size: 32px;" @@ -431,7 +431,7 @@ exports[`Account home page > renders the page 1`] = ` type="button" >
renders the page 1`] = ` xmlns="http://www.w3.org/2000/svg" >
@@ -456,13 +456,13 @@ exports[`Account home page > renders the page 1`] = ` style="transition-duration: 0s; animation-name: none;" >
renders the page 1`] = ` />
Add an alternative email you can use to access this account. @@ -518,7 +518,7 @@ exports[`Account home page > renders the page 1`] = `