@@ -49,7 +49,7 @@ test.describe("Audio player", { tag: ["@no-firefox", "@no-webkit"] }, () => {
4949 /**
5050 * Take snapshots of mx_EventTile_last on each layout, outputting log for reference/debugging.
5151 * @param detail The snapshot name. Used for outputting logs too.
52- * @param monospace This changes the font used to render the UI from a default one to Inconsolata . Set to false by default.
52+ * @param monospace This changes the font used to render the UI from a default one to Fira Code . Set to false by default.
5353 */
5454 const takeSnapshots = async ( page : Page , app : ElementAppPage , detail : string , monospace = false ) => {
5555 // Check that the audio player is rendered and its button becomes visible
@@ -65,15 +65,15 @@ test.describe("Audio player", { tag: ["@no-firefox", "@no-webkit"] }, () => {
6565
6666 if ( monospace ) {
6767 // Assert that the monospace timer is visible
68- await expect ( locator . locator ( "[role='timer']" ) ) . toHaveCSS ( "font-family" , "Inconsolata" ) ;
68+ await expect ( locator . locator ( "[role='timer']" ) ) . toHaveCSS ( "font-family" , '"Fira Code"' ) ;
6969 }
7070 } ;
7171
7272 if ( monospace ) {
7373 // Enable system font and monospace setting
7474 await app . settings . setValue ( "useBundledEmojiFont" , null , SettingLevel . DEVICE , false ) ;
7575 await app . settings . setValue ( "useSystemFont" , null , SettingLevel . DEVICE , true ) ;
76- await app . settings . setValue ( "systemFont" , null , SettingLevel . DEVICE , "Inconsolata " ) ;
76+ await app . settings . setValue ( "systemFont" , null , SettingLevel . DEVICE , "Fira Code " ) ;
7777 }
7878
7979 // Check the status of the seek bar
0 commit comments