mirror of https://github.com/vector-im/riot-web
				
				
				
			Hide seek bar of audio player to fix a flaky Percy test temporarily (#10430)
Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>pull/28788/head^2
							parent
							
								
									5c47142dab
								
							
						
					
					
						commit
						5a1a91f16a
					
				|  | @ -134,7 +134,10 @@ describe("FilePanel", () => { | |||
|                 }); | ||||
| 
 | ||||
|                 // Exclude timestamps and read markers from snapshot
 | ||||
|                 const percyCSS = ".mx_MessageTimestamp, .mx_RoomView_myReadMarker { visibility: hidden !important; }"; | ||||
|                 // FIXME: hide mx_SeekBar because flaky - see https://github.com/vector-im/element-web/issues/24897
 | ||||
|                 //   Remove this once https://github.com/vector-im/element-web/issues/24898 is fixed.
 | ||||
|                 const percyCSS = | ||||
|                     ".mx_MessageTimestamp, .mx_RoomView_myReadMarker, .mx_SeekBar { visibility: hidden !important; }"; | ||||
|                 cy.get(".mx_RoomView_MessageList").percySnapshotElement("File tiles on FilePanel", { percyCSS }); | ||||
|             }); | ||||
|         }); | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue
	
	 Suguru Hirahara
						Suguru Hirahara