mirror of
https://github.com/jesseduffield/lazygit.git
synced 2025-06-17 00:18:05 +02:00
move popup assertions into a struct
This commit is contained in:
@ -28,7 +28,7 @@ var NewBranch = NewIntegrationTest(NewIntegrationTestArgs{
|
||||
Press(keys.Universal.New).
|
||||
Tap(func() {
|
||||
branchName := "my-branch-name"
|
||||
t.ExpectPrompt().Title(Contains("New Branch Name")).Type(branchName).Confirm()
|
||||
t.ExpectPopup().Prompt().Title(Contains("New Branch Name")).Type(branchName).Confirm()
|
||||
|
||||
t.Git().CurrentBranchName(branchName)
|
||||
}).
|
||||
|
Reference in New Issue
Block a user