aboutsummaryrefslogtreecommitdiffstats
path: root/src/tests
diff options
context:
space:
mode:
authorAram Drevekenin <aram@poor.dev>2024-12-25 20:26:27 +0100
committerGitHub <noreply@github.com>2024-12-25 20:26:27 +0100
commit86535f161292ff43111f602dab3edecabfdac5db (patch)
tree5c038dded4145bf925032723a8a9711eaa0ab0c5 /src/tests
parentdocs(changelog): pin floating panes (diff)
downloadsl0ppij-86535f161292ff43111f602dab3edecabfdac5db.tar.gz
sl0ppij-86535f161292ff43111f602dab3edecabfdac5db.tar.xz
sl0ppij-86535f161292ff43111f602dab3edecabfdac5db.zip
fix(layout-applier): logical index pane sorting (#3893)
* initial draft * working with floating panes as well * use the same method for applying an initial layout to tiled panes * some refactoring * all code paths working with logical positioning fallback! * get tests to compile * get e2e tests to pass * fix e2e remote runner * breadth-first layout sorting * fix some bugs * style(fmt): rustfmt * style(fmt): remove comments
Diffstat (limited to 'src/tests')
-rw-r--r--src/tests/e2e/remote_runner.rs8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/tests/e2e/remote_runner.rs b/src/tests/e2e/remote_runner.rs
index c2b94cc6..9882781f 100644
--- a/src/tests/e2e/remote_runner.rs
+++ b/src/tests/e2e/remote_runner.rs
@@ -457,6 +457,7 @@ impl RemoteRunner {
cols,
is_stacked: false,
is_pinned: false,
+ logical_position: None,
};
setup_remote_environment(&mut channel, win_size);
start_zellij(&mut channel);
@@ -494,6 +495,7 @@ impl RemoteRunner {
cols,
is_stacked: false,
is_pinned: false,
+ logical_position: None,
};
setup_remote_environment(&mut channel, win_size);
start_zellij_mirrored_session(&mut channel);
@@ -531,6 +533,7 @@ impl RemoteRunner {
cols,
is_stacked: false,
is_pinned: false,
+ logical_position: None,
};
setup_remote_environment(&mut channel, win_size);
start_zellij_mirrored_session_with_layout(&mut channel, layout_file_name);
@@ -571,6 +574,7 @@ impl RemoteRunner {
cols,
is_stacked: false,
is_pinned: false,
+ logical_position: None,
};
setup_remote_environment(&mut channel, win_size);
start_zellij_mirrored_session_with_layout_and_viewport_serialization(
@@ -618,6 +622,7 @@ impl RemoteRunner {
cols,
is_stacked: false,
is_pinned: false,
+ logical_position: None,
};
setup_remote_environment(&mut channel, win_size);
start_zellij_in_session(&mut channel, session_name, mirrored);
@@ -655,6 +660,7 @@ impl RemoteRunner {
cols,
is_stacked: false,
is_pinned: false,
+ logical_position: None,
};
setup_remote_environment(&mut channel, win_size);
attach_to_existing_session(&mut channel, session_name);
@@ -692,6 +698,7 @@ impl RemoteRunner {
cols,
is_stacked: false,
is_pinned: false,
+ logical_position: None,
};
setup_remote_environment(&mut channel, win_size);
start_zellij_without_frames(&mut channel);
@@ -730,6 +737,7 @@ impl RemoteRunner {
cols,
is_stacked: false,
is_pinned: false,
+ logical_position: None,
};
setup_remote_environment(&mut channel, win_size);
start_zellij_with_config(&mut channel, &remote_path.to_string_lossy());