func deleteComponent(componentLookupKey types.NamespacedName) {
	// Delete
	Eventually(func() error {
		f := &appstudiov1alpha1.Component{}
		k8sClient.Get(ctx, componentLookupKey, f)
		return k8sClient.Delete(ctx, f)
	}, timeout, interval).Should(Succeed())

	// Wait for delete to finish
	Eventually(func() error {
		f := &appstudiov1alpha1.Component{}
		return k8sClient.Get(ctx, componentLookupKey, f)
	}, timeout, interval).ShouldNot(Succeed())
}
// deleteComponent deletes the specified component resource and verifies it was properly deleted
deleteComponent deletes the specified component resource and verifies it was properly deleted
// deleteComponent deletes the specified component resource and verifies it was properly deleted
func deleteComponent(componentLookupKey types.NamespacedName) {
	Eventually(func() error {
		f := &appstudiov1alpha1.Component{}
		k8sClient.Get(ctx, componentLookupKey, f)
		return k8sClient.Delete(ctx, f)
	}, timeout, interval).Should(Succeed())
	Eventually(func() error {
		f := &appstudiov1alpha1.Component{}
		return k8sClient.Get(ctx, componentLookupKey, f)
	}, timeout, interval).ShouldNot(Succeed())
}
func deleteComponent ( componentLookupKey types . NamespacedName ) { Eventually ( func ( ) error { f := & appstudiov1alpha1 . Component { } k8sClient . Get ( ctx , componentLookupKey , f ) return k8sClient . Delete ( ctx , f ) } , timeout , interval ) . Should ( Succeed ( ) ) Eventually ( func ( ) error { f := & appstudiov1alpha1 . Component { } return k8sClient . Get ( ctx , componentLookupKey , f ) } , timeout , interval ) . ShouldNot ( Succeed ( ) ) }
deleteComponent deletes the specified component resource and verifies it was properly deleted
deleteComponent deletes the specified component resource and verifies it was properly deleted
// Delete // Wait for delete to finish