microsoft / EasyRepro

Automated UI testing API for Dynamics 365
MIT License
513 stars 286 forks source link

[BUG] `OpenRelatedGridRow` fails with `element not interactable` #1310

Closed tdashworth closed 1 year ago

tdashworth commented 1 year ago

Bug Report

Issues should only be created for items related to covered functionality.

Not covered functionality, feature requests, and questions should use the Feature Request or Question templates.

EasyRepro Version

UCI or Classic Web

Online or On Premise

Browser

Describe the bug

When trying to select a row on a related grid, Selenium reports:

OpenQA.Selenium.ElementNotInteractableException: element not interactable: [object HTMLDivElement] has no size and location
(Session info: headless chrome=103.0.5060.134)

Special formatting / display

None.

Code to reproduce

Expected behavior

The row should be selectable and navigate to the record.

Screenshots

Additional context

This issue was identified in Capgemini's Power Apps Specflow Bindings. The pipeline run is: https://capgeminiuk.visualstudio.com/GitHub%20Support/_build/results?buildId=7866&view=ms.vss-test-web.build-test-results-tab&runId=1005114&resultId=100159&paneView=debug

tdashworth commented 1 year ago

XrmApp.Grid.OpenRecord(index); works instead.

Closing.