name: "Fails when parent is not flattened (has parent)"

input:
  devworkspace:
    parent:
      kubernetes:
        name: test-parent-k8s
    components:
      - name: regular-component
        container:
          image: regular-test-image
          name: regular-container
  devworkspaceResources:
    test-parent-k8s:
      kind: DevWorkspaceTemplate
      apiVersion: workspace.devfile.io/v1alpha2
      metadata:
        name: parent-devworkspacetemplate
        annotations:
          "controller.devfile.io/allow-import-from": "*"
      spec:
        parent:
          id: another-parent
        components:
          - name: parent-component
            container:
              image: test-img
              env:
                - name: test-env
                  value: original-value

output:
  errRegexp: "parents containing plugins or parents are not supported"
