From c97e9883801d28ca44b8b7049a4285c8d904eea8 Mon Sep 17 00:00:00 2001 From: Sorien Date: Sat, 11 Apr 2020 00:01:41 +0200 Subject: Prettify Timeline (#10972) Co-authored-by: mrsdizzie --- integrations/pull_merge_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'integrations/pull_merge_test.go') diff --git a/integrations/pull_merge_test.go b/integrations/pull_merge_test.go index 5a9283edcf..b5ac9406ac 100644 --- a/integrations/pull_merge_test.go +++ b/integrations/pull_merge_test.go @@ -49,7 +49,7 @@ func testPullCleanUp(t *testing.T, session *TestSession, user, repo, pullnum str // Click the little green button to create a pull htmlDoc := NewHTMLParser(t, resp.Body) - link, exists := htmlDoc.doc.Find(".comments .merge .delete-button").Attr("data-url") + link, exists := htmlDoc.doc.Find(".timeline-item .delete-button").Attr("data-url") assert.True(t, exists, "The template has changed") req = NewRequestWithValues(t, "POST", link, map[string]string{ "_csrf": htmlDoc.GetCSRF(), -- cgit v1.2.3