Skip to content
This repository has been archived by the owner on Apr 7, 2022. It is now read-only.

[1LP][RFR] Fix locator 5.11 #9953

Merged
merged 4 commits into from
Mar 5, 2020
Merged

Conversation

sshveta
Copy link
Contributor

@sshveta sshveta commented Feb 27, 2020

{{ pytest: cfme/tests/v2v/test_v2v_migrations_ui.py --use-template-cache --provider-limit 2 --use-provider osp13-ims --use-provider vsphere65-nested -qsvv -k test_v2v_infra_map_ui}}

'/span[contains(@class,"dual-pane-mapper-item-container")]'
ITEMS_LOCATOR = VersionPick(
{
"5.11": './div/div/span[contains(@class,"dual-pane-mapper-item-container")]',
Copy link
Contributor

Choose a reason for hiding this comment

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

Are the prepended div's necessary? I.e. could you just do:

.//span[contains(@class,"dual-pane-mapper-item-container")]

Copy link
Contributor

@john-dupuy john-dupuy left a comment

Choose a reason for hiding this comment

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

1 small question, thanks for this PR @sshveta

@mshriver mshriver changed the title [RFR] Fix locator 5.11 [WIP] Fix locator 5.11 Feb 28, 2020
@dajoRH dajoRH added the WIP label Feb 28, 2020
@nachandr
Copy link
Contributor

nachandr commented Mar 4, 2020

@sshveta , thanks for this PR. Could you pls look into the Travis CI build failure and get this PR merged ?

Just an FYI, I pulled these changes locally and the test_v2v_infra_map_ui test passed locally.

@sshveta sshveta changed the title [WIP] Fix locator 5.11 [RFR] Fix locator 5.11 Mar 4, 2020
@dajoRH dajoRH removed the WIP label Mar 4, 2020
@john-dupuy john-dupuy changed the title [RFR] Fix locator 5.11 [1LP][RFR] Fix locator 5.11 Mar 5, 2020
Copy link
Contributor

@digitronik digitronik left a comment

Choose a reason for hiding this comment

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

LGTM 👍

SELECTED_ITEMS_LOCATOR = (
'./div[contains(@class,"selected")]/div/div'
'.//div[contains(@class,"selected")]/..'
Copy link
Contributor

Choose a reason for hiding this comment

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

Optional: I would use parent

@digitronik digitronik merged commit 7dc6955 into ManageIQ:master Mar 5, 2020
@digitronik digitronik self-assigned this Mar 5, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants