You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The sub-grid overflow menu button should be clicked followed by the command in the overflow menu.
Screenshots
Attempting to click a command other than the three shown will result in the exception:
No command with the name '' exists inside of '' CommandBar.
Additional context
I believe the following code to be the issue -
//Is the button in More Commands Overflow?if(items.Any(x =>x.GetAttribute("aria-label").Equals("More Commands",StringComparison.OrdinalIgnoreCase))){//Click More Commandsitems.FirstOrDefault(x =>x.GetAttribute("aria-label").Equals("More Commands",StringComparison.OrdinalIgnoreCase)).Click(true);driver.WaitForTransaction();
...
When I inspected the HTML for the sub-grid, the aria-label attribute value was More commands for <entity display name> rather than More Commands. Perhaps More Commands is for a control that isn't a standard read-only grid? I would suggest changing this to a StartsWith check to avoid a breaking change.
The text was updated successfully, but these errors were encountered:
Bug Report
EasyRepro Version
UCI or Classic Web
Online or On Premise
Browser
Describe the bug
When a sub-grid command is in the overflow menu,
ClickSubGridCommand()
is unable to find it.Code to reproduce
-->
Expected behaviour
The sub-grid overflow menu button should be clicked followed by the command in the overflow menu.
Screenshots
Attempting to click a command other than the three shown will result in the exception:
Additional context
I believe the following code to be the issue -
When I inspected the HTML for the sub-grid, the
aria-label
attribute value wasMore commands for <entity display name>
rather thanMore Commands
. PerhapsMore Commands
is for a control that isn't a standard read-only grid? I would suggest changing this to aStartsWith
check to avoid a breaking change.The text was updated successfully, but these errors were encountered: