diff options
| author | Aram Drevekenin <aram@poor.dev> | 2023-04-28 20:59:15 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-04-28 20:59:15 +0200 |
| commit | acb31c5322b1ffb30420cb6171f50a8e5944d013 (patch) | |
| tree | d42d529087340898a04b174d0c013b1512237049 /src | |
| parent | docs(changelog): error file paths (diff) | |
| download | sl0ppij-acb31c5322b1ffb30420cb6171f50a8e5944d013.tar.gz sl0ppij-acb31c5322b1ffb30420cb6171f50a8e5944d013.tar.xz sl0ppij-acb31c5322b1ffb30420cb6171f50a8e5944d013.zip | |
fix(e2e): fix flaky locked mode test (#2413)
Diffstat (limited to 'src')
| -rw-r--r-- | src/tests/e2e/cases.rs | 2 | ||||
| -rw-r--r-- | src/tests/e2e/snapshots/zellij__tests__e2e__cases__lock_mode.snap | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/src/tests/e2e/cases.rs b/src/tests/e2e/cases.rs index e5b4493b..d2b7086a 100644 --- a/src/tests/e2e/cases.rs +++ b/src/tests/e2e/cases.rs @@ -832,7 +832,7 @@ pub fn lock_mode() { break last_snapshot; } }; - // let last_snapshot = account_for_races_in_snapshot(last_snapshot); + let last_snapshot = account_for_races_in_snapshot(last_snapshot); assert_snapshot!(last_snapshot); } diff --git a/src/tests/e2e/snapshots/zellij__tests__e2e__cases__lock_mode.snap b/src/tests/e2e/snapshots/zellij__tests__e2e__cases__lock_mode.snap index 93a92abe..e6d38062 100644 --- a/src/tests/e2e/snapshots/zellij__tests__e2e__cases__lock_mode.snap +++ b/src/tests/e2e/snapshots/zellij__tests__e2e__cases__lock_mode.snap @@ -1,9 +1,9 @@ --- source: src/tests/e2e/cases.rs -assertion_line: 819 +assertion_line: 836 expression: last_snapshot --- - Zellij (e2e-test) Tab #1 + Zellij (e2e-test) Tab #1 ┌ Pane #1 ─────────────────────────────────────────────────────────────────────────────────────────────────────────────┐ │$ nabc█ │ │ │ @@ -25,5 +25,5 @@ expression: last_snapshot │ │ │ │ └──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┘ - Ctrl + <g> LOCK <> PANE <> TAB <> RESIZE <> MOVE <> SEARCH <> SESSION <> QUIT + Ctrl + <g> LOCK <> PANE <> TAB <> RESIZE <> MOVE <> SEARCH <> SESSION <> QUIT -- INTERFACE LOCKED -- |
