test: Wrote snapshot tests for all Sonarr UI

This commit is contained in:
2025-12-16 14:12:10 -07:00
parent e0fcbc71e1
commit 0532d59746
257 changed files with 8089 additions and 1029 deletions
+2 -2
View File
@@ -82,7 +82,7 @@ mod tests {
LibraryUi::draw(f, app, f.area());
});
insta::assert_snapshot!(active_radarr_block.to_string(), output);
insta::assert_snapshot!(format!("library_tab_{active_radarr_block}"), output);
}
#[rstest]
@@ -109,7 +109,7 @@ mod tests {
LibraryUi::draw(f, app, f.area());
});
insta::assert_snapshot!(active_radarr_block.to_string(), output);
insta::assert_snapshot!(format!("add_movie_ui_{active_radarr_block}"), output);
}
#[test]