File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ /*
2+ Copyright 2025 Element Creations Ltd.
3+
4+ SPDX-License-Identifier: AGPL-3.0-only OR GPL-3.0-only OR LicenseRef-Element-Commercial
5+ Please see LICENSE files in the repository root for full details.
6+ */
7+
8+ import { expect , test } from "../../element-web-test" ;
9+ import { logIntoElement } from "../crypto/utils.ts" ;
10+
11+ test . describe ( `With force_verification: true` , ( ) => {
12+ test . use ( {
13+ config : {
14+ force_verification : true ,
15+ } ,
16+ } ) ;
17+
18+ test ( "Can reload after login" , async ( { context, credentials, page } ) => {
19+ // The page should reload fine when going to the base client URL
20+ // Regression test for https://github.com/element-hq/element-web/issues/31203
21+ await logIntoElement ( page , credentials ) ;
22+
23+ // We should auto-upload the E2EE keys, and show a welcome page
24+ await expect ( page . getByRole ( "heading" , { name : `Welcome ${ credentials . displayName } ` } ) ) . toBeVisible ( ) ;
25+
26+ await page . goto ( "/" ) ;
27+
28+ await expect ( page . getByRole ( "heading" , { name : `Welcome ${ credentials . displayName } ` } ) ) . toBeVisible ( ) ;
29+ } ) ;
30+ } ) ;
You can’t perform that action at this time.
0 commit comments