@@ -19,11 +19,6 @@ limitations under the License.
19
19
import { SynapseInstance } from "../../plugins/synapsedocker" ;
20
20
import { MatrixClient } from "../../global" ;
21
21
22
- function markWindowBeforeReload ( ) : void {
23
- // mark our window object to "know" when it gets reloaded
24
- cy . window ( ) . then ( ( w ) => ( w . beforeReload = true ) ) ;
25
- }
26
-
27
22
describe ( "Threads" , ( ) => {
28
23
let synapse : SynapseInstance ;
29
24
@@ -42,35 +37,6 @@ describe("Threads", () => {
42
37
cy . stopSynapse ( synapse ) ;
43
38
} ) ;
44
39
45
- it ( "should reload when enabling threads beta" , ( ) => {
46
- markWindowBeforeReload ( ) ;
47
-
48
- // Turn off
49
- cy . openUserSettings ( "Labs" ) . within ( ( ) => {
50
- // initially the new property is there
51
- cy . window ( ) . should ( "have.prop" , "beforeReload" , true ) ;
52
-
53
- cy . leaveBeta ( "Threads" ) ;
54
- cy . wait ( 1000 ) ;
55
- // after reload the property should be gone
56
- cy . window ( ) . should ( "not.have.prop" , "beforeReload" ) ;
57
- } ) ;
58
-
59
- cy . get ( ".mx_MatrixChat" , { timeout : 15000 } ) ; // wait for the app
60
- markWindowBeforeReload ( ) ;
61
-
62
- // Turn on
63
- cy . openUserSettings ( "Labs" ) . within ( ( ) => {
64
- // initially the new property is there
65
- cy . window ( ) . should ( "have.prop" , "beforeReload" , true ) ;
66
-
67
- cy . joinBeta ( "Threads" ) ;
68
- cy . wait ( 1000 ) ;
69
- // after reload the property should be gone
70
- cy . window ( ) . should ( "not.have.prop" , "beforeReload" ) ;
71
- } ) ;
72
- } ) ;
73
-
74
40
it ( "should be usable for a conversation" , ( ) => {
75
41
let bot : MatrixClient ;
76
42
cy . getBot ( synapse , {
0 commit comments