@@ -467,9 +467,10 @@ describe("Timeline", () => {
467
467
"0px" ,
468
468
) ;
469
469
470
- cy . get ( ".mx_MainSplit" ) . percySnapshotElement ( "Hidden event line with zero padding on IRC layout" , {
470
+ // Disabled because flaky - see https://github.com/vector-im/element-web/issues/24881
471
+ /*cy.get(".mx_MainSplit").percySnapshotElement("Hidden event line with zero padding on IRC layout", {
471
472
percyCSS,
472
- } ) ;
473
+ });*/
473
474
474
475
// should add inline start padding to a hidden event line on modern layout
475
476
cy . setSettingValue ( "layout" , null , SettingLevel . DEVICE , Layout . Group ) ;
@@ -763,7 +764,7 @@ describe("Timeline", () => {
763
764
cy . contains ( ".mx_RoomView_MessageList .mx_EventTile_last" , reply2 ) . should ( "exist" ) ;
764
765
765
766
// Exclude timestamp and read marker from snapshot
766
- const percyCSS = ".mx_MessageTimestamp, .mx_RoomView_myReadMarker { visibility: hidden !important; }" ;
767
+ // const percyCSS = ".mx_MessageTimestamp, .mx_RoomView_myReadMarker { visibility: hidden !important; }";
767
768
768
769
// Check the margin value of ReplyChains of EventTile at the bottom on IRC layout
769
770
cy . setSettingValue ( "layout" , null , SettingLevel . DEVICE , Layout . IRC ) ;
@@ -780,9 +781,10 @@ describe("Timeline", () => {
780
781
cy . get ( ".mx_EventTile_last[data-layout='group'] .mx_ReplyChain" ) . should ( "have.css" , "margin-bottom" , "8px" ) ;
781
782
782
783
// Take a snapshot on modern layout
783
- cy . get ( ".mx_EventTile_last" ) . percySnapshotElement ( "EventTile with reply chains on modern layout" , {
784
+ // Disabled because flaky - see https://github.com/vector-im/element-web/issues/24881
785
+ /*cy.get(".mx_EventTile_last").percySnapshotElement("EventTile with reply chains on modern layout", {
784
786
percyCSS,
785
- } ) ;
787
+ });*/
786
788
787
789
// Check the margin value of ReplyChains of EventTile at the bottom on group/modern compact layout
788
790
cy . setSettingValue ( "useCompactLayout" , null , SettingLevel . DEVICE , true ) ;
@@ -874,7 +876,7 @@ describe("Timeline", () => {
874
876
cy . viewport ( 1600 , 1200 ) ;
875
877
876
878
// Exclude timestamp and read marker from snapshots
877
- const percyCSS = ".mx_MessageTimestamp, .mx_RoomView_myReadMarker { visibility: hidden !important; }" ;
879
+ // const percyCSS = ".mx_MessageTimestamp, .mx_RoomView_myReadMarker { visibility: hidden !important; }";
878
880
879
881
// Make sure the strings do not overflow on IRC layout
880
882
cy . setSettingValue ( "layout" , null , SettingLevel . DEVICE , Layout . IRC ) ;
@@ -887,7 +889,8 @@ describe("Timeline", () => {
887
889
cy . get ( ".mx_EventTile_receiptSent" ) . should ( "be.visible" ) ; // rendered at the bottom of EventTile
888
890
} ) ;
889
891
// Take a snapshot in IRC layout
890
- cy . get ( ".mx_ScrollPanel" ) . percySnapshotElement ( "Long strings with a reply on IRC layout" , { percyCSS } ) ;
892
+ // Disabled because flaky - see https://github.com/vector-im/element-web/issues/24881
893
+ //cy.get(".mx_ScrollPanel").percySnapshotElement("Long strings with a reply on IRC layout", { percyCSS });
891
894
892
895
// Make sure the strings do not overflow on modern layout
893
896
cy . setSettingValue ( "layout" , null , SettingLevel . DEVICE , Layout . Group ) ;
@@ -897,7 +900,8 @@ describe("Timeline", () => {
897
900
cy . get ( ".mx_MTextBody" ) . should ( "be.visible" ) ;
898
901
cy . get ( ".mx_EventTile_receiptSent" ) . should ( "be.visible" ) ;
899
902
} ) ;
900
- cy . get ( ".mx_ScrollPanel" ) . percySnapshotElement ( "Long strings with a reply on modern layout" , { percyCSS } ) ;
903
+ // Disabled because flaky - see https://github.com/vector-im/element-web/issues/24881
904
+ //cy.get(".mx_ScrollPanel").percySnapshotElement("Long strings with a reply on modern layout", { percyCSS });
901
905
902
906
// Make sure the strings do not overflow on bubble layout
903
907
cy . setSettingValue ( "layout" , null , SettingLevel . DEVICE , Layout . Bubble ) ;
@@ -907,7 +911,8 @@ describe("Timeline", () => {
907
911
cy . get ( ".mx_MTextBody" ) . should ( "be.visible" ) ;
908
912
cy . get ( ".mx_EventTile_receiptSent" ) . should ( "be.visible" ) ;
909
913
} ) ;
910
- cy . get ( ".mx_ScrollPanel" ) . percySnapshotElement ( "Long strings with a reply on bubble layout" , { percyCSS } ) ;
914
+ // Disabled because flaky - see https://github.com/vector-im/element-web/issues/24881
915
+ //cy.get(".mx_ScrollPanel").percySnapshotElement("Long strings with a reply on bubble layout", { percyCSS });
911
916
} ) ;
912
917
} ) ;
913
918
} ) ;
0 commit comments