[QA] Extend dynamic element validation to check for element clickability
Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.
Problem Statement
Given Dynamic Element Validation...
Sometimes an elements presence would not be a sufficient enough check for an element to be on a page.
Say for instance a button that loads via AJAX and is showing, but is behind some layer - has_element? would return true, but the button is not clickable.
Proposal
Extend the validation to include a check for element clickability.
Other thoughts
Given some elements, it might not be appropriate for us to check clickability. There might need to be differentiation between elements that would be clickable and those that are not.
Our current method of defining elements does not include the ability to make that distinction.
element :some_content, required: true
element :some_button, required: true
Edited by 🤖 GitLab Bot 🤖