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

[Behat] IBX-6335: Added PropertiesList component #898

Merged
merged 2 commits into from
Sep 13, 2023
Merged

[Behat] IBX-6335: Added PropertiesList component #898

merged 2 commits into from
Sep 13, 2023

Conversation

katarzynazawada
Copy link
Contributor

JIRA: https://issues.ibexa.co/browse/IBX-6335

This PR adds PropertiesList component to verify value of fields in content tabs.

Copy link
Contributor

@mnocon mnocon left a 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
Copy link
Contributor

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'),
Copy link
Contributor

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

@sonarcloud
Copy link

sonarcloud bot commented Sep 7, 2023

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

@micszo micszo merged commit 91d572f into 4.5 Sep 13, 2023
14 checks passed
@micszo micszo deleted the ibx-6335 branch September 13, 2023 09:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

9 participants