Skip to content
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

It needs to be possible to give web element IDs to crud editors' web elements. #226

Open
blomqsu1 opened this issue Jan 12, 2018 · 2 comments

Comments

@blomqsu1
Copy link

When using crud editor, it needs to be possible to set web element IDs for the elements in crud editor (e.g. buttons, text editors). The element IDs are needed for test automation.

@estambakio-sc
Copy link
Contributor

@blomqsu1 what is the desired solution? Hard-coded ids for elements or some kind of API? This is not clear. If you mean hard-coded ids then please specify a list of elements you need the ids set for.

@blomqsu1
Copy link
Author

For simple components it would be sufficient to pass unhandled properties onwards to the underlying components. An example of this can be found in react-navigation -component (see the use of “…restProps” in the following: OpusCapita/react-navigation@3d01b6c#diff-4e15e002cf7c6baf766f4bff7dbf394d).

For the search result table we need a way to specify cell properties according to column- and row objects. Something similar to react-table “getTdProps” would be nice (https://github.com/react-tools/react-table).

For custom components defined in our repo we can do these kinds of changes ourselves. For example, we have a CustomerInputComponent, which defines a combobox for customer selection for which these changes can be done by the our team.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants