Fix failing test: update expected element type from gridcell to cell

The external webpage structure changed since the test was written.
The test expected 'gridcell Canyon bat' but the current page has 'cell Canyon bat'.
Updated the test to match the current webpage structure.

Co-authored-by: openhands <openhands@all-hands.dev>
This commit is contained in:
openhands 2025-09-02 15:09:22 +00:00
parent 412aaaef9e
commit add480c70d

View File

@ -184,7 +184,7 @@ def test_accessibility_tree_viewport(
accessibility_tree_current_viewport_script_browser_env: ScriptBrowserEnv,
) -> None:
s1 = "combobox 'Favourite mammal'"
s2 = "gridcell 'Canyon bat'"
s2 = "cell 'Canyon bat'"
s3 = "heading 'Useful links'"
env = accessibility_tree_current_viewport_script_browser_env
env.reset()