mirror of
https://github.com/jesseduffield/lazygit.git
synced 2025-07-31 14:24:25 +03:00
test: check focus on commits after performing an advanced rebase
This commit is contained in:
@ -42,9 +42,8 @@ var AdvancedInteractiveRebase = NewIntegrationTest(NewIntegrationTestArgs{
|
|||||||
Title(Equals(fmt.Sprintf("Rebase '%s' onto '%s'", TOP_BRANCH, BASE_BRANCH))).
|
Title(Equals(fmt.Sprintf("Rebase '%s' onto '%s'", TOP_BRANCH, BASE_BRANCH))).
|
||||||
Select(Contains("interactive rebase")).
|
Select(Contains("interactive rebase")).
|
||||||
Confirm()
|
Confirm()
|
||||||
|
|
||||||
t.Views().Commits().
|
t.Views().Commits().
|
||||||
Focus().
|
IsFocused().
|
||||||
Lines(
|
Lines(
|
||||||
Contains(TOP_COMMIT),
|
Contains(TOP_COMMIT),
|
||||||
Contains(BASE_COMMIT).Contains("YOU ARE HERE"),
|
Contains(BASE_COMMIT).Contains("YOU ARE HERE"),
|
||||||
|
Reference in New Issue
Block a user