fusiontest 0.2.30__tar.gz → 0.2.31__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {fusiontest-0.2.30 → fusiontest-0.2.31}/PKG-INFO +1 -1
- {fusiontest-0.2.30 → fusiontest-0.2.31}/fusiontest/core/runner.py +16 -1
- {fusiontest-0.2.30 → fusiontest-0.2.31}/fusiontest.egg-info/PKG-INFO +1 -1
- {fusiontest-0.2.30 → fusiontest-0.2.31}/pyproject.toml +1 -1
- {fusiontest-0.2.30 → fusiontest-0.2.31}/README.md +0 -0
- {fusiontest-0.2.30 → fusiontest-0.2.31}/fusiontest/__init__.py +0 -0
- {fusiontest-0.2.30 → fusiontest-0.2.31}/fusiontest/bench/__init__.py +0 -0
- {fusiontest-0.2.30 → fusiontest-0.2.31}/fusiontest/bench/sites/shop/bugs.js +0 -0
- {fusiontest-0.2.30 → fusiontest-0.2.31}/fusiontest/bench/sites/shop/help.html +0 -0
- {fusiontest-0.2.30 → fusiontest-0.2.31}/fusiontest/bench/sites/shop/index.html +0 -0
- {fusiontest-0.2.30 → fusiontest-0.2.31}/fusiontest/bench/suites/shop-bugs.yaml +0 -0
- {fusiontest-0.2.30 → fusiontest-0.2.31}/fusiontest/bench/suites/shop.yaml +0 -0
- {fusiontest-0.2.30 → fusiontest-0.2.31}/fusiontest/bench/suites/todomvc.yaml +0 -0
- {fusiontest-0.2.30 → fusiontest-0.2.31}/fusiontest/cli.py +0 -0
- {fusiontest-0.2.30 → fusiontest-0.2.31}/fusiontest/core/__init__.py +0 -0
- {fusiontest-0.2.30 → fusiontest-0.2.31}/fusiontest/core/action_model.py +0 -0
- {fusiontest-0.2.30 → fusiontest-0.2.31}/fusiontest/core/app_errors.py +0 -0
- {fusiontest-0.2.30 → fusiontest-0.2.31}/fusiontest/core/bugs.py +0 -0
- {fusiontest-0.2.30 → fusiontest-0.2.31}/fusiontest/core/goal_verifier.py +0 -0
- {fusiontest-0.2.30 → fusiontest-0.2.31}/fusiontest/core/netguard.py +0 -0
- {fusiontest-0.2.30 → fusiontest-0.2.31}/fusiontest/core/promise_checker.py +0 -0
- {fusiontest-0.2.30 → fusiontest-0.2.31}/fusiontest/core/replay.py +0 -0
- {fusiontest-0.2.30 → fusiontest-0.2.31}/fusiontest/core/reproduce.py +0 -0
- {fusiontest-0.2.30 → fusiontest-0.2.31}/fusiontest/core/screen_parser.py +0 -0
- {fusiontest-0.2.30 → fusiontest-0.2.31}/fusiontest/core/secrets.py +0 -0
- {fusiontest-0.2.30 → fusiontest-0.2.31}/fusiontest/core/shared_traces.py +0 -0
- {fusiontest-0.2.30 → fusiontest-0.2.31}/fusiontest/core/tokens.py +0 -0
- {fusiontest-0.2.30 → fusiontest-0.2.31}/fusiontest/demos/__init__.py +0 -0
- {fusiontest-0.2.30 → fusiontest-0.2.31}/fusiontest/demos/fusiontest_dashboard.yaml +0 -0
- {fusiontest-0.2.30 → fusiontest-0.2.31}/fusiontest/demos/github.yaml +0 -0
- {fusiontest-0.2.30 → fusiontest-0.2.31}/fusiontest/demos/hacker_news.yaml +0 -0
- {fusiontest-0.2.30 → fusiontest-0.2.31}/fusiontest/demos/httpbin.yaml +0 -0
- {fusiontest-0.2.30 → fusiontest-0.2.31}/fusiontest/demos/todomvc.yaml +0 -0
- {fusiontest-0.2.30 → fusiontest-0.2.31}/fusiontest/demos/wikipedia.yaml +0 -0
- {fusiontest-0.2.30 → fusiontest-0.2.31}/fusiontest/desktop/__init__.py +0 -0
- {fusiontest-0.2.30 → fusiontest-0.2.31}/fusiontest/desktop/macos_adapter.py +0 -0
- {fusiontest-0.2.30 → fusiontest-0.2.31}/fusiontest/desktop/playwright_adapter.py +0 -0
- {fusiontest-0.2.30 → fusiontest-0.2.31}/fusiontest/desktop/windows_adapter.py +0 -0
- {fusiontest-0.2.30 → fusiontest-0.2.31}/fusiontest/discovery/__init__.py +0 -0
- {fusiontest-0.2.30 → fusiontest-0.2.31}/fusiontest/discovery/goal_generator.py +0 -0
- {fusiontest-0.2.30 → fusiontest-0.2.31}/fusiontest/guardrails/__init__.py +0 -0
- {fusiontest-0.2.30 → fusiontest-0.2.31}/fusiontest/guardrails/engine.py +0 -0
- {fusiontest-0.2.30 → fusiontest-0.2.31}/fusiontest/mobile/__init__.py +0 -0
- {fusiontest-0.2.30 → fusiontest-0.2.31}/fusiontest/mobile/android_adapter.py +0 -0
- {fusiontest-0.2.30 → fusiontest-0.2.31}/fusiontest/mobile/ios_adapter.py +0 -0
- {fusiontest-0.2.30 → fusiontest-0.2.31}/fusiontest/reporting/__init__.py +0 -0
- {fusiontest-0.2.30 → fusiontest-0.2.31}/fusiontest/reporting/reporter.py +0 -0
- {fusiontest-0.2.30 → fusiontest-0.2.31}/fusiontest/training/__init__.py +0 -0
- {fusiontest-0.2.30 → fusiontest-0.2.31}/fusiontest/training/data_collector.py +0 -0
- {fusiontest-0.2.30 → fusiontest-0.2.31}/fusiontest/training/dataset_builder.py +0 -0
- {fusiontest-0.2.30 → fusiontest-0.2.31}/fusiontest/training/trainer.py +0 -0
- {fusiontest-0.2.30 → fusiontest-0.2.31}/fusiontest.egg-info/SOURCES.txt +0 -0
- {fusiontest-0.2.30 → fusiontest-0.2.31}/fusiontest.egg-info/dependency_links.txt +0 -0
- {fusiontest-0.2.30 → fusiontest-0.2.31}/fusiontest.egg-info/entry_points.txt +0 -0
- {fusiontest-0.2.30 → fusiontest-0.2.31}/fusiontest.egg-info/not-zip-safe +0 -0
- {fusiontest-0.2.30 → fusiontest-0.2.31}/fusiontest.egg-info/requires.txt +0 -0
- {fusiontest-0.2.30 → fusiontest-0.2.31}/fusiontest.egg-info/top_level.txt +0 -0
- {fusiontest-0.2.30 → fusiontest-0.2.31}/setup.cfg +0 -0
|
@@ -678,7 +678,10 @@ class FusionTestRunner:
|
|
|
678
678
|
last_typed = gr.action.action_type == "type"
|
|
679
679
|
recorded.append(record_action(gr.action, elements)) # placeholders, not values
|
|
680
680
|
last_action_screen = screen_text
|
|
681
|
-
|
|
681
|
+
# Which row the control was in ("Remove" near "Notebook × 1"):
|
|
682
|
+
# with repeated buttons, the model and the verifier can't
|
|
683
|
+
# otherwise tell what an action did.
|
|
684
|
+
action_str = _with_row(str(gr.action), gr.action, elements)
|
|
682
685
|
history.append(action_str) # LLM context — real value ok
|
|
683
686
|
safe_action_str = _redact(action_str)
|
|
684
687
|
step.actions.append(safe_action_str) # stored — secrets masked
|
|
@@ -1211,6 +1214,18 @@ _PLACEHOLDER_HINT = (
|
|
|
1211
1214
|
)
|
|
1212
1215
|
|
|
1213
1216
|
|
|
1217
|
+
def _with_row(text: str, action: Action, elements: list[UIElement]) -> str:
|
|
1218
|
+
"""Add the row context of the action's element to str(action):
|
|
1219
|
+
'tap on "Remove"' -> 'tap on "Remove" near "Notebook × 1 $8.50"'."""
|
|
1220
|
+
element = next((e for e in elements if e.index == action.element_index), None)
|
|
1221
|
+
if element is None or not element.near or element.near == element.label:
|
|
1222
|
+
return text
|
|
1223
|
+
anchor = f'on "{action.element_label}"'
|
|
1224
|
+
if anchor not in text:
|
|
1225
|
+
return text
|
|
1226
|
+
return text.replace(anchor, f'{anchor} near "{element.near}"', 1)
|
|
1227
|
+
|
|
1228
|
+
|
|
1214
1229
|
def _action_text(action: Action, elements: list[UIElement]) -> str:
|
|
1215
1230
|
"""An executed action for the bug reviewer: control, row context and value."""
|
|
1216
1231
|
element = next((e for e in elements if e.index == action.element_index), None)
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|