mirror of
https://github.com/jesseduffield/lazygit.git
synced 2025-05-12 21:05:48 +02:00
move popup assertions into a struct
This commit is contained in:
parent
7aa843c75a
commit
9fef4447b6
33 changed files with 130 additions and 120 deletions
|
@ -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)
|
||||
}).
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue