diff --git a/templates/repo/commit_status.tmpl b/templates/repo/commit_status.tmpl index 470869b381..d52e151247 100644 --- a/templates/repo/commit_status.tmpl +++ b/templates/repo/commit_status.tmpl @@ -1,5 +1,5 @@ {{if eq .State "pending"}} - {{svg "octicon-dot-fill" 18 "commit-status icon text yellow"}} + {{svg "octicon-dot-fill" 18 "commit-status icon text grey"}} {{end}} {{if eq .State "running"}} {{svg "octicon-dot-fill" 18 "commit-status icon text yellow"}} diff --git a/tests/integration/repo_commits_test.go b/tests/integration/repo_commits_test.go index e74e3867f4..57ecc4da5f 100644 --- a/tests/integration/repo_commits_test.go +++ b/tests/integration/repo_commits_test.go @@ -110,7 +110,7 @@ func testRepoCommitsWithStatus(t *testing.T, resp, respOne *httptest.ResponseRec } func TestRepoCommitsWithStatusPending(t *testing.T) { - doTestRepoCommitWithStatus(t, "pending", "octicon-dot-fill", "yellow") + doTestRepoCommitWithStatus(t, "pending", "octicon-dot-fill", "grey") } func TestRepoCommitsWithStatusSuccess(t *testing.T) { @@ -129,6 +129,10 @@ func TestRepoCommitsWithStatusWarning(t *testing.T) { doTestRepoCommitWithStatus(t, "warning", "gitea-exclamation", "yellow") } +func TestRepoCommitsWithStatusRunning(t *testing.T) { + doTestRepoCommitWithStatus(t, "running", "octicon-dot-fill", "yellow") +} + func TestRepoCommitsStatusParallel(t *testing.T) { defer tests.PrepareTestEnv(t)()