mirror of
https://github.com/jesseduffield/lazygit.git
synced 2025-07-30 03:23:08 +03:00
minor changes
This commit is contained in:
@ -29,13 +29,16 @@ var Reset = NewIntegrationTest(NewIntegrationTestArgs{
|
||||
t.Views().Branches().
|
||||
Focus().
|
||||
Lines(
|
||||
Contains("current-branch"),
|
||||
Contains("current-branch").IsSelected(),
|
||||
Contains("other-branch"),
|
||||
).
|
||||
SelectNextItem().
|
||||
Press(keys.Commits.ViewResetOptions)
|
||||
|
||||
t.ExpectMenu().Title(Contains("reset to other-branch")).Select(Contains("hard reset")).Confirm()
|
||||
t.ExpectMenu().
|
||||
Title(Contains("reset to other-branch")).
|
||||
Select(Contains("hard reset")).
|
||||
Confirm()
|
||||
|
||||
// assert that we now have the expected commits in the commit panel
|
||||
t.Views().Commits().
|
||||
|
Reference in New Issue
Block a user