makepad/examples/map/tests/ui.rs
andodeki d6d1f99ca9 Update fork to upstream dev 5d4483f
- Sync with latest upstream dev branch
- Include all map improvements: 2D/3D toggle, shadows, labels, overlays
- Include platform updates: location API, audio echo cancellation
- Preserve fork-specific re-exports (gltf, csg, test)
2026-07-31 18:47:03 +00:00

10 lines
392 B
Rust

use makepad_test::{makepad_test, Selector, TestApp};
#[makepad_test]
fn map_renders_smoke(app: TestApp) {
app.locator(Selector::id("status_label")).wait_visible();
// Tiles + detail merge need a moment; the screenshot is the artifact.
std::thread::sleep(std::time::Duration::from_secs(14));
let path = app.screenshot();
eprintln!("MAP_SCREENSHOT: {}", path.display());
}