1
0
mirror of https://github.com/jesseduffield/lazygit.git synced 2025-07-30 03:23:08 +03:00

test: add more assertions

This commit is contained in:
Andrew Hynes
2022-11-12 18:03:43 -03:30
parent a47e72892a
commit 66a253916e
28 changed files with 24 additions and 23 deletions

View File

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