mirror of
https://github.com/jesseduffield/lazygit.git
synced 2025-08-07 22:02:56 +03:00
fix test
This commit is contained in:
@@ -18,20 +18,20 @@ var RebaseAndDrop = NewIntegrationTest(NewIntegrationTestArgs{
|
|||||||
shell.EmptyCommit("to keep")
|
shell.EmptyCommit("to keep")
|
||||||
},
|
},
|
||||||
Run: func(t *TestDriver, keys config.KeybindingConfig) {
|
Run: func(t *TestDriver, keys config.KeybindingConfig) {
|
||||||
t.Views().Branches().
|
|
||||||
Focus().
|
|
||||||
Lines(
|
|
||||||
Contains("first-change-branch"),
|
|
||||||
Contains("second-change-branch"),
|
|
||||||
Contains("original-branch"),
|
|
||||||
)
|
|
||||||
|
|
||||||
t.Views().Commits().
|
t.Views().Commits().
|
||||||
TopLines(
|
TopLines(
|
||||||
Contains("to keep").IsSelected(),
|
Contains("to keep"),
|
||||||
Contains("to remove"),
|
Contains("to remove"),
|
||||||
Contains("first change"),
|
Contains("first change"),
|
||||||
Contains("original"),
|
Contains("original"),
|
||||||
|
)
|
||||||
|
|
||||||
|
t.Views().Branches().
|
||||||
|
Focus().
|
||||||
|
Lines(
|
||||||
|
Contains("first-change-branch").IsSelected(),
|
||||||
|
Contains("second-change-branch"),
|
||||||
|
Contains("original-branch"),
|
||||||
).
|
).
|
||||||
SelectNextItem().
|
SelectNextItem().
|
||||||
Press(keys.Branches.RebaseBranch)
|
Press(keys.Branches.RebaseBranch)
|
||||||
|
Reference in New Issue
Block a user