Skip to content

Commit

Permalink
Fix Test Verify Resource Link HTTP Status Code (red-hat-data-servic…
Browse files Browse the repository at this point in the history
…es#1582)

Invalid Xpath caused the test to list zero links.

Signed-off-by: manosnoam <nmanos@redhat.com>
  • Loading branch information
manosnoam authored Jul 1, 2024
1 parent 67e2da0 commit 94a6caa
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ Wait Until Resource Page Is Loaded
Get Link Web Elements From Resource Page
[Documentation] Returns the link web elements from Resources page which redirects users to
... external websites. It excludes Quick Starts items
${link_elements}= Get WebElements //a[@class="odh-card__footer__link" and not(starts-with(@href, '#'))]
${link_elements}= Get WebElements //a[contains(@class,"odh-card__footer__link") and not(starts-with(@href, '#'))]
${len}= Get Length ${link_elements}
Log To Console ${len} Links found\n
RETURN ${link_elements}
Expand Down

0 comments on commit 94a6caa

Please sign in to comment.