aboutsummaryrefslogtreecommitdiffstats
path: root/integrations/pull_status_test.go
diff options
context:
space:
mode:
authorsilverwind <me@silverwind.io>2020-11-15 21:58:16 +0100
committerGitHub <noreply@github.com>2020-11-15 15:58:16 -0500
commit0de546009e466486cd88dfa98d07d8775bd3087d (patch)
tree9150f26ad2580337acace452363a3081942d366d /integrations/pull_status_test.go
parent7a30e97002ec8bd601b93549d4efc51743ecf2b3 (diff)
downloadgitea-0de546009e466486cd88dfa98d07d8775bd3087d.tar.gz
gitea-0de546009e466486cd88dfa98d07d8775bd3087d.zip
CSS color variables, less bold font weight and more (#13567)
* CSS color variables, less bold font weight - Define color variables for fully saturated colors and apply them where it made sense - Add background color helper classes - Globally reduce bold font weight from 700 to 500 - Remove border from timeline icons - Unify dropzone styling - Various border style consolidations * attempt to fix test * another attempt at tests * fix contains
Diffstat (limited to 'integrations/pull_status_test.go')
-rw-r--r--integrations/pull_status_test.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/integrations/pull_status_test.go b/integrations/pull_status_test.go
index 95ed755fbb..0002784792 100644
--- a/integrations/pull_status_test.go
+++ b/integrations/pull_status_test.go
@@ -114,7 +114,7 @@ func TestPullCreate_EmptyChangesWithCommits(t *testing.T) {
resp := session.MakeRequest(t, req, http.StatusOK)
doc := NewHTMLParser(t, resp.Body)
- text := strings.TrimSpace(doc.doc.Find(".item.text.green").Text())
- assert.EqualValues(t, "This pull request can be merged automatically.", text)
+ text := strings.TrimSpace(doc.doc.Find(".merge-section").Text())
+ assert.Contains(t, text, "This pull request can be merged automatically.")
})
}