fix(e2e): fix flaky locked mode test (#2413)

This commit is contained in:
Aram Drevekenin 2023-04-28 20:59:15 +02:00 committed by GitHub
parent ce3882fb82
commit acb31c5322
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 4 deletions

View File

@ -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);
}

View File

@ -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 --