mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2025-05-25 11:22:16 +00:00
ui: refactor user-cards as a grid
This commit is contained in:
parent
c0dde47d37
commit
cad8d09ba8
3 changed files with 45 additions and 28 deletions
|
@ -48,7 +48,7 @@ func testRepoStarringOrWatching(t *testing.T, action, listURI string) {
|
|||
|
||||
// Verify that "user5" is among the stargazers/watchers
|
||||
htmlDoc = NewHTMLParser(t, resp.Body)
|
||||
htmlDoc.AssertElement(t, ".user-cards .list .item.ui.segment > a[href='/user5']", true)
|
||||
htmlDoc.AssertElement(t, ".user-cards .list .card > a[href='/user5']", true)
|
||||
|
||||
// Unstar/unwatch the repo as user5
|
||||
req = NewRequestWithValues(t, "POST", fmt.Sprintf("/user2/repo1/action/%s", oppositeAction), map[string]string{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue