Skip to content

Stabilize native feedback dialog test synchronization - #223

Open
josej-ea wants to merge 1 commit into
devfrom
fix/feedback-ci-synchronization
Open

josej-ea wants to merge 1 commit into
devfrom
fix/feedback-ci-synchronization

Conversation

@josej-ea

Copy link
Copy Markdown
Collaborator

Description

  • Wait for the specific visible, enabled native accessibility click target using the existing five-second bounded polling helper.
  • Refresh clickable ancestors so changes to their accessibility actions are observed.
  • Report the target description and last matching/candidate nodes on timeout; perform the click once and still fail if it is rejected.
  • Add delayed-appearance and delayed-enablement regressions and document native UI synchronization expectations.

No production code, dependencies, workflow configuration, or existing UI assertions are changed.

Related Issue

Fixes #222. Follow-up to #216.

Motivation and Context

The portrait and landscape tests intermittently looked up Close/Close chat before their accessibility nodes/actions were ready. Existing waits covered related state or another node rather than the actual click target.

Maven Central HTTP 429 dependency-resolution failures are separate and are not addressed here.

How Has This Been Tested?

Local macOS / JDK 17 / Android API 29 Google APIs ARM64 emulator:

  • Both new regressions fail against the original helper.
  • Both new regressions and both previously failing portrait/landscape tests pass 20 consecutive repetitions: 80 test executions at 320x640, density 160.
  • ANDROID_SERIAL=<isolated-api29-device> make functional-test-coverage: 519 tests, zero failures/errors/skips at native 1080x1920, density 420.
  • Instrumentation APK compilation, Spotless, Checkstyle (no sources), and git diff --check pass.

Validation limitations: local emulator architecture differs from Linux CI x86_64. The landscape Notes/keyboard-fit test fails at compact 320x640/mdpi with this local keyboard image on both patched and unchanged dev; this pre-existing display/keyboard-specific assertion is not weakened. It passes in the full native-display suite. GitHub CI remains the final platform check.

Types of changes

  • Bug fix (test synchronization only)
  • New feature
  • Breaking change

Checklist

  • Code follows existing test patterns.
  • Directly related contributor documentation updated.
  • Focused regression tests added and verified to fail without the fix.
  • Full API 29 functional suite passes at the documented native display configuration.

Wait for visible, enabled accessibility click targets and refresh their ancestors before checking actions. Preserve single-click assertions and add delayed-appearance and delayed-enablement regressions.

Validation: both regressions fail before the fix; 80 repeated API 29 targeted executions and all 519 functional coverage tests pass. Repository lint and whitespace checks pass.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant