-
Notifications
You must be signed in to change notification settings - Fork 2
Cleanup UI integration tests #2055
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
e7f0a9d
to
b955867
Compare
…nced outside of package
b955867
to
30be3f5
Compare
@@ -379,6 +380,113 @@ func verifyCapiClusterHealth(kubeconfigPath string, applications []Application) | |||
} | |||
} | |||
|
|||
// This function generates multiple template files from a single template to be used as test data | |||
func generateTestTemplates(templateCount int, templateFile string) (templateFiles []string, err error) { |
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.
Did we remove some of the template "go-templates" recently? 🤔
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.
Yes, Now we have number of types of gitopsTemplate. Almost all tests use unique templates to test rather than multiple copies of same test.
We still have support of generating multiple templates form the templated template.
There is still one test which generate 50 templates from one template. It is still supported.
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.
🧹 !
Great to go back and do some cleanup, thanks for making time for this.
* Deleted UI integration test directory * Deleted runner Describe from all specs * Delete all testrunner references and updated with standard function calls * Changed test-suite puplic functions to private as they are not referenced outside of package * Updated acceptance test lables because no more UI integration exclusion is needed
integration
labels as they are no longer required.Deploy: https://github.com/weaveworks/weave-gitops-enterprise/actions/runs/3658784672
Nightly: https://github.com/weaveworks/weave-gitops-enterprise/actions/runs/3659415510