diff --git a/pkg/integration/tests/reflog/checkout.go b/pkg/integration/tests/reflog/checkout.go index 94ca6e7ef48..269efc7d580 100644 --- a/pkg/integration/tests/reflog/checkout.go +++ b/pkg/integration/tests/reflog/checkout.go @@ -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(