[fix]: variable substitution in `act()`

Merged
SE
19d ago
+74-1

why

  • act does not need to substitute variables on self-heal for dragAndDrop()
  • the only args dragAndDrop() needs are selectors

what changed

  • gated var substitution on method type

test plan

  • added tests to ensure variables do not get substituted on dragAndDrop()

Summary by cubic

Fixes variable substitution in act() so drag-and-drop arguments keep their literal selector values instead of being treated as text templates.

  • Skips substituteVariablesInArguments for dragAndDrop actions while preserving it for other methods.
  • Adds tests covering inferred, supplied, and self-heal drag actions with variables present.