Skip to content

Commit 8a80e78

Browse files
committed
test(test_pane_index): Improve reliability of pane_current_path test
1 parent 3892060 commit 8a80e78

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

CHANGES

+4
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,10 @@ $ pipx install --suffix=@next 'tmuxp' --pip-args '\--pre' --force
1919

2020
<!-- Maintainers, insert changes / features for the next release here -->
2121

22+
### Internal improvements
23+
24+
- tests(test_pane_order): Improve reliability of `pane_current_path` test.
25+
2226
## tmuxp 1.24.0 (2022-12-30)
2327

2428
_Maintenance only, no bug fixes or features_

tests/workspace/test_builder.py

+1
Original file line numberDiff line numberDiff line change
@@ -655,6 +655,7 @@ def test_pane_order(session):
655655
pane_path = pane_paths[p_index - pane_base_index]
656656

657657
def f():
658+
p.refresh()
658659
return p.pane_current_path == pane_path
659660

660661
assert retry_until(f)

0 commit comments

Comments
 (0)