Open JamesNK opened 4 months ago
cc @radical
@adamint would you be interested in taking this up, since you recently worked on dashboard playwright tests?
@radical sure!
Also, queries such as //fluent-data-grid-row[@class='resource-row']
require the exact classes to match the query. It would be better if the query returned elements named fluent-data-grid-row
with the class resource-row
and any other classes.
Is there a better way to write this kind of query that isn't so brittle to HTML changes?
See https://github.com/dotnet/aspire/pull/4892#discussion_r1680435584
Also, queries such as
//fluent-data-grid-row[@class='resource-row']
require the exact classes to match the query. It would be better if the query returned elements namedfluent-data-grid-row
with the classresource-row
and any other classes.Is there a better way to write this kind of query that isn't so brittle to HTML changes?
See #4892 (comment)
Yes, it is recommended not to use css classes or html elements where possible
What's the alternative?
Is there an existing issue for this?
Describe the bug
CheckDashboardHasResourcesAsync
has some improvements I'd like to see to make it less brittle to changes and improve the error message output.Expected Behavior
Steps To Reproduce
No response
Exceptions (if any)
No response
.NET Version info
No response
Anything else?
No response