update overlay tests

This commit is contained in:
Nick Fisher
2025-07-01 12:17:09 +08:00
parent dbcf463fd1
commit a2883fbee9

View File

@@ -5,11 +5,9 @@ void main() async {
final testHelper = TestHelper("overlay");
await testHelper.setup();
group("overlay tests", () {
test('toggle grid visibility', () async {
await testHelper.withViewer(
(viewer) async {
await viewer.setGridOverlayVisibility(true);
await testHelper.capture(viewer.view, "grid_visible");
await testHelper.capture(viewer.view, "grid_visible");
@@ -20,5 +18,5 @@ void main() async {
postProcessing: true,
);
});
});
}