diff options
Diffstat (limited to 'pkg/integration/tests/bisect/from_other_branch.go')
-rw-r--r-- | pkg/integration/tests/bisect/from_other_branch.go | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/pkg/integration/tests/bisect/from_other_branch.go b/pkg/integration/tests/bisect/from_other_branch.go index 0112d7da5..20f0fb646 100644 --- a/pkg/integration/tests/bisect/from_other_branch.go +++ b/pkg/integration/tests/bisect/from_other_branch.go @@ -36,17 +36,17 @@ var FromOtherBranch = NewIntegrationTest(NewIntegrationTestArgs{ MatchesRegexp(`<-- good.*commit 05`), ). SelectNextItem(). - Press(keys.Commits.ViewBisectOptions) - - input.ExpectMenu().Title(Equals("Bisect")).Select(MatchesRegexp(`mark .* as good`)).Confirm() - - input.ExpectAlert().Title(Equals("Bisect complete")).Content(MatchesRegexp("(?s)commit 08.*Do you want to reset")).Confirm() - - input.Views().Information().Content(DoesNotContain("bisecting")) - - // back in master branch which just had the one commit - input.Views().Commits().Lines( - Contains("only commit on master"), - ) + Press(keys.Commits.ViewBisectOptions). + Tap(func() { + input.ExpectMenu().Title(Equals("Bisect")).Select(MatchesRegexp(`mark .* as good`)).Confirm() + + input.ExpectAlert().Title(Equals("Bisect complete")).Content(MatchesRegexp("(?s)commit 08.*Do you want to reset")).Confirm() + + input.Views().Information().Content(DoesNotContain("bisecting")) + }). + // back in master branch which just had the one commit + Lines( + Contains("only commit on master"), + ) }, }) |