Verify all runtime pages and document twenty-tile swipe acceptance

This commit is contained in:
Max Gramser
2026-09-12 17:36:48 +02:00
parent 439dd721f2
commit a14a66f699
9 changed files with 52 additions and 11 deletions
+3 -2
View File
@@ -4389,7 +4389,8 @@ script:
then:
- lambda: |-
id(last_touch_ms) = millis();
id(tile_page) = 1;
static unsigned test_page=0;
id(tile_page) = runtime_tiles::enabled ? test_page++ % std::max(1,(int(runtime_tiles::model.count)+5)/6) : 1;
- script.execute: show_tile_page
- delay: 150ms
- lambda: |-
@@ -4400,7 +4401,7 @@ script:
id(tile6), id(tile7), id(tile8), id(tile9), id(tile10)};
bool ok = guition::check_geometry(id(home_page)->obj);
for (int i = 0; i < 10; ++i) {
bool visible = i < count && (paginated ? i >= 6 : i < 6);
bool visible = runtime_tiles::enabled ? i<6 && i+id(tile_page)*6<count : i < count && (paginated ? i >= 6 : i < 6);
ok = ok && (lv_obj_has_flag(tiles[i], LV_OBJ_FLAG_HIDDEN) != visible);
}
for (lv_obj_t* control : {id(page_prev), id(page_next), id(page_number)})