Remove extra scrolled color test since the color rendering seems flaky

This commit is contained in:
David Dworken 2023-12-20 10:04:52 -08:00
parent 4c89010874
commit 5e415469d8
2 changed files with 0 additions and 41 deletions

View File

@ -2554,16 +2554,6 @@ echo foo`)
out = stripRequiredPrefix(t, out, "hishtory tquery -pipefail") out = stripRequiredPrefix(t, out, "hishtory tquery -pipefail")
testutils.CompareGoldens(t, out, "testRemoveDuplicateRows-enabled-tquery") testutils.CompareGoldens(t, out, "testRemoveDuplicateRows-enabled-tquery")
// Check scrolling with query (with colors so we can confirm it, though this part is MacOS only)
if runtime.GOOS == "darwin" {
out = captureTerminalOutputComplex(t, TmuxCaptureConfig{tester: tester, complexCommands: []TmuxCommand{
{Keys: "hishtory SPACE tquery SPACE -pipefail ENTER", ExtraDelay: 1.0},
{Keys: "Down Down"},
}, includeEscapeSequences: true})
out = stripTuiCommandPrefix(t, out)
testutils.CompareGoldens(t, out, "testRemoveDuplicateRows-enabled-tquery-scrolled")
}
// Check actually selecting it with query // Check actually selecting it with query
out = captureTerminalOutputWithComplexCommands(t, tester, []TmuxCommand{ out = captureTerminalOutputWithComplexCommands(t, tester, []TmuxCommand{
{Keys: "hishtory SPACE tquery SPACE -pipefail ENTER", ExtraDelay: 1.0}, {Keys: "hishtory SPACE tquery SPACE -pipefail ENTER", ExtraDelay: 1.0},

View File

@ -1,31 +0,0 @@
-pipefail
Search Query: > -pipefail 
┌───────────────────────────────────────────────────────────────────────────┐
 Exit Code Command │
│───────────────────────────────────────────────────────────────────────────│
 0 hishtory config-set filter-duplicate-commands true │
 0 hishtory config-set displayed-columns 'Exit Code' Command │
 0 echo foo │
 0 echo baz │
 │
 │
 │
 │
 │
 │
 │
 │
 │
 │
 │
 │
 │
 │
 │
 │
└───────────────────────────────────────────────────────────────────────────┘
hiSHtory: Search your shell history  • ctrl+h help