diff options
Diffstat (limited to 'pkg/integration/tests/stash')
-rw-r--r-- | pkg/integration/tests/stash/stash.go | 6 | ||||
-rw-r--r-- | pkg/integration/tests/stash/stash_including_untracked_files.go | 6 |
2 files changed, 8 insertions, 4 deletions
diff --git a/pkg/integration/tests/stash/stash.go b/pkg/integration/tests/stash/stash.go index af247550b..00d666168 100644 --- a/pkg/integration/tests/stash/stash.go +++ b/pkg/integration/tests/stash/stash.go @@ -23,9 +23,11 @@ var Stash = NewIntegrationTest(NewIntegrationTestArgs{ assert.InMenu() input.PressKeys("a") - input.Type("stash name") - input.Confirm() + assert.InPrompt() + assert.MatchCurrentViewTitle(Equals("Stash changes")) + input.Type("my stashed file") + input.Confirm() assert.StashCount(1) assert.WorkingTreeFileCount(0) }, diff --git a/pkg/integration/tests/stash/stash_including_untracked_files.go b/pkg/integration/tests/stash/stash_including_untracked_files.go index 4ed7957ac..2f37f943c 100644 --- a/pkg/integration/tests/stash/stash_including_untracked_files.go +++ b/pkg/integration/tests/stash/stash_including_untracked_files.go @@ -24,9 +24,11 @@ var StashIncludingUntrackedFiles = NewIntegrationTest(NewIntegrationTestArgs{ assert.InMenu() input.PressKeys("U") - input.Type("stash name") - input.Confirm() + assert.InPrompt() + assert.MatchCurrentViewTitle(Equals("Stash changes")) + input.Type("my stashed file") + input.Confirm() assert.StashCount(1) assert.WorkingTreeFileCount(0) }, |