Testing such static HTML is a bit tricky. I think the best thing to do is scan the output to ensure certain data points are output at all. E.g., knowing that a document's title is "My Document," we should expect to find an <h1> containing the string "My Document" somewhere. Generally improving the test suite is also an excuse to try out Gitea's actions lol.
Testing such static HTML is a bit tricky. I think the best thing to do is scan the output to ensure certain data points are output at all. E.g., knowing that a document's title is "My Document," we should expect to find an `<h1>` containing the string "My Document" _somewhere_. Generally improving the test suite is also an excuse to try out Gitea's actions lol.
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Testing such static HTML is a bit tricky. I think the best thing to do is scan the output to ensure certain data points are output at all. E.g., knowing that a document's title is "My Document," we should expect to find an
<h1>containing the string "My Document" somewhere. Generally improving the test suite is also an excuse to try out Gitea's actions lol.