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

Fix test_odf_storagesystems_ui #9656

Merged
merged 6 commits into from
Apr 10, 2024

Conversation

ebondare
Copy link
Contributor

@ebondare ebondare commented Apr 9, 2024

Adjusts locators to fix test_dashboard_validation_ui, test_odf_storagesystems_ui, test_odf_cephblockpool_compression_status.

Signed-off-by: Elena Bondarenko <[email protected]>
@ebondare ebondare requested a review from a team as a code owner April 9, 2024 15:05
Signed-off-by: Elena Bondarenko <[email protected]>
@pull-request-size pull-request-size bot added size/S PR that changes 10-29 lines and removed size/XS labels Apr 9, 2024
ebondare added 3 commits April 9, 2024 18:32
Signed-off-by: Elena Bondarenko <[email protected]>
Signed-off-by: Elena Bondarenko <[email protected]>
Signed-off-by: Elena Bondarenko <[email protected]>
@ebondare
Copy link
Contributor Author

Fixes #9580

@ebondare
Copy link
Contributor Author

@ebondare ebondare added Squad/Black Covers UI specific test cases such as ODF Dashboard etc. Verified Mark when PR was verified and log provided labels Apr 10, 2024
DanielOsypenko
DanielOsypenko previously approved these changes Apr 10, 2024
am-agrawa
am-agrawa previously approved these changes Apr 10, 2024
@@ -1369,12 +1369,17 @@
By.XPATH,
),
"odf-performanceCardLink": (
"td[class='pf-u-w-10 performanceCard--verticalAlign'] a",
"td[class='pf-u-w-10 performanceCard--verticalAlign'] a, "
"td[class='pf-v5-c-table__td pf-v5-u-w-10 performanceCard--verticalAlign'] a",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

CSS_Selector is too long, is there any other locator available which is short but robust?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actually you're right, I can just replace it with class*='performanceCard--verticalAlign'. Thank you. Fixed

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 one class name pf-v5-c-table__td pf-v5-u-w-10 performanceCard--verticalAlign as far as I see, so it will not make difference if we use long class name or short class name

fbalak
fbalak previously approved these changes Apr 10, 2024
Signed-off-by: Elena Bondarenko <[email protected]>
@ebondare ebondare dismissed stale reviews from fbalak, am-agrawa, and DanielOsypenko via 37930ce April 10, 2024 12:05
@openshift-ci openshift-ci bot removed the lgtm label Apr 10, 2024
@ebondare
Copy link
Contributor Author

@openshift-ci openshift-ci bot added the lgtm label Apr 10, 2024
Copy link

openshift-ci bot commented Apr 10, 2024

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: DanielOsypenko, ebondare, fbalak

The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@fbalak fbalak merged commit 529cbb8 into red-hat-storage:master Apr 10, 2024
5 of 6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
lgtm size/S PR that changes 10-29 lines Squad/Black Covers UI specific test cases such as ODF Dashboard etc. Verified Mark when PR was verified and log provided
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants