mirror of
https://github.com/go-gitea/gitea.git
synced 2025-08-24 01:24:08 +09:00
Refactor view issue & comment list styles (#35061)
Some checks failed
Some checks failed
Fix #35060
This commit is contained in:
@ -56,7 +56,7 @@ func testViewTimetrackingControls(t *testing.T, session *TestSession, user, repo
|
||||
resp = session.MakeRequest(t, req, http.StatusOK)
|
||||
htmlDoc = NewHTMLParser(t, resp.Body)
|
||||
|
||||
events := htmlDoc.doc.Find(".event > span.text")
|
||||
events := htmlDoc.doc.Find(".event > .comment-text-line")
|
||||
assert.Contains(t, events.Last().Text(), "started working")
|
||||
|
||||
AssertHTMLElement(t, htmlDoc, ".issue-stop-time", true)
|
||||
@ -74,7 +74,7 @@ func testViewTimetrackingControls(t *testing.T, session *TestSession, user, repo
|
||||
resp = session.MakeRequest(t, req, http.StatusOK)
|
||||
htmlDoc = NewHTMLParser(t, resp.Body)
|
||||
|
||||
events = htmlDoc.doc.Find(".event > span.text")
|
||||
events = htmlDoc.doc.Find(".event > .comment-text-line")
|
||||
assert.Contains(t, events.Last().Text(), "worked for ")
|
||||
} else {
|
||||
session.MakeRequest(t, reqStart, http.StatusNotFound)
|
||||
|
Reference in New Issue
Block a user