Skip to content

flaky: _set_phrase can retain a truncated value after repeated fill attempts #43

Description

@axisrow

Symptom

During a live batch on Chrome CDP :9223 after the #41 fix, the first phrase entry failed before view selection. The collector retried fill() three times, but the final DOM state was:

Wordstat search field state {'value': 'ки', 'searchDisabled': False} after 3 attempts, expected 'новогодние подарки'

The batch continued with later phrases; this issue is unrelated to #41 and no fix is included in PR #42.

Evidence

  • Expected first phrase: новогодние подарки
  • Final observed value after 3 attempts: ки
  • searchDisabled: False
  • Failure type: PhraseEntryError
  • Context: live three-phrase batch, region Россия, CDP :9223, timeout 45
  • Existing _set_phrase comment documents the same class of character-by-character CDP race (тест -> ст/ест).

Follow-up diagnostics

Capture the field value and searchDisabled after every fill attempt, and determine whether clearing/replacing the controlled input or a different input event strategy prevents truncated values. Do not weaken the exact value check.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions