summaryrefslogtreecommitdiffstats
path: root/pkg/integration/tests/stash
diff options
context:
space:
mode:
authorJesse Duffield <jessedduffield@gmail.com>2022-12-25 11:38:00 +1100
committerJesse Duffield <jessedduffield@gmail.com>2022-12-25 11:38:00 +1100
commit5d2584a1883df779d2ced5a3c44498a09179d83d (patch)
tree741f6147ea4411d730c3a803c2d05aa31fe10942 /pkg/integration/tests/stash
parentb623ecf898e1ac35b0a6093978203a7b5c13c42e (diff)
introduce ViewLines functions
Diffstat (limited to 'pkg/integration/tests/stash')
-rw-r--r--pkg/integration/tests/stash/rename.go6
1 files changed, 4 insertions, 2 deletions
diff --git a/pkg/integration/tests/stash/rename.go b/pkg/integration/tests/stash/rename.go
index c325822e6..de5385a56 100644
--- a/pkg/integration/tests/stash/rename.go
+++ b/pkg/integration/tests/stash/rename.go
@@ -22,9 +22,11 @@ var Rename = NewIntegrationTest(NewIntegrationTestArgs{
input.SwitchToStashWindow()
assert.CurrentViewName("stash")
- assert.SelectedLine(Equals("On master: bar"))
+ assert.CurrentViewLines(
+ Equals("On master: bar"),
+ Equals("On master: foo"),
+ )
input.NextItem()
- assert.SelectedLine(Equals("On master: foo"))
input.Press(keys.Stash.RenameStash)
input.Prompt(Equals("Rename stash: stash@{1}"), " baz")