Skip to content

v1.15.1 — Anti-Double-Scroll Guard, Manual Scroll Interception & Boundary Stagnation Fix

Choose a tag to compare

@MuchoRio MuchoRio released this 13 Nov 10:44
· 22 commits to main since this release

Release Notes — Locara v1.15.1 (Patch Release)

Fixed

  • Anti-Double-Scroll Guard (ManualScrollGuard, Locara, AppiumLocara, ScrollRecoveryEngine):
    • Eliminated redundant double scrolling when test scripts already execute explicit scrolls (ScrollUtil, Mobile.swipe, Mobile.scrollToText, or custom Appium scroll gestures) right before Mobile.tap / Mobile.setText.
    • Captured manual-scroll eligibility at action entry via ActionWindow so slow element lookup timeouts (e.g., 5–30s) do not prematurely expire the post-scroll window before entering healing.
    • Updated LocaraHook.groovy to pass-through intercept Katalon manual scroll/swipe keywords (swipe, swipeWithDuration, scrollToText, scrollToTextHorizontal, enhancedScrollToText) while shielding Locara's own internal ScrollRecoveryEngine gestures (beginInternalScroll / endInternalScroll).
    • Added explicit Locara.notifyManualScroll(), Locara.clearManualScrollState(), AppiumLocara.notifyManualScroll(), and AppiumLocara.clearManualScrollState() APIs, plus automatic per-test ThreadLocal reset in LocaraTestListener.
    • Unified Katalon and Appium scroll recovery into ScrollRecoveryEngine.recoverWithScroll and added page-source boundary stagnation detection so auto-scroll halts immediately when scroll limits are reached.
    • Fixed LocaraHook.getConfiguredConfidenceThreshold reflection lookup (getMinConfidenceThreshold).

Configuration (locara.properties)

  • locara.scroll.manual_guard.enabled=true
  • locara.scroll.manual_cooldown_ms=15000

Verification

  • Gradle clean test + JAR build: 115/115 JUnit tests PASSED (./gradlew clean test jar)
  • Dashboard security & report suite: 8/8 Python unittest PASSED
  • Verified artifact: locara-1.15.1.jar