chore: rename "Set/Unset upstream" menu to "Upstream Options"
This should already have been done when adding the "View divergence from upstream" command, but now we're going to add yet another item to the menu that is unrelated to setting or unsetting the upstream.
This commit is contained in:
@@ -25,7 +25,7 @@ var ResetUpstream = NewIntegrationTest(NewIntegrationTestArgs{
|
||||
Press(keys.Branches.SetUpstream).
|
||||
Tap(func() {
|
||||
t.ExpectPopup().Menu().
|
||||
Title(Equals("Set/Unset upstream")).
|
||||
Title(Equals("Upstream options")).
|
||||
Select(Contains("Unset upstream of selected branch")).
|
||||
Confirm()
|
||||
}).
|
||||
|
||||
@@ -24,7 +24,7 @@ var SetUpstream = NewIntegrationTest(NewIntegrationTestArgs{
|
||||
Press(keys.Branches.SetUpstream).
|
||||
Tap(func() {
|
||||
t.ExpectPopup().Menu().
|
||||
Title(Equals("Set/Unset upstream")).
|
||||
Title(Equals("Upstream options")).
|
||||
Select(Contains(" Set upstream of selected branch")). // using leading space to disambiguate from the 'reset' option
|
||||
Confirm()
|
||||
|
||||
|
||||
@@ -38,7 +38,7 @@ var ShowDivergenceFromUpstream = NewIntegrationTest(NewIntegrationTestArgs{
|
||||
Lines(Contains("master")).
|
||||
Press(keys.Branches.SetUpstream)
|
||||
|
||||
t.ExpectPopup().Menu().Title(Contains("upstream")).Select(Contains("View divergence from upstream")).Confirm()
|
||||
t.ExpectPopup().Menu().Title(Contains("Upstream")).Select(Contains("View divergence from upstream")).Confirm()
|
||||
|
||||
t.Views().SubCommits().
|
||||
IsFocused().
|
||||
|
||||
Reference in New Issue
Block a user