-
Notifications
You must be signed in to change notification settings - Fork 8.3k
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
Add rowProps to saved objects management table #59758
Comments
Pinging @elastic/kibana-platform (Team:Platform) |
Should tackle that beginning of next week. |
cc @LeeDr |
@pgayvallet I created this draft PR as a work-around #59968 But you can see that it's not as simple as if there were data-test-subj's on the fields, and specifically if the had the saved object title in them. But spaces and special characters could cause problems. |
@LeeDr I'm afraid due to the range of characters allowed in the name, we won't be able to use it as a technical identifier of any sort. We are going to need to use the ID as identifier here if we want to do anything. |
I just created #60226. However what we can do with the EUI tables configuration is quite limited:
In conclusion, not sure all this is going to help you a lot, and I feel like the helper FTR pageObject methods are going to be required... Please tell me if you see anything I should/can add to the PR |
@dmlemeshko @LeeDr can I please get your inputs on this? Thanks! |
Looking at the actual code for the actions column of Saved Objects, @pgayvallet is correct that there is no way to add a dynamic Lines 221 to 236 in f4dc420
This passes the
Sorry that EUI is lacking there at the moment, but you do have a couple paths for solutions. |
@cchaos thanks for taking a look.
The 'special'
We are currently in the process of migrating this part to NP and TS, this is something I would really like to avoid in the very short term. If we could get the actions to have a static testSubj, this probably would be sufficient for now as the row/tr now have a dynamic one, which should be enough to target a specific action |
The table will automatically combine action buttons in to a popover if there are more than 2. This is so there aren't a lot of text-less icon buttons in a row. I can confirm that passing There is also a static |
I don't know how I did not get that working. It's indeed working, thanks |
Thanks for excellent work on this Pierre. |
Describe the feature:
While trying to add a11y tests - we found out that rowProps are needed to be added to saved objects management table so that we can compute data-test-subj per rows easily
File to which rowProps need to be added: kibana/src/legacy/core_plugins/kibana/public/management/sections/objects/components/objects_table/components/table/table.js
Here is an example:
kibana/x-pack/legacy/plugins/ml/public/application/data_frame_analytics/pages/analytics_management/components/analytics_list/analytics_list.tsx
The text was updated successfully, but these errors were encountered: