mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2025-08-06 10:25:22 +02:00
Merge pull request 'Refactor user-cards as a grid' (#4760) from 0ko/forgejo:ui-usercards-grid into forgejo
Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/4760 Reviewed-by: Caesar Schinas <caesar@caesarschinas.com>
This commit is contained in:
commit
37151d75cb
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