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

Check that the URL list is not empty before verifying HTTP status #1584

Merged
merged 1 commit into from
Jul 2, 2024

Conversation

manosnoam
Copy link
Contributor

KW URLs HTTP Status Code Should Be Equal To receives a list of links to verify that no link is broken.
However, if the list is empty (most likely due to invalid XPATH), then no URL validation is executed.
This would cause a false positive (as if all links are working), instead of failing the calling test (expected link elements are missing).

KW `URLs HTTP Status Code Should Be Equal To` receives a list of links
to verify that no link is broken. However if the list is empty
(most likely due to invalid XPATH), then no URL validation is executed.
This would cause a false positive (as if all links are working), instead
of failing the calling test (expected link elements are missing).

Signed-off-by: manosnoam <nmanos@redhat.com>
Copy link
Contributor

github-actions bot commented Jul 2, 2024

Robot Results

✅ Passed ❌ Failed ⏭️ Skipped Total Pass %
496 0 0 496 100

@manosnoam manosnoam added verified This PR has been tested with Jenkins enhancements Bugfixes, enhancements, refactoring, ... in tests or libraries (PR will be listed in release-notes) labels Jul 2, 2024
@bdattoma bdattoma merged commit 3a10b81 into red-hat-data-services:master Jul 2, 2024
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancements Bugfixes, enhancements, refactoring, ... in tests or libraries (PR will be listed in release-notes) verified This PR has been tested with Jenkins
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants