From 089ac45d3232de6299651806196e8690e87b97c6 Mon Sep 17 00:00:00 2001 From: OPNA2608 Date: Tue, 4 Nov 2025 14:15:44 +0100 Subject: [PATCH] nixosTests.lomiri-music-app: Fix OCR - Stopped finding the Tracks option in the pop-up menu. Just click where it should be, look for the new menu title afterwards. - Stopped finding the small listing of the song title. Move the check to the very end, when the song is already opened in the player interface. --- nixos/tests/lomiri-music-app.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/nixos/tests/lomiri-music-app.nix b/nixos/tests/lomiri-music-app.nix index 7424847b3794..5cf32619d8f7 100644 --- a/nixos/tests/lomiri-music-app.nix +++ b/nixos/tests/lomiri-music-app.nix @@ -148,10 +148,9 @@ in machine.wait_for_text("Albums") machine.succeed("xdotool mousemove 25 45 click 1") # Open categories machine.sleep(2) - machine.wait_for_text("Tracks") machine.succeed("xdotool mousemove 25 240 click 1") # Switch to Tracks category machine.sleep(2) - machine.wait_for_text("${musicFileName}") # the test file + machine.wait_for_text("Tracks") # Written in larger text now, easier for OCR machine.screenshot("lomiri-music_listing") # Ensure pause colours isn't present already @@ -180,8 +179,9 @@ in machine.screenshot("lomiri-music_paused") - # Lastly, check if generated cover image got extracted properly + # Lastly, check if song details like title & generated cover image got extracted properly # if not, indicates an issue with mediascanner / lomiri-thumbnailer + machine.wait_for_text("${musicFileName}") machine.wait_for_text("${ocrContent}") machine.succeed("pkill -f lomiri-music-app")