Skip to content

Commit

Permalink
test: workspace clicks
Browse files Browse the repository at this point in the history
  • Loading branch information
kraanzu committed Oct 18, 2024
1 parent 8dc717b commit 76612ed
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions tests/test_ui/test_workspace_tree.py
Original file line number Diff line number Diff line change
Expand Up @@ -231,6 +231,12 @@ async def test_cursor_movements():
wtree.action_cursor_down()
assert wtree.highlighted == 1

# clicking should not affect the highlight
for x in range(5):
for y in range(5):
await pilot.click(wtree, offset=(x, y))
assert wtree.highlighted == 1


async def test_add_sibling_while_editing():
async with run_pilot() as pilot:
Expand Down

0 comments on commit 76612ed

Please sign in to comment.