Add demo test variant
We're piggybacking on our existing integration test framework to record demos that we can include in our docs
This commit is contained in:
@@ -40,6 +40,12 @@ func TestIntegration(t *testing.T) {
|
||||
return
|
||||
}
|
||||
|
||||
// not running demoes right now. Arguably we should, but we'd need to
|
||||
// strip away any artificial lag they use.
|
||||
if test.IsDemo() {
|
||||
return
|
||||
}
|
||||
|
||||
t.Run(test.Name(), func(t *testing.T) {
|
||||
t.Parallel()
|
||||
err := f()
|
||||
|
||||
@@ -19,7 +19,7 @@ import (
|
||||
|
||||
// This program lets you run integration tests from a TUI. See pkg/integration/README.md for more info.
|
||||
|
||||
var SLOW_KEY_PRESS_DELAY = 300
|
||||
var SLOW_KEY_PRESS_DELAY = 600
|
||||
|
||||
func RunTUI() {
|
||||
rootDir := utils.GetLazyRootDirectory()
|
||||
|
||||
Reference in New Issue
Block a user