Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var DoublePopup = NewIntegrationTest(NewIntegrationTestArgs{ Description: "Open a popup from within another popup and assert you can escape back to the side panels", ExtraCmdArgs: "", Skip: false, SetupConfig: func(config *config.AppConfig) {}, SetupRepo: func(shell *Shell) { shell.EmptyCommit("one") }, Run: func(t *TestDriver, keys config.KeybindingConfig) { t.Views().Branches(). Focus(). PressPrimaryAction() t.ExpectPopup().Alert(). Title(Contains("Error")). Content(Contains("You have already checked out this branch")) t.GlobalPress(keys.Universal.OpenRecentRepos) t.ExpectPopup().Menu().Title(Contains("recent repositories")).Cancel() t.Views().Branches().IsFocused() t.Views().Files().Focus() }, })
View Source
var SwitchTabFromMenu = NewIntegrationTest(NewIntegrationTestArgs{ Description: "Switch tab via the options menu", ExtraCmdArgs: "", Skip: false, SetupConfig: func(config *config.AppConfig) {}, SetupRepo: func(shell *Shell) { }, Run: func(t *TestDriver, keys config.KeybindingConfig) { t.Views().Files().IsFocused(). Press(keys.Universal.OptionMenuAlt1) t.ExpectPopup().Menu().Title(Equals("Menu")). Select(Contains("next tab")). Confirm() t.Views().Submodules().IsFocused() }, })
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.