-
Notifications
You must be signed in to change notification settings - Fork 18
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
Check if Subgrid is visible #72
Comments
Correct, this isn't currently implemented. Marking it as an enhancement, |
What would you envision the step looking like for this functionality? |
I'm thinking about expanding the 'Assert Form State' step by adding extra functionality to check this. This would make the table look like below: Definition
Example
|
I like the format above. I started implementing this and I noticed the only thing that isn't covered is specifying the tab that sections are in. This is covered by the format below. Specifying the tab and section names as separate columns also lays the ground work for checking field visibility when fields are in multiple tabs/sections.
|
I would not use an additional tab and section column. It makes things more complex for someone writing tests for normal cases. Explicit testing on which tab and section exist is more an edge case. Maby a dot-notion would be better, like tab.fieldname or tab.section.fieldname.
|
I agree with the fact to try to make it as simple as possible. The dot way seems to be kind of simple but maybe not really obvious to non developers. Also you need to be able to deal with names that contain dots. I think using a seperate column would be better, but a little more simplified. Also that column must be optional as it won't be used in >90% of the cases. Either way I'm still not 100% certain yet. I'm also thinking about seperating it in two different steps. One for the state (visible/locked etc) and one for the structure. That would make it very simple, however it won't allow the test case where you use multiple instances of the same field on the form where one is visible and the other is invisible. Definition
Simple Example
Advanced Example
Simple
Advanced
|
Is it possible to check whether a subgrid or section is visible on a form?
I saw the form state command. But, it looks like it only returns attributes.
The text was updated successfully, but these errors were encountered: