-
Notifications
You must be signed in to change notification settings - Fork 740
Create hover tokens for grid row hover effect #4892
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -61,7 +61,7 @@ protected static async Task<ResourceRow[]> CheckDashboardHasResourcesAsync(IPage | |
| await Task.Delay(500); | ||
|
|
||
| // _testOutput.WriteLine($"Checking for rows again"); | ||
| ILocator rowsLocator = dashboardPage.Locator("//fluent-data-grid-row[@class='resource-row']"); | ||
| ILocator rowsLocator = dashboardPage.Locator("//fluent-data-grid-row[@class='hover resource-row']"); | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Hmm, I don't like that this requires the exact right classes be specified in the query. It's very brittle. I wonder if there is something like the browser's getElementsByClassName? Unrelated to this change though.
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Yeah it seems a little brittle. Maybe just switching on the row type instead might be better (to skip header rows)? Even that seems a little brittle. But I didn't even realize this existed until you pointed it out, so I wasn't trying to delve into it too far yet, just trying to unblock.
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I was hit by it last week. I vented here: #4834 I'll add class name brittleness to the list |
||
| var allRows = await rowsLocator.AllAsync(); | ||
| // _testOutput.WriteLine($"found rows#: {allRows.Count}"); | ||
| if (allRows.Count == 0) | ||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.