Skip to content

Commit

Permalink
fixup! Allow to switch branches in Commit View
Browse files Browse the repository at this point in the history
Adapt failing test
  • Loading branch information
stefanhaller committed Dec 29, 2024
1 parent 5e543ae commit c40294e
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions pkg/integration/tests/reflog/checkout.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,11 @@ var Checkout = NewIntegrationTest(NewIntegrationTestArgs{
SelectNextItem().
PressPrimaryAction().
Tap(func() {
t.ExpectPopup().Confirmation().
Title(Contains("Checkout commit")).
Content(Contains("Are you sure you want to checkout this commit?")).
t.ExpectPopup().Menu().
Title(Contains("Checkout branch or commit")).
TopLines(
Contains("Checkout commit as detached head").IsSelected(),
).
Confirm()
}).
TopLines(
Expand Down

0 comments on commit c40294e

Please sign in to comment.