Blender Defender

Results 57 comments of Blender Defender

I'm trying to find the causes of the failing tests, here's what I've found: tests/integration/git_test.go:628, tries to find a tbody that doesn't exist anymore tests/integration/pull_status_test.go:48, 86 and 91, same issue...

I guess this needs to be fixed... It would be great, if the backend processed the commit summary in a way, that the summary has a maximum length, and everything...

@silverwind Regarding the failing tests, would it be an option to add a `data-testid` attribute to all the elements that the tests are trying to check?

For comparison: This is, how it looks like on GitHub: Commit list: ![grafik](https://github.com/go-gitea/gitea/assets/61777131/4c9191dc-bcdb-49f8-9239-a56511a46fb9) Commit details: ![grafik](https://github.com/go-gitea/gitea/assets/61777131/d21f724f-7910-43f8-bf7c-2f48f0543a54)

Could look something like this: ![image](https://github.com/go-gitea/gitea/assets/61777131/0197e6c8-070a-4842-a0b7-1490815c1a30) ![image](https://github.com/go-gitea/gitea/assets/61777131/13d9d77a-d61f-42f4-a265-52af8a40dd21)

Other layouts where this badge would appear: ![grafik](https://github.com/go-gitea/gitea/assets/61777131/9d3a3901-dace-48b2-9e0d-c5590d21a337) ![grafik](https://github.com/go-gitea/gitea/assets/61777131/a5d4293d-3059-4ea5-b3e9-53c8386842aa) ![grafik](https://github.com/go-gitea/gitea/assets/61777131/6b06340b-91ae-43c6-b7be-d7352a2b4734)

Clicking the badge would trigger a modal: ![grafik](https://github.com/go-gitea/gitea/assets/61777131/cdbbe5c3-c876-4e88-86e4-f49923ee1ba0) ![grafik](https://github.com/go-gitea/gitea/assets/61777131/45260fca-6e9f-4af2-8028-f3f26e2014b8)