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:
@ -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)
|
||||
},
|
||||
|
Reference in New Issue
Block a user