fediverse-devnet / feditest

A testing framework for distributed, heterogeneous systems communicating with complex protocols, such as the Fediverse
https://feditest.org/
MIT License
27 stars 4 forks source link

Generate anchors for each meaningful test result #202

Closed jernst closed 8 hours ago

jernst commented 3 weeks ago

So somebody reading a test report can copy-paste the URL to that specific test result and share it with somebody. "I want you to fix this problem".

jernst commented 5 days ago

If the link goes to a cell inside a table, it's hard to tell which cell if all we do is <td id="something">. It would be nice to highlight the specific cell when the browser URL has fragment #something in the URL it accesses.

No idea how to do this. Ideas, anybody?

jernst commented 5 days ago

It seems https://developer.mozilla.org/en-US/docs/Web/CSS/:target is just the ideal solution here. Thanks @Ryuno-Ki!

steve-bate commented 5 days ago

If I had a link to a test result, I'd prefer the link was to the detailed test result data rather than the table cell. For the most part, I think the test matrix is more for us (or anybody wanting a "50,000 foot view" of the results across all servers). I'm guessing most developers will be interested in the results for their server or specific test results.

jernst commented 4 days ago

It should be both IMHO. The use case is: "Whatever I am looking at, I should be able to share it with somebody".

jernst commented 4 days ago

Maybe there are two requirements:

jernst commented 4 days ago

This touches some of the same files I just moved, so I will hold off on editing until the previous PR is merged.

jernst commented 8 hours ago

Fixed