Skip to content

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

@sonarqubecloud
Copy link

sonarqubecloud 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
@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