-
Notifications
You must be signed in to change notification settings - Fork 16
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
[Behat] IBX-6335: Added PropertiesList component #898
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looking good, thanks for adding this component! Just one remark from me
$this->getHTMLPage()->find($this->getLocator('tabContent'))->assert()->isVisible(); | ||
} | ||
|
||
public function verifyValue(string $label, string $value): void |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is a better name than the one I came up with 😄 💪
protected function specifyLocators(): array | ||
{ | ||
return [ | ||
new VisibleCSSLocator('tabContent', 'ibexa-tab-content'), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't think this is a valid CSS selector (I guess a dot is missing) - which makes me thing that the verifyIsLoaded
method is never called
Kudos, SonarCloud Quality Gate passed! 0 Bugs No Coverage information |
JIRA: https://issues.ibexa.co/browse/IBX-6335
This PR adds PropertiesList component to verify value of fields in content tabs.