aboutsummaryrefslogtreecommitdiffstats
path: root/integrations/pull_merge_test.go
diff options
context:
space:
mode:
authorCirno the Strongest <1447794+CirnoT@users.noreply.github.com>2020-05-25 21:08:06 +0200
committerGitHub <noreply@github.com>2020-05-25 20:08:06 +0100
commit75739d00cb05b07706304bca742dc676e34b9a74 (patch)
tree365f45b7924abb5d8c4ffdaccace4d556b702a50 /integrations/pull_merge_test.go
parent0a7c5623d7a58a342f1734d00080ef71c5ed991e (diff)
downloadgitea-75739d00cb05b07706304bca742dc676e34b9a74.tar.gz
gitea-75739d00cb05b07706304bca742dc676e34b9a74.zip
Fix styling for PR merge section when no checks (#11609)
Makes styling consistent between two cases. Also removed unnecessary double border.
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 b5ac9406ac..04e68ff3dc 100644
--- a/integrations/pull_merge_test.go
+++ b/integrations/pull_merge_test.go
@@ -194,7 +194,7 @@ func TestCantMergeWorkInProgress(t *testing.T) {
req := NewRequest(t, "GET", resp.Header().Get("Location"))
resp = session.MakeRequest(t, req, http.StatusOK)
htmlDoc := NewHTMLParser(t, resp.Body)
- text := strings.TrimSpace(htmlDoc.doc.Find(".attached.header > .text.grey").Last().Text())
+ text := strings.TrimSpace(htmlDoc.doc.Find(".attached.merge-section.no-header > .text.grey").Last().Text())
assert.NotEmpty(t, text, "Can't find WIP text")
// remove <strong /> from lang