aboutsummaryrefslogtreecommitdiffstats
path: root/integrations/pull_merge_test.go
diff options
context:
space:
mode:
authorSorien <Sorien@users.noreply.github.com>2020-04-11 00:01:41 +0200
committerGitHub <noreply@github.com>2020-04-11 01:01:41 +0300
commitc97e9883801d28ca44b8b7049a4285c8d904eea8 (patch)
tree4477bbe9f8eaec7a5440eb77dbab8916bcbe2981 /integrations/pull_merge_test.go
parentbc362ea3c611a94e7920a3cf4691fd108f874ef0 (diff)
downloadgitea-c97e9883801d28ca44b8b7049a4285c8d904eea8.tar.gz
gitea-c97e9883801d28ca44b8b7049a4285c8d904eea8.zip
Prettify Timeline (#10972)
Co-authored-by: mrsdizzie <info@mrsdizzie.com>
Diffstat (limited to 'integrations/pull_merge_test.go')
-rw-r--r--integrations/pull_merge_test.go2
1 files changed, 1 insertions, 1 deletions
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(),