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 2cbd54b commit 7cd0fbfCopy full SHA for 7cd0fbf
integrations/pull_merge_test.go
@@ -159,7 +159,7 @@ func TestCantMergeWorkInProgress(t *testing.T) {
159
req := NewRequest(t, "GET", resp.Header().Get("Location"))
160
resp = session.MakeRequest(t, req, http.StatusOK)
161
htmlDoc := NewHTMLParser(t, resp.Body)
162
- text := strings.TrimSpace(htmlDoc.doc.Find(".attached.header > .text.grey").Text())
+ text := strings.TrimSpace(htmlDoc.doc.Find(".attached.header > .text.grey").Last().Text())
163
assert.NotEmpty(t, text, "Can't find WIP text")
164
165
// remove <strong /> from lang
0 commit comments