mirror of
https://github.com/jesseduffield/lazygit.git
synced 2025-05-13 05:15:53 +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
|
@ -50,9 +50,9 @@ var MenuFromCommand = NewIntegrationTest(NewIntegrationTestArgs{
|
|||
Focus().
|
||||
Press("a")
|
||||
|
||||
t.ExpectMenu().Title(Equals("Choose commit message")).Select(Contains("bar")).Confirm()
|
||||
t.ExpectPopup().Menu().Title(Equals("Choose commit message")).Select(Contains("bar")).Confirm()
|
||||
|
||||
t.ExpectPrompt().Title(Equals("Description")).Type(" my branch").Confirm()
|
||||
t.ExpectPopup().Prompt().Title(Equals("Description")).Type(" my branch").Confirm()
|
||||
|
||||
t.Views().Files().
|
||||
Focus().
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue