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
XrmApp.Entity.SubGrid.ClickCommand(subGridName, commandName);
-->
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:
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 Commands
items.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.
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-labelattribute value wasMore commands for <entity display name>rather thanMore Commands. PerhapsMore Commandsis for a control that isn't a standard read-only grid? I would suggest changing this to aStartsWithcheck to avoid a breaking change.