-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Add 'AnsibleDevFileAPI' E2E test #23456
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
Conversation
I would also propose to verify the removal of the test pod after the workspace removal:
|
|
* checks Molecule pod is removed after deleting asnsible-demo sample workspace | ||
* @throws Error if Molecule pod is not removed within the timeout | ||
*/ | ||
waitRemovingMoleculePod(): void { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This method appears to be specific to the AnsibleDevFileAPI
test, whereas the KubernetesCommandLineToolsExecutor
class serves as a utility for common methods.
For the sake of consistency, I recommend either moving the waitRemovingMoleculePod()
method to the AnsibleDevFileAPI
test, or modifying this method to accept a pod name parameter waitRemovingPod(podName: string)
and then calling it from AnsibleDevFileAPI
.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It seems yes, need to fix up it.
Will do.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good job, @artaleks9
PR looks good to merge, with a non-critical notice.
What does this PR do?
'AnsibleDevFileAPI
E2E test toapi
set tests/tests/e2e/utils/KubernetesCommandLineToolsExecutor.ts
pageobjectScreenshot/screencast of this PR
What issues does this PR fix or reference?
How to test this PR?
AnsibleDevFileAPI
as ususallyhttps://jenkins-csb-crwqe-main.dno.corp.redhat.com/job/Testing/job/e2e/job/basic/job/api-tests/13150/console
PR Checklist
Trial launch on Jenkins using pecific branch:
https://jenkins-csb-crwqe-main.dno.corp.redhat.com/job/Testing/job/e2e/job/basic/job/api-tests/13150/console
As the author of this Pull Request I made sure that:
What issues does this PR fix or reference
andHow to test this PR
completedReviewers
Reviewers, please comment how you tested the PR when approving it.