Capgemini / Capgemini/powerapps-specflow-bindings

Missing step binding - Given I am viewing a (quick create|main) form for the '(.*)' entity

Open
#5 1 comment 0 reactions 1 assignee Claimed by @Zwuai View on GitHub
enhancement good first issue
Dominant language
C#
Stars
42
Forks
27
PR merge metrics
No merged PRs in 30d

Description

A `Given` step is available to open a form for a record that you have created using the `Given I have created` binding, but no `Given` step exists to open a form for an entity that you haven't created. This means that tests which are only testing form behaviour need additional `When` steps to first navigate to the correct place in the app to open a new create form - adding unnecessary length to the test execution time and resulting in more fragile tests. Changes to the site map or ribbon may cause tests such as this to break.

I suggest that this uses the [openForm](https://docs.microsoft.com/en-us/powerapps/developer/model-driven-apps/clientapi/reference/xrm-navigation/openform) function of the `Xrm.Navigation` client API namespace.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.