We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c9f3fa7 commit 3e14585Copy full SHA for 3e14585
tests/integration/pull_merge_test.go
@@ -589,7 +589,8 @@ func TestPullDontRetargetChildOnWrongRepo(t *testing.T) {
589
resp := session.MakeRequest(t, req, http.StatusOK)
590
591
htmlDoc := NewHTMLParser(t, resp.Body)
592
- targetBranch := htmlDoc.doc.Find("#branch_target>a").Text()
+ // the branch has been deleted, so there is no a html tag instead of span
593
+ targetBranch := htmlDoc.doc.Find("#branch_target>span").Text()
594
prStatus := strings.TrimSpace(htmlDoc.doc.Find(".issue-title-meta>.issue-state-label").Text())
595
596
assert.EqualValues(t, "base-pr", targetBranch)
0 commit comments