1
0
mirror of https://github.com/matrix-org/matrix-react-sdk.git synced 2025-07-30 02:21:17 +03:00

Update open in other tab message (#11916)

This commit is contained in:
Michael Weimann
2023-11-22 11:46:11 +01:00
committed by GitHub
parent 6f715ab803
commit ecc46aeb8c
4 changed files with 12 additions and 11 deletions

View File

@ -1325,7 +1325,7 @@ describe("<MatrixChat />", () => {
await flushPromises();
// now we should see the error page
rendered.getByText("Test has been opened in another tab.");
rendered.getByText("Test is connected in another tab");
// let initCrypto complete, and check we don't get a modal
initCryptoCompleteDefer.resolve();

View File

@ -6,10 +6,10 @@ exports[`<MatrixChat /> Multi-tab lockout shows the lockout page when a second t
class="mx_SessionLockStolenView mx_SplashPage"
>
<h1>
Error
Test is connected in another tab
</h1>
<h2>
Test has been opened in another tab.
Switch to the other tab to connect to Test. This tab can now be closed.
</h2>
</main>
</div>
@ -22,10 +22,10 @@ exports[`<MatrixChat /> Multi-tab lockout shows the lockout page when a second t
class="mx_SessionLockStolenView mx_SplashPage"
>
<h1>
Error
Test is connected in another tab
</h1>
<h2>
Test has been opened in another tab.
Switch to the other tab to connect to Test. This tab can now be closed.
</h2>
</main>
</div>
@ -38,10 +38,10 @@ exports[`<MatrixChat /> Multi-tab lockout shows the lockout page when a second t
class="mx_SessionLockStolenView mx_SplashPage"
>
<h1>
Error
Test is connected in another tab
</h1>
<h2>
Test has been opened in another tab.
Switch to the other tab to connect to Test. This tab can now be closed.
</h2>
</main>
</div>
@ -53,10 +53,10 @@ exports[`<MatrixChat /> Multi-tab lockout shows the lockout page when a second t
class="mx_SessionLockStolenView mx_SplashPage"
>
<h1>
Error
Test is connected in another tab
</h1>
<h2>
Test has been opened in another tab.
Switch to the other tab to connect to Test. This tab can now be closed.
</h2>
</main>
</div>