Skip to content

Commit

Permalink
Update button xpath to work with latest ODH (red-hat-data-services#1837)
Browse files Browse the repository at this point in the history
* Update button xpath to work with latest ODH

Signed-off-by: lugi0 <[email protected]>

* Add comment

Signed-off-by: lugi0 <[email protected]>

---------

Signed-off-by: lugi0 <[email protected]>
  • Loading branch information
lugi0 authored Sep 20, 2024
1 parent 3c6eb92 commit 7a1f2d0
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@ ${DESCR_INPUT_XP}= xpath=//textarea[@id="manage-project-modal-description"]
${RESOURCE_INPUT_XP}= xpath=//input[@data-testid="resource-manage-project-modal-name"]
${GENERIC_CREATE_BTN_XP}= xpath=//button[text()="Create"]
${GENERIC_CANCEL_BTN_XP}= xpath=//button[text()="Cancel"]
${PROJECT_CREATE_BTN_XP}= xpath=//button[text()="Create data science project"]
# TODO: Update to latter option once the change is pulled from ODH into downstream!
${PROJECT_CREATE_BTN_XP}= xpath=///button[text()="Create data science project" or text()="Create project"]
${ACTIONS_BTN_XP}= xpath=//div/button[@aria-label="Actions"]
${DELETE_ACTION_BTN_XP}= xpath=//div/ul/li/button[text()="Delete project"]
${EDIT_ACTION_BTN_XP}= xpath=//div/ul/li/button[text()="Edit project"]
Expand Down

0 comments on commit 7a1f2d0

Please sign in to comment.