diff options
| author | Aram Drevekenin <aram@poor.dev> | 2021-06-21 10:45:18 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-06-21 10:45:18 +0200 |
| commit | 3313634fe969a69925a5d32445ba14a5f79e5d87 (patch) | |
| tree | 778f1badfeed4a26d58e3413180f41629134d35a /src/tests/utils.rs | |
| parent | docs(changelog): Autodetach #581 (diff) | |
| download | sl0ppij-3313634fe969a69925a5d32445ba14a5f79e5d87.tar.gz sl0ppij-3313634fe969a69925a5d32445ba14a5f79e5d87.tar.xz sl0ppij-3313634fe969a69925a5d32445ba14a5f79e5d87.zip | |
Add e2e tests (#582)
* feature(tests): e2e tests
* chore(build): github action
* chore(build): fix workflow
* chore(build): fix workflow
* work
* work
* work
* work
* work
* work
* work
* work
* work
* work
* work
* work
* work
* work
* work
* work
* work
* work
* work
* work
* work
* work
* work
* work
* work
* work
* work
* work
* work
* work
* work
* work
* work
* work
* work
* work
* work
* work
* work
* work
* work
* work
* work
* work
* work
* work
* work
* work
* work
* work
* working
* working
* working
* bring back the proper errors
* make e2e flow run properly
* style(fmt): make rustfmt happy
* style(fmt): make rustfmt happy
* run on everything just to test the workflow
* bring back running behaviour on workflow
Diffstat (limited to 'src/tests/utils.rs')
| -rw-r--r-- | src/tests/utils.rs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/tests/utils.rs b/src/tests/utils.rs index 6267c883..2058f9df 100644 --- a/src/tests/utils.rs +++ b/src/tests/utils.rs @@ -51,6 +51,7 @@ pub mod commands { pub const QUIT: [u8; 1] = [17]; // ctrl-q pub const ESC: [u8; 1] = [27]; pub const ENTER: [u8; 1] = [10]; // char '\n' + pub const LOCK_MODE: [u8; 1] = [7]; // ctrl-g pub const MOVE_FOCUS_LEFT_IN_NORMAL_MODE: [u8; 2] = [27, 104]; // alt-h pub const MOVE_FOCUS_RIGHT_IN_NORMAL_MODE: [u8; 2] = [27, 108]; // alt-l @@ -85,6 +86,9 @@ pub mod commands { pub const SWITCH_PREV_TAB_IN_TAB_MODE: [u8; 1] = [104]; // h pub const CLOSE_TAB_IN_TAB_MODE: [u8; 1] = [120]; // x + pub const SESSION_MODE: [u8; 1] = [15]; // ctrl-o + pub const DETACH_IN_SESSION_MODE: [u8; 1] = [100]; // d + pub const BRACKETED_PASTE_START: [u8; 6] = [27, 91, 50, 48, 48, 126]; // \u{1b}[200~ pub const BRACKETED_PASTE_END: [u8; 6] = [27, 91, 50, 48, 49, 126]; // \u{1b}[201 pub const SLEEP: [u8; 0] = []; |
