// Jest Snapshot v1, https://goo.gl/fbAQLP

exports[`RemoveResourceModal test renders as expected 2 1`] = `
<BrowserRouter>
  <Router
    history={
      Object {
        "action": "POP",
        "block": [Function],
        "createHref": [Function],
        "go": [Function],
        "goBack": [Function],
        "goForward": [Function],
        "length": 1,
        "listen": [Function],
        "location": Object {
          "hash": "",
          "pathname": "/",
          "search": "",
          "state": undefined,
        },
        "push": [Function],
        "replace": [Function],
      }
    }
  >
    <withLocale(Connect(RemoveResourceModal))
      data={
        Object {
          "__typename": "Application",
          "_uid": "local-cluster/42d4c013-52b9-11ea-bf05-00000a102d26",
          "apiVersion": "app.k8s.io/v1beta1",
          "clusterCount": 0,
          "created": "2019-12-11T01:24:02Z",
          "dashboard": null,
          "hubSubscriptions": Array [],
          "kind": "Application",
          "name": "samplebook-gbap",
          "namespace": "sample",
          "selected": Array [
            Object {
              "id": "1",
            },
            Object {
              "id": 2,
            },
          ],
          "selfLink": "/apis/app.k8s.io/v1beta1/namespaces/sample/applications/samplebook-gbap",
        }
      }
      handleClose={[MockFunction]}
      handleSubmit={[MockFunction]}
      label={
        Object {
          "heading": "modal.remove-hcmapplication.heading",
          "label": "modal.remove-hcmapplication.label",
          "primaryBtn": "modal.remove-hcmapplication.heading",
        }
      }
      locale="en"
      open={true}
      resourceType={
        Object {
          "list": "HCMApplicationList",
          "name": "HCMApplication",
        }
      }
      store={
        Object {
          "dispatch": [Function],
          "getState": [Function],
          "replaceReducer": [Function],
          "subscribe": [Function],
          Symbol(observable): [Function],
        }
      }
    >
      <Connect(RemoveResourceModal)
        data={
          Object {
            "__typename": "Application",
            "_uid": "local-cluster/42d4c013-52b9-11ea-bf05-00000a102d26",
            "apiVersion": "app.k8s.io/v1beta1",
            "clusterCount": 0,
            "created": "2019-12-11T01:24:02Z",
            "dashboard": null,
            "hubSubscriptions": Array [],
            "kind": "Application",
            "name": "samplebook-gbap",
            "namespace": "sample",
            "selected": Array [
              Object {
                "id": "1",
              },
              Object {
                "id": 2,
              },
            ],
            "selfLink": "/apis/app.k8s.io/v1beta1/namespaces/sample/applications/samplebook-gbap",
          }
        }
        handleClose={[MockFunction]}
        handleSubmit={[MockFunction]}
        label={
          Object {
            "heading": "modal.remove-hcmapplication.heading",
            "label": "modal.remove-hcmapplication.label",
            "primaryBtn": "modal.remove-hcmapplication.heading",
          }
        }
        open={true}
        resourceType={
          Object {
            "list": "HCMApplicationList",
            "name": "HCMApplication",
          }
        }
        store={
          Object {
            "dispatch": [Function],
            "getState": [Function],
            "replaceReducer": [Function],
            "subscribe": [Function],
            Symbol(observable): [Function],
          }
        }
      >
        <RemoveResourceModal
          data={
            Object {
              "__typename": "Application",
              "_uid": "local-cluster/42d4c013-52b9-11ea-bf05-00000a102d26",
              "apiVersion": "app.k8s.io/v1beta1",
              "clusterCount": 0,
              "created": "2019-12-11T01:24:02Z",
              "dashboard": null,
              "hubSubscriptions": Array [],
              "kind": "Application",
              "name": "samplebook-gbap",
              "namespace": "sample",
              "selected": Array [
                Object {
                  "id": "1",
                },
                Object {
                  "id": 2,
                },
              ],
              "selfLink": "/apis/app.k8s.io/v1beta1/namespaces/sample/applications/samplebook-gbap",
            }
          }
          deleteSuccessFinished={[Function]}
          forceRefresh={[Function]}
          handleClose={[MockFunction]}
          handleSubmit={[MockFunction]}
          label={
            Object {
              "heading": "modal.remove-hcmapplication.heading",
              "label": "modal.remove-hcmapplication.label",
              "primaryBtn": "modal.remove-hcmapplication.heading",
            }
          }
          mutateSuccessFinished={[Function]}
          open={true}
          resourceType={
            Object {
              "list": "HCMApplicationList",
              "name": "HCMApplication",
            }
          }
          store={
            Object {
              "dispatch": [Function],
              "getState": [Function],
              "replaceReducer": [Function],
              "subscribe": [Function],
              Symbol(observable): [Function],
            }
          }
          storeSubscription={
            Subscription {
              "listeners": Object {
                "clear": [Function],
                "get": [Function],
                "notify": [Function],
                "subscribe": [Function],
              },
              "onStateChange": [Function],
              "parentSub": undefined,
              "store": Object {
                "dispatch": [Function],
                "getState": [Function],
                "replaceReducer": [Function],
                "subscribe": [Function],
                Symbol(observable): [Function],
              },
              "unsubscribe": [Function],
            }
          }
          submitDeleteSuccess={[Function]}
        >
          <div>
            <AcmModal
              actions={
                Array [
                  <Button
                    isDisabled={true}
                    onClick={[Function]}
                    variant="danger"
                  >
                    Delete application
                  </Button>,
                  <Button
                    onClick={[Function]}
                    variant="secondary"
                  >
                    Cancel
                  </Button>,
                ]
              }
              aria-label="Delete application"
              id="remove-resource-modal"
              isOpen={true}
              onClose={[Function]}
              position="top"
              positionOffset="200px"
              showClose={true}
              title="Delete application"
              variant="large"
            >
              <Modal
                actions={
                  Array [
                    <Button
                      isDisabled={true}
                      onClick={[Function]}
                      variant="danger"
                    >
                      Delete application
                    </Button>,
                    <Button
                      onClick={[Function]}
                      variant="secondary"
                    >
                      Cancel
                    </Button>,
                  ]
                }
                appendTo={[Function]}
                aria-describedby=""
                aria-label="Delete application"
                aria-labelledby=""
                className=""
                hasNoBodyWrapper={false}
                id="remove-resource-modal"
                isOpen={true}
                onClose={[Function]}
                ouiaSafe={true}
                position="top"
                positionOffset="200px"
                showClose={true}
                title="Delete application"
                titleIconVariant={null}
                titleLabel=""
                variant="large"
              >
                <Portal
                  containerInfo={
                    <div>
                      <div
                        class="pf-c-backdrop"
                      >
                        <div
                          class="pf-l-bullseye"
                        >
                          <div
                            aria-describedby="pf-modal-part-4"
                            aria-label="Delete application"
                            aria-labelledby="remove-resource-modal pf-modal-part-3"
                            aria-modal="true"
                            class="pf-c-modal-box pf-m-align-top pf-m-lg"
                            data-ouia-component-id="OUIA-Generated-Modal-large-3"
                            data-ouia-component-type="PF4/ModalContent"
                            data-ouia-safe="true"
                            id="remove-resource-modal"
                            role="dialog"
                          >
                            <button
                              aria-disabled="false"
                              aria-label="Close"
                              class="pf-c-button pf-m-plain"
                              data-ouia-component-id="OUIA-Generated-Button-plain-3"
                              data-ouia-component-type="PF4/Button"
                              data-ouia-safe="true"
                              type="button"
                            >
                              <svg
                                aria-hidden="true"
                                fill="currentColor"
                                height="1em"
                                role="img"
                                style="vertical-align: -0.125em;"
                                viewBox="0 0 352 512"
                                width="1em"
                              >
                                <path
                                  d="M242.72 256l100.07-100.07c12.28-12.28 12.28-32.19 0-44.48l-22.24-22.24c-12.28-12.28-32.19-12.28-44.48 0L176 189.28 75.93 89.21c-12.28-12.28-32.19-12.28-44.48 0L9.21 111.45c-12.28 12.28-12.28 32.19 0 44.48L109.28 256 9.21 356.07c-12.28 12.28-12.28 32.19 0 44.48l22.24 22.24c12.28 12.28 32.2 12.28 44.48 0L176 322.72l100.07 100.07c12.28 12.28 32.2 12.28 44.48 0l22.24-22.24c12.28-12.28 12.28-32.19 0-44.48L242.72 256z"
                                />
                              </svg>
                            </button>
                            <header
                              class="pf-c-modal-box__header"
                            >
                              <h1
                                class="pf-c-modal-box__title"
                                id="pf-modal-part-3"
                              >
                                
                                <span
                                  class="pf-c-modal-box__title-text"
                                >
                                  Delete application
                                </span>
                              </h1>
                            </header>
                            <div
                              class="pf-c-modal-box__body"
                              id="pf-modal-part-4"
                            >
                              <div
                                class="remove-app-modal-alert"
                              />
                              <div>
                                <section
                                  class="pf-c-page__main-section"
                                >
                                  <article
                                    class="pf-c-card"
                                    data-ouia-component-id="OUIA-Generated-Card-3"
                                    data-ouia-component-type="PF4/Card"
                                    data-ouia-safe="true"
                                  >
                                    <div
                                      class="pf-c-card__body"
                                    >
                                      <div
                                        class="pf-c-empty-state"
                                      >
                                        <div
                                          class="pf-c-empty-state__content"
                                        >
                                          <div
                                            class="pf-c-empty-state__icon"
                                          >
                                            <span
                                              aria-valuetext="Loading..."
                                              class="pf-c-spinner pf-m-xl"
                                              role="progressbar"
                                            >
                                              <span
                                                class="pf-c-spinner__clipper"
                                              />
                                              <span
                                                class="pf-c-spinner__lead-ball"
                                              />
                                              <span
                                                class="pf-c-spinner__tail-ball"
                                              />
                                            </span>
                                          </div>
                                          <h4
                                            class="pf-c-title pf-m-lg"
                                          >
                                            Loading
                                          </h4>
                                        </div>
                                      </div>
                                    </div>
                                  </article>
                                </section>
                              </div>
                            </div>
                            <footer
                              class="pf-c-modal-box__footer"
                            >
                              <button
                                aria-disabled="true"
                                class="pf-c-button pf-m-danger pf-m-disabled"
                                data-ouia-component-id="OUIA-Generated-Button-danger-3"
                                data-ouia-component-type="PF4/Button"
                                data-ouia-safe="true"
                                disabled=""
                                type="button"
                              >
                                Delete application
                              </button>
                              <button
                                aria-disabled="false"
                                class="pf-c-button pf-m-secondary"
                                data-ouia-component-id="OUIA-Generated-Button-secondary-3"
                                data-ouia-component-type="PF4/Button"
                                data-ouia-safe="true"
                                type="button"
                              >
                                Cancel
                              </button>
                            </footer>
                          </div>
                        </div>
                      </div>
                    </div>
                  }
                >
                  <ModalContent
                    actions={
                      Array [
                        <Button
                          isDisabled={true}
                          onClick={[Function]}
                          variant="danger"
                        >
                          Delete application
                        </Button>,
                        <Button
                          onClick={[Function]}
                          variant="secondary"
                        >
                          Cancel
                        </Button>,
                      ]
                    }
                    aria-describedby=""
                    aria-label="Delete application"
                    aria-labelledby=""
                    boxId="remove-resource-modal"
                    className=""
                    descriptorId="pf-modal-part-4"
                    hasNoBodyWrapper={false}
                    id="remove-resource-modal"
                    isOpen={true}
                    labelId="pf-modal-part-3"
                    onClose={[Function]}
                    ouiaId="OUIA-Generated-Modal-large-3"
                    ouiaSafe={true}
                    position="top"
                    positionOffset="200px"
                    showClose={true}
                    title="Delete application"
                    titleIconVariant={null}
                    titleLabel=""
                    variant="large"
                  >
                    <Backdrop>
                      <div
                        className="pf-c-backdrop"
                      >
                        <FocusTrap
                          active={true}
                          className="pf-l-bullseye"
                          focusTrapOptions={
                            Object {
                              "clickOutsideDeactivates": true,
                            }
                          }
                          paused={false}
                        >
                          <div
                            className="pf-l-bullseye"
                          >
                            <ModalBox
                              aria-describedby="pf-modal-part-4"
                              aria-label="Delete application"
                              aria-labelledby="remove-resource-modal pf-modal-part-3"
                              className=""
                              data-ouia-component-id="OUIA-Generated-Modal-large-3"
                              data-ouia-component-type="PF4/ModalContent"
                              data-ouia-safe={true}
                              id="remove-resource-modal"
                              position="top"
                              positionOffset="200px"
                              style={
                                Object {
                                  "--pf-c-modal-box--m-align-top--spacer": "200px",
                                }
                              }
                              variant="large"
                            >
                              <div
                                aria-describedby="pf-modal-part-4"
                                aria-label="Delete application"
                                aria-labelledby="remove-resource-modal pf-modal-part-3"
                                aria-modal="true"
                                className="pf-c-modal-box pf-m-align-top pf-m-lg"
                                data-ouia-component-id="OUIA-Generated-Modal-large-3"
                                data-ouia-component-type="PF4/ModalContent"
                                data-ouia-safe={true}
                                id="remove-resource-modal"
                                role="dialog"
                                style={
                                  Object {
                                    "--pf-c-modal-box--m-align-top--spacer": "200px",
                                  }
                                }
                              >
                                <ModalBoxCloseButton
                                  onClose={[Function]}
                                >
                                  <Button
                                    aria-label="Close"
                                    className=""
                                    onClick={[Function]}
                                    variant="plain"
                                  >
                                    <button
                                      aria-disabled={false}
                                      aria-label="Close"
                                      className="pf-c-button pf-m-plain"
                                      data-ouia-component-id="OUIA-Generated-Button-plain-3"
                                      data-ouia-component-type="PF4/Button"
                                      data-ouia-safe={true}
                                      disabled={false}
                                      onClick={[Function]}
                                      role={null}
                                      type="button"
                                    >
                                      <TimesIcon
                                        color="currentColor"
                                        noVerticalAlign={false}
                                        size="sm"
                                      >
                                        <svg
                                          aria-hidden={true}
                                          aria-labelledby={null}
                                          fill="currentColor"
                                          height="1em"
                                          role="img"
                                          style={
                                            Object {
                                              "verticalAlign": "-0.125em",
                                            }
                                          }
                                          viewBox="0 0 352 512"
                                          width="1em"
                                        >
                                          <path
                                            d="M242.72 256l100.07-100.07c12.28-12.28 12.28-32.19 0-44.48l-22.24-22.24c-12.28-12.28-32.19-12.28-44.48 0L176 189.28 75.93 89.21c-12.28-12.28-32.19-12.28-44.48 0L9.21 111.45c-12.28 12.28-12.28 32.19 0 44.48L109.28 256 9.21 356.07c-12.28 12.28-12.28 32.19 0 44.48l22.24 22.24c12.28 12.28 32.2 12.28 44.48 0L176 322.72l100.07 100.07c12.28 12.28 32.2 12.28 44.48 0l22.24-22.24c12.28-12.28 12.28-32.19 0-44.48L242.72 256z"
                                          />
                                        </svg>
                                      </TimesIcon>
                                    </button>
                                  </Button>
                                </ModalBoxCloseButton>
                                <ModalBoxHeader
                                  help={null}
                                >
                                  <header
                                    className="pf-c-modal-box__header"
                                  >
                                    <ModalBoxTitle
                                      id="pf-modal-part-3"
                                      title="Delete application"
                                      titleIconVariant={null}
                                      titleLabel=""
                                    >
                                      <h1
                                        className="pf-c-modal-box__title"
                                        id="pf-modal-part-3"
                                      >
                                        <span
                                          className="pf-c-modal-box__title-text"
                                        >
                                          Delete application
                                        </span>
                                      </h1>
                                    </ModalBoxTitle>
                                  </header>
                                </ModalBoxHeader>
                                <ModalBoxBody
                                  id="pf-modal-part-4"
                                >
                                  <div
                                    className="pf-c-modal-box__body"
                                    id="pf-modal-part-4"
                                  >
                                    <div
                                      className="remove-app-modal-alert"
                                    />
                                    <div>
                                      <AcmLoadingPage>
                                        <AcmPageCard>
                                          <PageSection>
                                            <section
                                              className="pf-c-page__main-section"
                                            >
                                              <Card>
                                                <article
                                                  className="pf-c-card"
                                                  data-ouia-component-id="OUIA-Generated-Card-3"
                                                  data-ouia-component-type="PF4/Card"
                                                  data-ouia-safe={true}
                                                >
                                                  <CardBody>
                                                    <div
                                                      className="pf-c-card__body"
                                                    >
                                                      <EmptyState>
                                                        <div
                                                          className="pf-c-empty-state"
                                                        >
                                                          <div
                                                            className="pf-c-empty-state__content"
                                                          >
                                                            <EmptyStateIcon
                                                              component={[Function]}
                                                              variant="container"
                                                            >
                                                              <div
                                                                className="pf-c-empty-state__icon"
                                                              >
                                                                <Spinner>
                                                                  <span
                                                                    aria-valuetext="Loading..."
                                                                    className="pf-c-spinner pf-m-xl"
                                                                    role="progressbar"
                                                                  >
                                                                    <span
                                                                      className="pf-c-spinner__clipper"
                                                                    />
                                                                    <span
                                                                      className="pf-c-spinner__lead-ball"
                                                                    />
                                                                    <span
                                                                      className="pf-c-spinner__tail-ball"
                                                                    />
                                                                  </span>
                                                                </Spinner>
                                                              </div>
                                                            </EmptyStateIcon>
                                                            <Title
                                                              headingLevel="h4"
                                                              size="lg"
                                                            >
                                                              <h4
                                                                className="pf-c-title pf-m-lg"
                                                              >
                                                                Loading
                                                              </h4>
                                                            </Title>
                                                          </div>
                                                        </div>
                                                      </EmptyState>
                                                    </div>
                                                  </CardBody>
                                                </article>
                                              </Card>
                                            </section>
                                          </PageSection>
                                        </AcmPageCard>
                                      </AcmLoadingPage>
                                    </div>
                                  </div>
                                </ModalBoxBody>
                                <ModalBoxFooter>
                                  <footer
                                    className="pf-c-modal-box__footer"
                                  >
                                    <Button
                                      isDisabled={true}
                                      key="confirm"
                                      onClick={[Function]}
                                      variant="danger"
                                    >
                                      <button
                                        aria-disabled={true}
                                        aria-label={null}
                                        className="pf-c-button pf-m-danger pf-m-disabled"
                                        data-ouia-component-id="OUIA-Generated-Button-danger-3"
                                        data-ouia-component-type="PF4/Button"
                                        data-ouia-safe={true}
                                        disabled={true}
                                        onClick={[Function]}
                                        role={null}
                                        tabIndex={null}
                                        type="button"
                                      >
                                        Delete application
                                      </button>
                                    </Button>
                                    <Button
                                      key="cancel"
                                      onClick={[Function]}
                                      variant="secondary"
                                    >
                                      <button
                                        aria-disabled={false}
                                        aria-label={null}
                                        className="pf-c-button pf-m-secondary"
                                        data-ouia-component-id="OUIA-Generated-Button-secondary-3"
                                        data-ouia-component-type="PF4/Button"
                                        data-ouia-safe={true}
                                        disabled={false}
                                        onClick={[Function]}
                                        role={null}
                                        type="button"
                                      >
                                        Cancel
                                      </button>
                                    </Button>
                                  </footer>
                                </ModalBoxFooter>
                              </div>
                            </ModalBox>
                          </div>
                        </FocusTrap>
                      </div>
                    </Backdrop>
                  </ModalContent>
                </Portal>
              </Modal>
            </AcmModal>
          </div>
        </RemoveResourceModal>
      </Connect(RemoveResourceModal)>
    </withLocale(Connect(RemoveResourceModal))>
  </Router>
</BrowserRouter>
`;

exports[`RemoveResourceModal test renders as expected child application with warning 1`] = `
<BrowserRouter>
  <Router
    history={
      Object {
        "action": "POP",
        "block": [Function],
        "createHref": [Function],
        "go": [Function],
        "goBack": [Function],
        "goForward": [Function],
        "length": 1,
        "listen": [Function],
        "location": Object {
          "hash": "",
          "pathname": "/",
          "search": "",
          "state": undefined,
        },
        "push": [Function],
        "replace": [Function],
      }
    }
  >
    <withLocale(Connect(RemoveResourceModal))
      data={
        Object {
          "apiVersion": "app.k8s.io/v1beta1",
          "kind": "Application",
          "name": "childApp",
          "namespace": "sample",
          "selfLink": "/apis/app.k8s.io/v1beta1/namespaces/sample/applications/childApp",
        }
      }
      handleClose={[MockFunction]}
      handleSubmit={[MockFunction]}
      label={
        Object {
          "heading": "modal.remove-hcmapplication.heading",
          "label": "modal.remove-hcmapplication.label",
          "primaryBtn": "modal.remove-hcmapplication.heading",
        }
      }
      locale="en"
      open={true}
      resourceType={
        Object {
          "list": "HCMApplicationList",
          "name": "HCMApplication",
        }
      }
      store={
        Object {
          "dispatch": [Function],
          "getState": [Function],
          "replaceReducer": [Function],
          "subscribe": [Function],
          Symbol(observable): [Function],
        }
      }
    >
      <Connect(RemoveResourceModal)
        data={
          Object {
            "apiVersion": "app.k8s.io/v1beta1",
            "kind": "Application",
            "name": "childApp",
            "namespace": "sample",
            "selfLink": "/apis/app.k8s.io/v1beta1/namespaces/sample/applications/childApp",
          }
        }
        handleClose={[MockFunction]}
        handleSubmit={[MockFunction]}
        label={
          Object {
            "heading": "modal.remove-hcmapplication.heading",
            "label": "modal.remove-hcmapplication.label",
            "primaryBtn": "modal.remove-hcmapplication.heading",
          }
        }
        open={true}
        resourceType={
          Object {
            "list": "HCMApplicationList",
            "name": "HCMApplication",
          }
        }
        store={
          Object {
            "dispatch": [Function],
            "getState": [Function],
            "replaceReducer": [Function],
            "subscribe": [Function],
            Symbol(observable): [Function],
          }
        }
      >
        <RemoveResourceModal
          data={
            Object {
              "apiVersion": "app.k8s.io/v1beta1",
              "kind": "Application",
              "name": "childApp",
              "namespace": "sample",
              "selfLink": "/apis/app.k8s.io/v1beta1/namespaces/sample/applications/childApp",
            }
          }
          deleteSuccessFinished={[Function]}
          forceRefresh={[Function]}
          handleClose={[MockFunction]}
          handleSubmit={[MockFunction]}
          label={
            Object {
              "heading": "modal.remove-hcmapplication.heading",
              "label": "modal.remove-hcmapplication.label",
              "primaryBtn": "modal.remove-hcmapplication.heading",
            }
          }
          mutateSuccessFinished={[Function]}
          open={true}
          resourceType={
            Object {
              "list": "HCMApplicationList",
              "name": "HCMApplication",
            }
          }
          store={
            Object {
              "dispatch": [Function],
              "getState": [Function],
              "replaceReducer": [Function],
              "subscribe": [Function],
              Symbol(observable): [Function],
            }
          }
          storeSubscription={
            Subscription {
              "listeners": Object {
                "clear": [Function],
                "get": [Function],
                "notify": [Function],
                "subscribe": [Function],
              },
              "onStateChange": [Function],
              "parentSub": undefined,
              "store": Object {
                "dispatch": [Function],
                "getState": [Function],
                "replaceReducer": [Function],
                "subscribe": [Function],
                Symbol(observable): [Function],
              },
              "unsubscribe": [Function],
            }
          }
          submitDeleteSuccess={[Function]}
        >
          <div>
            <AcmModal
              actions={
                Array [
                  <Button
                    isDisabled={true}
                    onClick={[Function]}
                    variant="danger"
                  >
                    Delete application
                  </Button>,
                  <Button
                    onClick={[Function]}
                    variant="secondary"
                  >
                    Cancel
                  </Button>,
                ]
              }
              aria-label="Delete application"
              id="remove-resource-modal"
              isOpen={true}
              onClose={[Function]}
              position="top"
              positionOffset="200px"
              showClose={true}
              title="Delete application"
              variant="large"
            >
              <Modal
                actions={
                  Array [
                    <Button
                      isDisabled={true}
                      onClick={[Function]}
                      variant="danger"
                    >
                      Delete application
                    </Button>,
                    <Button
                      onClick={[Function]}
                      variant="secondary"
                    >
                      Cancel
                    </Button>,
                  ]
                }
                appendTo={[Function]}
                aria-describedby=""
                aria-label="Delete application"
                aria-labelledby=""
                className=""
                hasNoBodyWrapper={false}
                id="remove-resource-modal"
                isOpen={true}
                onClose={[Function]}
                ouiaSafe={true}
                position="top"
                positionOffset="200px"
                showClose={true}
                title="Delete application"
                titleIconVariant={null}
                titleLabel=""
                variant="large"
              >
                <Portal
                  containerInfo={
                    <div>
                      <div
                        class="pf-c-backdrop"
                      >
                        <div
                          class="pf-l-bullseye"
                        >
                          <div
                            aria-describedby="pf-modal-part-6"
                            aria-label="Delete application"
                            aria-labelledby="remove-resource-modal pf-modal-part-5"
                            aria-modal="true"
                            class="pf-c-modal-box pf-m-align-top pf-m-lg"
                            data-ouia-component-id="OUIA-Generated-Modal-large-5"
                            data-ouia-component-type="PF4/ModalContent"
                            data-ouia-safe="true"
                            id="remove-resource-modal"
                            role="dialog"
                          >
                            <button
                              aria-disabled="false"
                              aria-label="Close"
                              class="pf-c-button pf-m-plain"
                              data-ouia-component-id="OUIA-Generated-Button-plain-5"
                              data-ouia-component-type="PF4/Button"
                              data-ouia-safe="true"
                              type="button"
                            >
                              <svg
                                aria-hidden="true"
                                fill="currentColor"
                                height="1em"
                                role="img"
                                style="vertical-align: -0.125em;"
                                viewBox="0 0 352 512"
                                width="1em"
                              >
                                <path
                                  d="M242.72 256l100.07-100.07c12.28-12.28 12.28-32.19 0-44.48l-22.24-22.24c-12.28-12.28-32.19-12.28-44.48 0L176 189.28 75.93 89.21c-12.28-12.28-32.19-12.28-44.48 0L9.21 111.45c-12.28 12.28-12.28 32.19 0 44.48L109.28 256 9.21 356.07c-12.28 12.28-12.28 32.19 0 44.48l22.24 22.24c12.28 12.28 32.2 12.28 44.48 0L176 322.72l100.07 100.07c12.28 12.28 32.2 12.28 44.48 0l22.24-22.24c12.28-12.28 12.28-32.19 0-44.48L242.72 256z"
                                />
                              </svg>
                            </button>
                            <header
                              class="pf-c-modal-box__header"
                            >
                              <h1
                                class="pf-c-modal-box__title"
                                id="pf-modal-part-5"
                              >
                                
                                <span
                                  class="pf-c-modal-box__title-text"
                                >
                                  Delete application
                                </span>
                              </h1>
                            </header>
                            <div
                              class="pf-c-modal-box__body"
                              id="pf-modal-part-6"
                            >
                              <div
                                class="remove-app-modal-alert"
                              />
                              <div>
                                <section
                                  class="pf-c-page__main-section"
                                >
                                  <article
                                    class="pf-c-card"
                                    data-ouia-component-id="OUIA-Generated-Card-5"
                                    data-ouia-component-type="PF4/Card"
                                    data-ouia-safe="true"
                                  >
                                    <div
                                      class="pf-c-card__body"
                                    >
                                      <div
                                        class="pf-c-empty-state"
                                      >
                                        <div
                                          class="pf-c-empty-state__content"
                                        >
                                          <div
                                            class="pf-c-empty-state__icon"
                                          >
                                            <span
                                              aria-valuetext="Loading..."
                                              class="pf-c-spinner pf-m-xl"
                                              role="progressbar"
                                            >
                                              <span
                                                class="pf-c-spinner__clipper"
                                              />
                                              <span
                                                class="pf-c-spinner__lead-ball"
                                              />
                                              <span
                                                class="pf-c-spinner__tail-ball"
                                              />
                                            </span>
                                          </div>
                                          <h4
                                            class="pf-c-title pf-m-lg"
                                          >
                                            Loading
                                          </h4>
                                        </div>
                                      </div>
                                    </div>
                                  </article>
                                </section>
                              </div>
                            </div>
                            <footer
                              class="pf-c-modal-box__footer"
                            >
                              <button
                                aria-disabled="true"
                                class="pf-c-button pf-m-danger pf-m-disabled"
                                data-ouia-component-id="OUIA-Generated-Button-danger-5"
                                data-ouia-component-type="PF4/Button"
                                data-ouia-safe="true"
                                disabled=""
                                type="button"
                              >
                                Delete application
                              </button>
                              <button
                                aria-disabled="false"
                                class="pf-c-button pf-m-secondary"
                                data-ouia-component-id="OUIA-Generated-Button-secondary-5"
                                data-ouia-component-type="PF4/Button"
                                data-ouia-safe="true"
                                type="button"
                              >
                                Cancel
                              </button>
                            </footer>
                          </div>
                        </div>
                      </div>
                    </div>
                  }
                >
                  <ModalContent
                    actions={
                      Array [
                        <Button
                          isDisabled={true}
                          onClick={[Function]}
                          variant="danger"
                        >
                          Delete application
                        </Button>,
                        <Button
                          onClick={[Function]}
                          variant="secondary"
                        >
                          Cancel
                        </Button>,
                      ]
                    }
                    aria-describedby=""
                    aria-label="Delete application"
                    aria-labelledby=""
                    boxId="remove-resource-modal"
                    className=""
                    descriptorId="pf-modal-part-6"
                    hasNoBodyWrapper={false}
                    id="remove-resource-modal"
                    isOpen={true}
                    labelId="pf-modal-part-5"
                    onClose={[Function]}
                    ouiaId="OUIA-Generated-Modal-large-5"
                    ouiaSafe={true}
                    position="top"
                    positionOffset="200px"
                    showClose={true}
                    title="Delete application"
                    titleIconVariant={null}
                    titleLabel=""
                    variant="large"
                  >
                    <Backdrop>
                      <div
                        className="pf-c-backdrop"
                      >
                        <FocusTrap
                          active={true}
                          className="pf-l-bullseye"
                          focusTrapOptions={
                            Object {
                              "clickOutsideDeactivates": true,
                            }
                          }
                          paused={false}
                        >
                          <div
                            className="pf-l-bullseye"
                          >
                            <ModalBox
                              aria-describedby="pf-modal-part-6"
                              aria-label="Delete application"
                              aria-labelledby="remove-resource-modal pf-modal-part-5"
                              className=""
                              data-ouia-component-id="OUIA-Generated-Modal-large-5"
                              data-ouia-component-type="PF4/ModalContent"
                              data-ouia-safe={true}
                              id="remove-resource-modal"
                              position="top"
                              positionOffset="200px"
                              style={
                                Object {
                                  "--pf-c-modal-box--m-align-top--spacer": "200px",
                                }
                              }
                              variant="large"
                            >
                              <div
                                aria-describedby="pf-modal-part-6"
                                aria-label="Delete application"
                                aria-labelledby="remove-resource-modal pf-modal-part-5"
                                aria-modal="true"
                                className="pf-c-modal-box pf-m-align-top pf-m-lg"
                                data-ouia-component-id="OUIA-Generated-Modal-large-5"
                                data-ouia-component-type="PF4/ModalContent"
                                data-ouia-safe={true}
                                id="remove-resource-modal"
                                role="dialog"
                                style={
                                  Object {
                                    "--pf-c-modal-box--m-align-top--spacer": "200px",
                                  }
                                }
                              >
                                <ModalBoxCloseButton
                                  onClose={[Function]}
                                >
                                  <Button
                                    aria-label="Close"
                                    className=""
                                    onClick={[Function]}
                                    variant="plain"
                                  >
                                    <button
                                      aria-disabled={false}
                                      aria-label="Close"
                                      className="pf-c-button pf-m-plain"
                                      data-ouia-component-id="OUIA-Generated-Button-plain-5"
                                      data-ouia-component-type="PF4/Button"
                                      data-ouia-safe={true}
                                      disabled={false}
                                      onClick={[Function]}
                                      role={null}
                                      type="button"
                                    >
                                      <TimesIcon
                                        color="currentColor"
                                        noVerticalAlign={false}
                                        size="sm"
                                      >
                                        <svg
                                          aria-hidden={true}
                                          aria-labelledby={null}
                                          fill="currentColor"
                                          height="1em"
                                          role="img"
                                          style={
                                            Object {
                                              "verticalAlign": "-0.125em",
                                            }
                                          }
                                          viewBox="0 0 352 512"
                                          width="1em"
                                        >
                                          <path
                                            d="M242.72 256l100.07-100.07c12.28-12.28 12.28-32.19 0-44.48l-22.24-22.24c-12.28-12.28-32.19-12.28-44.48 0L176 189.28 75.93 89.21c-12.28-12.28-32.19-12.28-44.48 0L9.21 111.45c-12.28 12.28-12.28 32.19 0 44.48L109.28 256 9.21 356.07c-12.28 12.28-12.28 32.19 0 44.48l22.24 22.24c12.28 12.28 32.2 12.28 44.48 0L176 322.72l100.07 100.07c12.28 12.28 32.2 12.28 44.48 0l22.24-22.24c12.28-12.28 12.28-32.19 0-44.48L242.72 256z"
                                          />
                                        </svg>
                                      </TimesIcon>
                                    </button>
                                  </Button>
                                </ModalBoxCloseButton>
                                <ModalBoxHeader
                                  help={null}
                                >
                                  <header
                                    className="pf-c-modal-box__header"
                                  >
                                    <ModalBoxTitle
                                      id="pf-modal-part-5"
                                      title="Delete application"
                                      titleIconVariant={null}
                                      titleLabel=""
                                    >
                                      <h1
                                        className="pf-c-modal-box__title"
                                        id="pf-modal-part-5"
                                      >
                                        <span
                                          className="pf-c-modal-box__title-text"
                                        >
                                          Delete application
                                        </span>
                                      </h1>
                                    </ModalBoxTitle>
                                  </header>
                                </ModalBoxHeader>
                                <ModalBoxBody
                                  id="pf-modal-part-6"
                                >
                                  <div
                                    className="pf-c-modal-box__body"
                                    id="pf-modal-part-6"
                                  >
                                    <div
                                      className="remove-app-modal-alert"
                                    />
                                    <div>
                                      <AcmLoadingPage>
                                        <AcmPageCard>
                                          <PageSection>
                                            <section
                                              className="pf-c-page__main-section"
                                            >
                                              <Card>
                                                <article
                                                  className="pf-c-card"
                                                  data-ouia-component-id="OUIA-Generated-Card-5"
                                                  data-ouia-component-type="PF4/Card"
                                                  data-ouia-safe={true}
                                                >
                                                  <CardBody>
                                                    <div
                                                      className="pf-c-card__body"
                                                    >
                                                      <EmptyState>
                                                        <div
                                                          className="pf-c-empty-state"
                                                        >
                                                          <div
                                                            className="pf-c-empty-state__content"
                                                          >
                                                            <EmptyStateIcon
                                                              component={[Function]}
                                                              variant="container"
                                                            >
                                                              <div
                                                                className="pf-c-empty-state__icon"
                                                              >
                                                                <Spinner>
                                                                  <span
                                                                    aria-valuetext="Loading..."
                                                                    className="pf-c-spinner pf-m-xl"
                                                                    role="progressbar"
                                                                  >
                                                                    <span
                                                                      className="pf-c-spinner__clipper"
                                                                    />
                                                                    <span
                                                                      className="pf-c-spinner__lead-ball"
                                                                    />
                                                                    <span
                                                                      className="pf-c-spinner__tail-ball"
                                                                    />
                                                                  </span>
                                                                </Spinner>
                                                              </div>
                                                            </EmptyStateIcon>
                                                            <Title
                                                              headingLevel="h4"
                                                              size="lg"
                                                            >
                                                              <h4
                                                                className="pf-c-title pf-m-lg"
                                                              >
                                                                Loading
                                                              </h4>
                                                            </Title>
                                                          </div>
                                                        </div>
                                                      </EmptyState>
                                                    </div>
                                                  </CardBody>
                                                </article>
                                              </Card>
                                            </section>
                                          </PageSection>
                                        </AcmPageCard>
                                      </AcmLoadingPage>
                                    </div>
                                  </div>
                                </ModalBoxBody>
                                <ModalBoxFooter>
                                  <footer
                                    className="pf-c-modal-box__footer"
                                  >
                                    <Button
                                      isDisabled={true}
                                      key="confirm"
                                      onClick={[Function]}
                                      variant="danger"
                                    >
                                      <button
                                        aria-disabled={true}
                                        aria-label={null}
                                        className="pf-c-button pf-m-danger pf-m-disabled"
                                        data-ouia-component-id="OUIA-Generated-Button-danger-5"
                                        data-ouia-component-type="PF4/Button"
                                        data-ouia-safe={true}
                                        disabled={true}
                                        onClick={[Function]}
                                        role={null}
                                        tabIndex={null}
                                        type="button"
                                      >
                                        Delete application
                                      </button>
                                    </Button>
                                    <Button
                                      key="cancel"
                                      onClick={[Function]}
                                      variant="secondary"
                                    >
                                      <button
                                        aria-disabled={false}
                                        aria-label={null}
                                        className="pf-c-button pf-m-secondary"
                                        data-ouia-component-id="OUIA-Generated-Button-secondary-5"
                                        data-ouia-component-type="PF4/Button"
                                        data-ouia-safe={true}
                                        disabled={false}
                                        onClick={[Function]}
                                        role={null}
                                        type="button"
                                      >
                                        Cancel
                                      </button>
                                    </Button>
                                  </footer>
                                </ModalBoxFooter>
                              </div>
                            </ModalBox>
                          </div>
                        </FocusTrap>
                      </div>
                    </Backdrop>
                  </ModalContent>
                </Portal>
              </Modal>
            </AcmModal>
          </div>
        </RemoveResourceModal>
      </Connect(RemoveResourceModal)>
    </withLocale(Connect(RemoveResourceModal))>
  </Router>
</BrowserRouter>
`;

exports[`RemoveResourceModal test renders as expected dummy 1`] = `
<BrowserRouter>
  <Router
    history={
      Object {
        "action": "POP",
        "block": [Function],
        "createHref": [Function],
        "go": [Function],
        "goBack": [Function],
        "goForward": [Function],
        "length": 1,
        "listen": [Function],
        "location": Object {
          "hash": "",
          "pathname": "/",
          "search": "",
          "state": undefined,
        },
        "push": [Function],
        "replace": [Function],
      }
    }
  >
    <withLocale(Connect(RemoveResourceModal))
      data={
        Object {
          "__typename": "Application",
          "_uid": "local-cluster/42d4c013-52b9-11ea-bf05-00000a102d26",
          "apiVersion": "app.k8s.io/v1beta1",
          "clusterCount": 0,
          "created": "2019-12-11T01:24:02Z",
          "dashboard": null,
          "hubSubscriptions": Array [],
          "kind": "Application",
          "metadata": Object {
            "name": "samplebook-gbap",
            "namespace": "sample",
            "selfLink": "/apis/app.k8s.io/v1beta1/namespaces/sample/applications/samplebook-gbap",
          },
          "name": "samplebook-gbap",
          "namespace": "sample",
          "selfLink": "/apis/app.k8s.io/v1beta1/namespaces/sample/applications/samplebook-gbap",
        }
      }
      handleClose={[MockFunction]}
      handleSubmit={[MockFunction]}
      label={
        Object {
          "heading": "modal.remove-hcmpolicy.heading",
          "label": "modal.remove-hcmpolicy.label",
          "primaryBtn": "modal.remove-hcmpolicy.heading",
        }
      }
      locale="en"
      open={true}
      resourceType={
        Object {
          "list": "HCMApplicationList",
          "name": "HCMApplication",
        }
      }
      store={
        Object {
          "dispatch": [Function],
          "getState": [Function],
          "replaceReducer": [Function],
          "subscribe": [Function],
          Symbol(observable): [Function],
        }
      }
    >
      <Connect(RemoveResourceModal)
        data={
          Object {
            "__typename": "Application",
            "_uid": "local-cluster/42d4c013-52b9-11ea-bf05-00000a102d26",
            "apiVersion": "app.k8s.io/v1beta1",
            "clusterCount": 0,
            "created": "2019-12-11T01:24:02Z",
            "dashboard": null,
            "hubSubscriptions": Array [],
            "kind": "Application",
            "metadata": Object {
              "name": "samplebook-gbap",
              "namespace": "sample",
              "selfLink": "/apis/app.k8s.io/v1beta1/namespaces/sample/applications/samplebook-gbap",
            },
            "name": "samplebook-gbap",
            "namespace": "sample",
            "selfLink": "/apis/app.k8s.io/v1beta1/namespaces/sample/applications/samplebook-gbap",
          }
        }
        handleClose={[MockFunction]}
        handleSubmit={[MockFunction]}
        label={
          Object {
            "heading": "modal.remove-hcmpolicy.heading",
            "label": "modal.remove-hcmpolicy.label",
            "primaryBtn": "modal.remove-hcmpolicy.heading",
          }
        }
        open={true}
        resourceType={
          Object {
            "list": "HCMApplicationList",
            "name": "HCMApplication",
          }
        }
        store={
          Object {
            "dispatch": [Function],
            "getState": [Function],
            "replaceReducer": [Function],
            "subscribe": [Function],
            Symbol(observable): [Function],
          }
        }
      >
        <RemoveResourceModal
          data={
            Object {
              "__typename": "Application",
              "_uid": "local-cluster/42d4c013-52b9-11ea-bf05-00000a102d26",
              "apiVersion": "app.k8s.io/v1beta1",
              "clusterCount": 0,
              "created": "2019-12-11T01:24:02Z",
              "dashboard": null,
              "hubSubscriptions": Array [],
              "kind": "Application",
              "metadata": Object {
                "name": "samplebook-gbap",
                "namespace": "sample",
                "selfLink": "/apis/app.k8s.io/v1beta1/namespaces/sample/applications/samplebook-gbap",
              },
              "name": "samplebook-gbap",
              "namespace": "sample",
              "selfLink": "/apis/app.k8s.io/v1beta1/namespaces/sample/applications/samplebook-gbap",
            }
          }
          deleteSuccessFinished={[Function]}
          forceRefresh={[Function]}
          handleClose={[MockFunction]}
          handleSubmit={[MockFunction]}
          label={
            Object {
              "heading": "modal.remove-hcmpolicy.heading",
              "label": "modal.remove-hcmpolicy.label",
              "primaryBtn": "modal.remove-hcmpolicy.heading",
            }
          }
          mutateSuccessFinished={[Function]}
          open={true}
          resourceType={
            Object {
              "list": "HCMApplicationList",
              "name": "HCMApplication",
            }
          }
          store={
            Object {
              "dispatch": [Function],
              "getState": [Function],
              "replaceReducer": [Function],
              "subscribe": [Function],
              Symbol(observable): [Function],
            }
          }
          storeSubscription={
            Subscription {
              "listeners": Object {
                "clear": [Function],
                "get": [Function],
                "notify": [Function],
                "subscribe": [Function],
              },
              "onStateChange": [Function],
              "parentSub": undefined,
              "store": Object {
                "dispatch": [Function],
                "getState": [Function],
                "replaceReducer": [Function],
                "subscribe": [Function],
                Symbol(observable): [Function],
              },
              "unsubscribe": [Function],
            }
          }
          submitDeleteSuccess={[Function]}
        >
          <div>
            <AcmModal
              actions={
                Array [
                  <Button
                    isDisabled={true}
                    onClick={[Function]}
                    variant="danger"
                  />,
                  <Button
                    onClick={[Function]}
                    variant="secondary"
                  >
                    Cancel
                  </Button>,
                ]
              }
              id="remove-resource-modal"
              isOpen={true}
              onClose={[Function]}
              position="top"
              positionOffset="200px"
              showClose={true}
              variant="large"
            >
              <Modal
                actions={
                  Array [
                    <Button
                      isDisabled={true}
                      onClick={[Function]}
                      variant="danger"
                    />,
                    <Button
                      onClick={[Function]}
                      variant="secondary"
                    >
                      Cancel
                    </Button>,
                  ]
                }
                appendTo={[Function]}
                aria-describedby=""
                aria-label=""
                aria-labelledby=""
                className=""
                hasNoBodyWrapper={false}
                id="remove-resource-modal"
                isOpen={true}
                onClose={[Function]}
                ouiaSafe={true}
                position="top"
                positionOffset="200px"
                showClose={true}
                title=""
                titleIconVariant={null}
                titleLabel=""
                variant="large"
              >
                <Portal
                  containerInfo={
                    <div>
                      <div
                        class="pf-c-backdrop"
                      >
                        <div
                          class="pf-l-bullseye"
                        >
                          <div
                            aria-describedby="pf-modal-part-5"
                            aria-modal="true"
                            class="pf-c-modal-box pf-m-align-top pf-m-lg"
                            data-ouia-component-id="OUIA-Generated-Modal-large-4"
                            data-ouia-component-type="PF4/ModalContent"
                            data-ouia-safe="true"
                            id="remove-resource-modal"
                            role="dialog"
                          >
                            <button
                              aria-disabled="false"
                              aria-label="Close"
                              class="pf-c-button pf-m-plain"
                              data-ouia-component-id="OUIA-Generated-Button-plain-4"
                              data-ouia-component-type="PF4/Button"
                              data-ouia-safe="true"
                              type="button"
                            >
                              <svg
                                aria-hidden="true"
                                fill="currentColor"
                                height="1em"
                                role="img"
                                style="vertical-align: -0.125em;"
                                viewBox="0 0 352 512"
                                width="1em"
                              >
                                <path
                                  d="M242.72 256l100.07-100.07c12.28-12.28 12.28-32.19 0-44.48l-22.24-22.24c-12.28-12.28-32.19-12.28-44.48 0L176 189.28 75.93 89.21c-12.28-12.28-32.19-12.28-44.48 0L9.21 111.45c-12.28 12.28-12.28 32.19 0 44.48L109.28 256 9.21 356.07c-12.28 12.28-12.28 32.19 0 44.48l22.24 22.24c12.28 12.28 32.2 12.28 44.48 0L176 322.72l100.07 100.07c12.28 12.28 32.2 12.28 44.48 0l22.24-22.24c12.28-12.28 12.28-32.19 0-44.48L242.72 256z"
                                />
                              </svg>
                            </button>
                            
                            <div
                              class="pf-c-modal-box__body"
                              id="pf-modal-part-5"
                            >
                              <div
                                class="remove-app-modal-alert"
                              />
                              <div>
                                <section
                                  class="pf-c-page__main-section"
                                >
                                  <article
                                    class="pf-c-card"
                                    data-ouia-component-id="OUIA-Generated-Card-4"
                                    data-ouia-component-type="PF4/Card"
                                    data-ouia-safe="true"
                                  >
                                    <div
                                      class="pf-c-card__body"
                                    >
                                      <div
                                        class="pf-c-empty-state"
                                      >
                                        <div
                                          class="pf-c-empty-state__content"
                                        >
                                          <div
                                            class="pf-c-empty-state__icon"
                                          >
                                            <span
                                              aria-valuetext="Loading..."
                                              class="pf-c-spinner pf-m-xl"
                                              role="progressbar"
                                            >
                                              <span
                                                class="pf-c-spinner__clipper"
                                              />
                                              <span
                                                class="pf-c-spinner__lead-ball"
                                              />
                                              <span
                                                class="pf-c-spinner__tail-ball"
                                              />
                                            </span>
                                          </div>
                                          <h4
                                            class="pf-c-title pf-m-lg"
                                          >
                                            Loading
                                          </h4>
                                        </div>
                                      </div>
                                    </div>
                                  </article>
                                </section>
                              </div>
                            </div>
                            <footer
                              class="pf-c-modal-box__footer"
                            >
                              <button
                                aria-disabled="true"
                                class="pf-c-button pf-m-danger pf-m-disabled"
                                data-ouia-component-id="OUIA-Generated-Button-danger-4"
                                data-ouia-component-type="PF4/Button"
                                data-ouia-safe="true"
                                disabled=""
                                type="button"
                              />
                              <button
                                aria-disabled="false"
                                class="pf-c-button pf-m-secondary"
                                data-ouia-component-id="OUIA-Generated-Button-secondary-4"
                                data-ouia-component-type="PF4/Button"
                                data-ouia-safe="true"
                                type="button"
                              >
                                Cancel
                              </button>
                            </footer>
                          </div>
                        </div>
                      </div>
                    </div>
                  }
                >
                  <ModalContent
                    actions={
                      Array [
                        <Button
                          isDisabled={true}
                          onClick={[Function]}
                          variant="danger"
                        />,
                        <Button
                          onClick={[Function]}
                          variant="secondary"
                        >
                          Cancel
                        </Button>,
                      ]
                    }
                    aria-describedby=""
                    aria-label=""
                    aria-labelledby=""
                    boxId="remove-resource-modal"
                    className=""
                    descriptorId="pf-modal-part-5"
                    hasNoBodyWrapper={false}
                    id="remove-resource-modal"
                    isOpen={true}
                    labelId="pf-modal-part-4"
                    onClose={[Function]}
                    ouiaId="OUIA-Generated-Modal-large-4"
                    ouiaSafe={true}
                    position="top"
                    positionOffset="200px"
                    showClose={true}
                    title=""
                    titleIconVariant={null}
                    titleLabel=""
                    variant="large"
                  >
                    <Backdrop>
                      <div
                        className="pf-c-backdrop"
                      >
                        <FocusTrap
                          active={true}
                          className="pf-l-bullseye"
                          focusTrapOptions={
                            Object {
                              "clickOutsideDeactivates": true,
                            }
                          }
                          paused={false}
                        >
                          <div
                            className="pf-l-bullseye"
                          >
                            <ModalBox
                              aria-describedby="pf-modal-part-5"
                              aria-label=""
                              aria-labelledby=""
                              className=""
                              data-ouia-component-id="OUIA-Generated-Modal-large-4"
                              data-ouia-component-type="PF4/ModalContent"
                              data-ouia-safe={true}
                              id="remove-resource-modal"
                              position="top"
                              positionOffset="200px"
                              style={
                                Object {
                                  "--pf-c-modal-box--m-align-top--spacer": "200px",
                                }
                              }
                              variant="large"
                            >
                              <div
                                aria-describedby="pf-modal-part-5"
                                aria-label={null}
                                aria-labelledby={null}
                                aria-modal="true"
                                className="pf-c-modal-box pf-m-align-top pf-m-lg"
                                data-ouia-component-id="OUIA-Generated-Modal-large-4"
                                data-ouia-component-type="PF4/ModalContent"
                                data-ouia-safe={true}
                                id="remove-resource-modal"
                                role="dialog"
                                style={
                                  Object {
                                    "--pf-c-modal-box--m-align-top--spacer": "200px",
                                  }
                                }
                              >
                                <ModalBoxCloseButton
                                  onClose={[Function]}
                                >
                                  <Button
                                    aria-label="Close"
                                    className=""
                                    onClick={[Function]}
                                    variant="plain"
                                  >
                                    <button
                                      aria-disabled={false}
                                      aria-label="Close"
                                      className="pf-c-button pf-m-plain"
                                      data-ouia-component-id="OUIA-Generated-Button-plain-4"
                                      data-ouia-component-type="PF4/Button"
                                      data-ouia-safe={true}
                                      disabled={false}
                                      onClick={[Function]}
                                      role={null}
                                      type="button"
                                    >
                                      <TimesIcon
                                        color="currentColor"
                                        noVerticalAlign={false}
                                        size="sm"
                                      >
                                        <svg
                                          aria-hidden={true}
                                          aria-labelledby={null}
                                          fill="currentColor"
                                          height="1em"
                                          role="img"
                                          style={
                                            Object {
                                              "verticalAlign": "-0.125em",
                                            }
                                          }
                                          viewBox="0 0 352 512"
                                          width="1em"
                                        >
                                          <path
                                            d="M242.72 256l100.07-100.07c12.28-12.28 12.28-32.19 0-44.48l-22.24-22.24c-12.28-12.28-32.19-12.28-44.48 0L176 189.28 75.93 89.21c-12.28-12.28-32.19-12.28-44.48 0L9.21 111.45c-12.28 12.28-12.28 32.19 0 44.48L109.28 256 9.21 356.07c-12.28 12.28-12.28 32.19 0 44.48l22.24 22.24c12.28 12.28 32.2 12.28 44.48 0L176 322.72l100.07 100.07c12.28 12.28 32.2 12.28 44.48 0l22.24-22.24c12.28-12.28 12.28-32.19 0-44.48L242.72 256z"
                                          />
                                        </svg>
                                      </TimesIcon>
                                    </button>
                                  </Button>
                                </ModalBoxCloseButton>
                                <ModalBoxBody
                                  id="pf-modal-part-5"
                                >
                                  <div
                                    className="pf-c-modal-box__body"
                                    id="pf-modal-part-5"
                                  >
                                    <div
                                      className="remove-app-modal-alert"
                                    />
                                    <div>
                                      <AcmLoadingPage>
                                        <AcmPageCard>
                                          <PageSection>
                                            <section
                                              className="pf-c-page__main-section"
                                            >
                                              <Card>
                                                <article
                                                  className="pf-c-card"
                                                  data-ouia-component-id="OUIA-Generated-Card-4"
                                                  data-ouia-component-type="PF4/Card"
                                                  data-ouia-safe={true}
                                                >
                                                  <CardBody>
                                                    <div
                                                      className="pf-c-card__body"
                                                    >
                                                      <EmptyState>
                                                        <div
                                                          className="pf-c-empty-state"
                                                        >
                                                          <div
                                                            className="pf-c-empty-state__content"
                                                          >
                                                            <EmptyStateIcon
                                                              component={[Function]}
                                                              variant="container"
                                                            >
                                                              <div
                                                                className="pf-c-empty-state__icon"
                                                              >
                                                                <Spinner>
                                                                  <span
                                                                    aria-valuetext="Loading..."
                                                                    className="pf-c-spinner pf-m-xl"
                                                                    role="progressbar"
                                                                  >
                                                                    <span
                                                                      className="pf-c-spinner__clipper"
                                                                    />
                                                                    <span
                                                                      className="pf-c-spinner__lead-ball"
                                                                    />
                                                                    <span
                                                                      className="pf-c-spinner__tail-ball"
                                                                    />
                                                                  </span>
                                                                </Spinner>
                                                              </div>
                                                            </EmptyStateIcon>
                                                            <Title
                                                              headingLevel="h4"
                                                              size="lg"
                                                            >
                                                              <h4
                                                                className="pf-c-title pf-m-lg"
                                                              >
                                                                Loading
                                                              </h4>
                                                            </Title>
                                                          </div>
                                                        </div>
                                                      </EmptyState>
                                                    </div>
                                                  </CardBody>
                                                </article>
                                              </Card>
                                            </section>
                                          </PageSection>
                                        </AcmPageCard>
                                      </AcmLoadingPage>
                                    </div>
                                  </div>
                                </ModalBoxBody>
                                <ModalBoxFooter>
                                  <footer
                                    className="pf-c-modal-box__footer"
                                  >
                                    <Button
                                      isDisabled={true}
                                      key="confirm"
                                      onClick={[Function]}
                                      variant="danger"
                                    >
                                      <button
                                        aria-disabled={true}
                                        aria-label={null}
                                        className="pf-c-button pf-m-danger pf-m-disabled"
                                        data-ouia-component-id="OUIA-Generated-Button-danger-4"
                                        data-ouia-component-type="PF4/Button"
                                        data-ouia-safe={true}
                                        disabled={true}
                                        onClick={[Function]}
                                        role={null}
                                        tabIndex={null}
                                        type="button"
                                      />
                                    </Button>
                                    <Button
                                      key="cancel"
                                      onClick={[Function]}
                                      variant="secondary"
                                    >
                                      <button
                                        aria-disabled={false}
                                        aria-label={null}
                                        className="pf-c-button pf-m-secondary"
                                        data-ouia-component-id="OUIA-Generated-Button-secondary-4"
                                        data-ouia-component-type="PF4/Button"
                                        data-ouia-safe={true}
                                        disabled={false}
                                        onClick={[Function]}
                                        role={null}
                                        type="button"
                                      >
                                        Cancel
                                      </button>
                                    </Button>
                                  </footer>
                                </ModalBoxFooter>
                              </div>
                            </ModalBox>
                          </div>
                        </FocusTrap>
                      </div>
                    </Backdrop>
                  </ModalContent>
                </Portal>
              </Modal>
            </AcmModal>
          </div>
        </RemoveResourceModal>
      </Connect(RemoveResourceModal)>
    </withLocale(Connect(RemoveResourceModal))>
  </Router>
</BrowserRouter>
`;

exports[`RemoveResourceModal test renders as expected for simple application with removable subscription and placementrule 1`] = `
<BrowserRouter>
  <Router
    history={
      Object {
        "action": "POP",
        "block": [Function],
        "createHref": [Function],
        "go": [Function],
        "goBack": [Function],
        "goForward": [Function],
        "length": 1,
        "listen": [Function],
        "location": Object {
          "hash": "",
          "pathname": "/",
          "search": "",
          "state": undefined,
        },
        "push": [Function],
        "replace": [Function],
      }
    }
  >
    <withLocale(Connect(RemoveResourceModal))
      data={
        Object {
          "__typename": "ModalData",
          "_uid": "local-cluster/7e2f0485-9109-4d39-b25b-529c57c20b0a",
          "apiVersion": "app.k8s.io/v1beta1",
          "kind": "Application",
          "name": "helloworld-simple-ns",
          "namespace": "helloworld-simple-ns",
        }
      }
      handleClose={[MockFunction]}
      handleSubmit={[MockFunction]}
      label={
        Object {
          "heading": "modal.remove-hcmapplication.heading",
          "label": "modal.remove-hcmapplication.label",
          "primaryBtn": "modal.remove-hcmapplication.heading",
        }
      }
      locale="en"
      open={true}
      resourceType={
        Object {
          "list": "HCMApplicationList",
          "name": "HCMApplication",
        }
      }
      store={
        Object {
          "dispatch": [Function],
          "getState": [Function],
          "replaceReducer": [Function],
          "subscribe": [Function],
          Symbol(observable): [Function],
        }
      }
    >
      <Connect(RemoveResourceModal)
        data={
          Object {
            "__typename": "ModalData",
            "_uid": "local-cluster/7e2f0485-9109-4d39-b25b-529c57c20b0a",
            "apiVersion": "app.k8s.io/v1beta1",
            "kind": "Application",
            "name": "helloworld-simple-ns",
            "namespace": "helloworld-simple-ns",
          }
        }
        handleClose={[MockFunction]}
        handleSubmit={[MockFunction]}
        label={
          Object {
            "heading": "modal.remove-hcmapplication.heading",
            "label": "modal.remove-hcmapplication.label",
            "primaryBtn": "modal.remove-hcmapplication.heading",
          }
        }
        open={true}
        resourceType={
          Object {
            "list": "HCMApplicationList",
            "name": "HCMApplication",
          }
        }
        store={
          Object {
            "dispatch": [Function],
            "getState": [Function],
            "replaceReducer": [Function],
            "subscribe": [Function],
            Symbol(observable): [Function],
          }
        }
      >
        <RemoveResourceModal
          data={
            Object {
              "__typename": "ModalData",
              "_uid": "local-cluster/7e2f0485-9109-4d39-b25b-529c57c20b0a",
              "apiVersion": "app.k8s.io/v1beta1",
              "kind": "Application",
              "name": "helloworld-simple-ns",
              "namespace": "helloworld-simple-ns",
            }
          }
          deleteSuccessFinished={[Function]}
          forceRefresh={[Function]}
          handleClose={[MockFunction]}
          handleSubmit={[MockFunction]}
          label={
            Object {
              "heading": "modal.remove-hcmapplication.heading",
              "label": "modal.remove-hcmapplication.label",
              "primaryBtn": "modal.remove-hcmapplication.heading",
            }
          }
          mutateSuccessFinished={[Function]}
          open={true}
          resourceType={
            Object {
              "list": "HCMApplicationList",
              "name": "HCMApplication",
            }
          }
          store={
            Object {
              "dispatch": [Function],
              "getState": [Function],
              "replaceReducer": [Function],
              "subscribe": [Function],
              Symbol(observable): [Function],
            }
          }
          storeSubscription={
            Subscription {
              "listeners": Object {
                "clear": [Function],
                "get": [Function],
                "notify": [Function],
                "subscribe": [Function],
              },
              "onStateChange": [Function],
              "parentSub": undefined,
              "store": Object {
                "dispatch": [Function],
                "getState": [Function],
                "replaceReducer": [Function],
                "subscribe": [Function],
                Symbol(observable): [Function],
              },
              "unsubscribe": [Function],
            }
          }
          submitDeleteSuccess={[Function]}
        >
          <div>
            <AcmModal
              actions={
                Array [
                  <Button
                    isDisabled={true}
                    onClick={[Function]}
                    variant="danger"
                  >
                    Delete application
                  </Button>,
                  <Button
                    onClick={[Function]}
                    variant="secondary"
                  >
                    Cancel
                  </Button>,
                ]
              }
              aria-label="Delete application"
              id="remove-resource-modal"
              isOpen={true}
              onClose={[Function]}
              position="top"
              positionOffset="200px"
              showClose={true}
              title="Delete application"
              variant="large"
            >
              <Modal
                actions={
                  Array [
                    <Button
                      isDisabled={true}
                      onClick={[Function]}
                      variant="danger"
                    >
                      Delete application
                    </Button>,
                    <Button
                      onClick={[Function]}
                      variant="secondary"
                    >
                      Cancel
                    </Button>,
                  ]
                }
                appendTo={[Function]}
                aria-describedby=""
                aria-label="Delete application"
                aria-labelledby=""
                className=""
                hasNoBodyWrapper={false}
                id="remove-resource-modal"
                isOpen={true}
                onClose={[Function]}
                ouiaSafe={true}
                position="top"
                positionOffset="200px"
                showClose={true}
                title="Delete application"
                titleIconVariant={null}
                titleLabel=""
                variant="large"
              >
                <Portal
                  containerInfo={
                    <div>
                      <div
                        class="pf-c-backdrop"
                      >
                        <div
                          class="pf-l-bullseye"
                        >
                          <div
                            aria-describedby="pf-modal-part-8"
                            aria-label="Delete application"
                            aria-labelledby="remove-resource-modal pf-modal-part-7"
                            aria-modal="true"
                            class="pf-c-modal-box pf-m-align-top pf-m-lg"
                            data-ouia-component-id="OUIA-Generated-Modal-large-7"
                            data-ouia-component-type="PF4/ModalContent"
                            data-ouia-safe="true"
                            id="remove-resource-modal"
                            role="dialog"
                          >
                            <button
                              aria-disabled="false"
                              aria-label="Close"
                              class="pf-c-button pf-m-plain"
                              data-ouia-component-id="OUIA-Generated-Button-plain-8"
                              data-ouia-component-type="PF4/Button"
                              data-ouia-safe="true"
                              type="button"
                            >
                              <svg
                                aria-hidden="true"
                                fill="currentColor"
                                height="1em"
                                role="img"
                                style="vertical-align: -0.125em;"
                                viewBox="0 0 352 512"
                                width="1em"
                              >
                                <path
                                  d="M242.72 256l100.07-100.07c12.28-12.28 12.28-32.19 0-44.48l-22.24-22.24c-12.28-12.28-32.19-12.28-44.48 0L176 189.28 75.93 89.21c-12.28-12.28-32.19-12.28-44.48 0L9.21 111.45c-12.28 12.28-12.28 32.19 0 44.48L109.28 256 9.21 356.07c-12.28 12.28-12.28 32.19 0 44.48l22.24 22.24c12.28 12.28 32.2 12.28 44.48 0L176 322.72l100.07 100.07c12.28 12.28 32.2 12.28 44.48 0l22.24-22.24c12.28-12.28 12.28-32.19 0-44.48L242.72 256z"
                                />
                              </svg>
                            </button>
                            <header
                              class="pf-c-modal-box__header"
                            >
                              <h1
                                class="pf-c-modal-box__title"
                                id="pf-modal-part-7"
                              >
                                
                                <span
                                  class="pf-c-modal-box__title-text"
                                >
                                  Delete application
                                </span>
                              </h1>
                            </header>
                            <div
                              class="pf-c-modal-box__body"
                              id="pf-modal-part-8"
                            >
                              <div
                                class="remove-app-modal-alert"
                              />
                              <div>
                                <section
                                  class="pf-c-page__main-section"
                                >
                                  <article
                                    class="pf-c-card"
                                    data-ouia-component-id="OUIA-Generated-Card-7"
                                    data-ouia-component-type="PF4/Card"
                                    data-ouia-safe="true"
                                  >
                                    <div
                                      class="pf-c-card__body"
                                    >
                                      <div
                                        class="pf-c-empty-state"
                                      >
                                        <div
                                          class="pf-c-empty-state__content"
                                        >
                                          <div
                                            class="pf-c-empty-state__icon"
                                          >
                                            <span
                                              aria-valuetext="Loading..."
                                              class="pf-c-spinner pf-m-xl"
                                              role="progressbar"
                                            >
                                              <span
                                                class="pf-c-spinner__clipper"
                                              />
                                              <span
                                                class="pf-c-spinner__lead-ball"
                                              />
                                              <span
                                                class="pf-c-spinner__tail-ball"
                                              />
                                            </span>
                                          </div>
                                          <h4
                                            class="pf-c-title pf-m-lg"
                                          >
                                            Loading
                                          </h4>
                                        </div>
                                      </div>
                                    </div>
                                  </article>
                                </section>
                              </div>
                            </div>
                            <footer
                              class="pf-c-modal-box__footer"
                            >
                              <button
                                aria-disabled="true"
                                class="pf-c-button pf-m-danger pf-m-disabled"
                                data-ouia-component-id="OUIA-Generated-Button-danger-7"
                                data-ouia-component-type="PF4/Button"
                                data-ouia-safe="true"
                                disabled=""
                                type="button"
                              >
                                Delete application
                              </button>
                              <button
                                aria-disabled="false"
                                class="pf-c-button pf-m-secondary"
                                data-ouia-component-id="OUIA-Generated-Button-secondary-7"
                                data-ouia-component-type="PF4/Button"
                                data-ouia-safe="true"
                                type="button"
                              >
                                Cancel
                              </button>
                            </footer>
                          </div>
                        </div>
                      </div>
                    </div>
                  }
                >
                  <ModalContent
                    actions={
                      Array [
                        <Button
                          isDisabled={true}
                          onClick={[Function]}
                          variant="danger"
                        >
                          Delete application
                        </Button>,
                        <Button
                          onClick={[Function]}
                          variant="secondary"
                        >
                          Cancel
                        </Button>,
                      ]
                    }
                    aria-describedby=""
                    aria-label="Delete application"
                    aria-labelledby=""
                    boxId="remove-resource-modal"
                    className=""
                    descriptorId="pf-modal-part-8"
                    hasNoBodyWrapper={false}
                    id="remove-resource-modal"
                    isOpen={true}
                    labelId="pf-modal-part-7"
                    onClose={[Function]}
                    ouiaId="OUIA-Generated-Modal-large-7"
                    ouiaSafe={true}
                    position="top"
                    positionOffset="200px"
                    showClose={true}
                    title="Delete application"
                    titleIconVariant={null}
                    titleLabel=""
                    variant="large"
                  >
                    <Backdrop>
                      <div
                        className="pf-c-backdrop"
                      >
                        <FocusTrap
                          active={true}
                          className="pf-l-bullseye"
                          focusTrapOptions={
                            Object {
                              "clickOutsideDeactivates": true,
                            }
                          }
                          paused={false}
                        >
                          <div
                            className="pf-l-bullseye"
                          >
                            <ModalBox
                              aria-describedby="pf-modal-part-8"
                              aria-label="Delete application"
                              aria-labelledby="remove-resource-modal pf-modal-part-7"
                              className=""
                              data-ouia-component-id="OUIA-Generated-Modal-large-7"
                              data-ouia-component-type="PF4/ModalContent"
                              data-ouia-safe={true}
                              id="remove-resource-modal"
                              position="top"
                              positionOffset="200px"
                              style={
                                Object {
                                  "--pf-c-modal-box--m-align-top--spacer": "200px",
                                }
                              }
                              variant="large"
                            >
                              <div
                                aria-describedby="pf-modal-part-8"
                                aria-label="Delete application"
                                aria-labelledby="remove-resource-modal pf-modal-part-7"
                                aria-modal="true"
                                className="pf-c-modal-box pf-m-align-top pf-m-lg"
                                data-ouia-component-id="OUIA-Generated-Modal-large-7"
                                data-ouia-component-type="PF4/ModalContent"
                                data-ouia-safe={true}
                                id="remove-resource-modal"
                                role="dialog"
                                style={
                                  Object {
                                    "--pf-c-modal-box--m-align-top--spacer": "200px",
                                  }
                                }
                              >
                                <ModalBoxCloseButton
                                  onClose={[Function]}
                                >
                                  <Button
                                    aria-label="Close"
                                    className=""
                                    onClick={[Function]}
                                    variant="plain"
                                  >
                                    <button
                                      aria-disabled={false}
                                      aria-label="Close"
                                      className="pf-c-button pf-m-plain"
                                      data-ouia-component-id="OUIA-Generated-Button-plain-8"
                                      data-ouia-component-type="PF4/Button"
                                      data-ouia-safe={true}
                                      disabled={false}
                                      onClick={[Function]}
                                      role={null}
                                      type="button"
                                    >
                                      <TimesIcon
                                        color="currentColor"
                                        noVerticalAlign={false}
                                        size="sm"
                                      >
                                        <svg
                                          aria-hidden={true}
                                          aria-labelledby={null}
                                          fill="currentColor"
                                          height="1em"
                                          role="img"
                                          style={
                                            Object {
                                              "verticalAlign": "-0.125em",
                                            }
                                          }
                                          viewBox="0 0 352 512"
                                          width="1em"
                                        >
                                          <path
                                            d="M242.72 256l100.07-100.07c12.28-12.28 12.28-32.19 0-44.48l-22.24-22.24c-12.28-12.28-32.19-12.28-44.48 0L176 189.28 75.93 89.21c-12.28-12.28-32.19-12.28-44.48 0L9.21 111.45c-12.28 12.28-12.28 32.19 0 44.48L109.28 256 9.21 356.07c-12.28 12.28-12.28 32.19 0 44.48l22.24 22.24c12.28 12.28 32.2 12.28 44.48 0L176 322.72l100.07 100.07c12.28 12.28 32.2 12.28 44.48 0l22.24-22.24c12.28-12.28 12.28-32.19 0-44.48L242.72 256z"
                                          />
                                        </svg>
                                      </TimesIcon>
                                    </button>
                                  </Button>
                                </ModalBoxCloseButton>
                                <ModalBoxHeader
                                  help={null}
                                >
                                  <header
                                    className="pf-c-modal-box__header"
                                  >
                                    <ModalBoxTitle
                                      id="pf-modal-part-7"
                                      title="Delete application"
                                      titleIconVariant={null}
                                      titleLabel=""
                                    >
                                      <h1
                                        className="pf-c-modal-box__title"
                                        id="pf-modal-part-7"
                                      >
                                        <span
                                          className="pf-c-modal-box__title-text"
                                        >
                                          Delete application
                                        </span>
                                      </h1>
                                    </ModalBoxTitle>
                                  </header>
                                </ModalBoxHeader>
                                <ModalBoxBody
                                  id="pf-modal-part-8"
                                >
                                  <div
                                    className="pf-c-modal-box__body"
                                    id="pf-modal-part-8"
                                  >
                                    <div
                                      className="remove-app-modal-alert"
                                    />
                                    <div>
                                      <AcmLoadingPage>
                                        <AcmPageCard>
                                          <PageSection>
                                            <section
                                              className="pf-c-page__main-section"
                                            >
                                              <Card>
                                                <article
                                                  className="pf-c-card"
                                                  data-ouia-component-id="OUIA-Generated-Card-7"
                                                  data-ouia-component-type="PF4/Card"
                                                  data-ouia-safe={true}
                                                >
                                                  <CardBody>
                                                    <div
                                                      className="pf-c-card__body"
                                                    >
                                                      <EmptyState>
                                                        <div
                                                          className="pf-c-empty-state"
                                                        >
                                                          <div
                                                            className="pf-c-empty-state__content"
                                                          >
                                                            <EmptyStateIcon
                                                              component={[Function]}
                                                              variant="container"
                                                            >
                                                              <div
                                                                className="pf-c-empty-state__icon"
                                                              >
                                                                <Spinner>
                                                                  <span
                                                                    aria-valuetext="Loading..."
                                                                    className="pf-c-spinner pf-m-xl"
                                                                    role="progressbar"
                                                                  >
                                                                    <span
                                                                      className="pf-c-spinner__clipper"
                                                                    />
                                                                    <span
                                                                      className="pf-c-spinner__lead-ball"
                                                                    />
                                                                    <span
                                                                      className="pf-c-spinner__tail-ball"
                                                                    />
                                                                  </span>
                                                                </Spinner>
                                                              </div>
                                                            </EmptyStateIcon>
                                                            <Title
                                                              headingLevel="h4"
                                                              size="lg"
                                                            >
                                                              <h4
                                                                className="pf-c-title pf-m-lg"
                                                              >
                                                                Loading
                                                              </h4>
                                                            </Title>
                                                          </div>
                                                        </div>
                                                      </EmptyState>
                                                    </div>
                                                  </CardBody>
                                                </article>
                                              </Card>
                                            </section>
                                          </PageSection>
                                        </AcmPageCard>
                                      </AcmLoadingPage>
                                    </div>
                                  </div>
                                </ModalBoxBody>
                                <ModalBoxFooter>
                                  <footer
                                    className="pf-c-modal-box__footer"
                                  >
                                    <Button
                                      isDisabled={true}
                                      key="confirm"
                                      onClick={[Function]}
                                      variant="danger"
                                    >
                                      <button
                                        aria-disabled={true}
                                        aria-label={null}
                                        className="pf-c-button pf-m-danger pf-m-disabled"
                                        data-ouia-component-id="OUIA-Generated-Button-danger-7"
                                        data-ouia-component-type="PF4/Button"
                                        data-ouia-safe={true}
                                        disabled={true}
                                        onClick={[Function]}
                                        role={null}
                                        tabIndex={null}
                                        type="button"
                                      >
                                        Delete application
                                      </button>
                                    </Button>
                                    <Button
                                      key="cancel"
                                      onClick={[Function]}
                                      variant="secondary"
                                    >
                                      <button
                                        aria-disabled={false}
                                        aria-label={null}
                                        className="pf-c-button pf-m-secondary"
                                        data-ouia-component-id="OUIA-Generated-Button-secondary-7"
                                        data-ouia-component-type="PF4/Button"
                                        data-ouia-safe={true}
                                        disabled={false}
                                        onClick={[Function]}
                                        role={null}
                                        type="button"
                                      >
                                        Cancel
                                      </button>
                                    </Button>
                                  </footer>
                                </ModalBoxFooter>
                              </div>
                            </ModalBox>
                          </div>
                        </FocusTrap>
                      </div>
                    </Backdrop>
                  </ModalContent>
                </Portal>
              </Modal>
            </AcmModal>
          </div>
        </RemoveResourceModal>
      </Connect(RemoveResourceModal)>
    </withLocale(Connect(RemoveResourceModal))>
  </Router>
</BrowserRouter>
`;

exports[`RemoveResourceModal test renders as expected multi level application 1`] = `
<BrowserRouter>
  <Router
    history={
      Object {
        "action": "POP",
        "block": [Function],
        "createHref": [Function],
        "go": [Function],
        "goBack": [Function],
        "goForward": [Function],
        "length": 1,
        "listen": [Function],
        "location": Object {
          "hash": "",
          "pathname": "/",
          "search": "",
          "state": undefined,
        },
        "push": [Function],
        "replace": [Function],
      }
    }
  >
    <withLocale(Connect(RemoveResourceModal))
      data={
        Object {
          "apiVersion": "app.k8s.io/v1beta1",
          "kind": "Application",
          "name": "multiLevelApp",
          "namespace": "sample",
          "selfLink": "/apis/app.k8s.io/v1beta1/namespaces/sample/applications/multiLevelApp",
        }
      }
      handleClose={[MockFunction]}
      handleSubmit={[MockFunction]}
      label={
        Object {
          "heading": "modal.remove-hcmapplication.heading",
          "label": "modal.remove-hcmapplication.label",
          "primaryBtn": "modal.remove-hcmapplication.heading",
        }
      }
      locale="en"
      open={true}
      resourceType={
        Object {
          "list": "HCMApplicationList",
          "name": "HCMApplication",
        }
      }
      store={
        Object {
          "dispatch": [Function],
          "getState": [Function],
          "replaceReducer": [Function],
          "subscribe": [Function],
          Symbol(observable): [Function],
        }
      }
    >
      <Connect(RemoveResourceModal)
        data={
          Object {
            "apiVersion": "app.k8s.io/v1beta1",
            "kind": "Application",
            "name": "multiLevelApp",
            "namespace": "sample",
            "selfLink": "/apis/app.k8s.io/v1beta1/namespaces/sample/applications/multiLevelApp",
          }
        }
        handleClose={[MockFunction]}
        handleSubmit={[MockFunction]}
        label={
          Object {
            "heading": "modal.remove-hcmapplication.heading",
            "label": "modal.remove-hcmapplication.label",
            "primaryBtn": "modal.remove-hcmapplication.heading",
          }
        }
        open={true}
        resourceType={
          Object {
            "list": "HCMApplicationList",
            "name": "HCMApplication",
          }
        }
        store={
          Object {
            "dispatch": [Function],
            "getState": [Function],
            "replaceReducer": [Function],
            "subscribe": [Function],
            Symbol(observable): [Function],
          }
        }
      >
        <RemoveResourceModal
          data={
            Object {
              "apiVersion": "app.k8s.io/v1beta1",
              "kind": "Application",
              "name": "multiLevelApp",
              "namespace": "sample",
              "selfLink": "/apis/app.k8s.io/v1beta1/namespaces/sample/applications/multiLevelApp",
            }
          }
          deleteSuccessFinished={[Function]}
          forceRefresh={[Function]}
          handleClose={[MockFunction]}
          handleSubmit={[MockFunction]}
          label={
            Object {
              "heading": "modal.remove-hcmapplication.heading",
              "label": "modal.remove-hcmapplication.label",
              "primaryBtn": "modal.remove-hcmapplication.heading",
            }
          }
          mutateSuccessFinished={[Function]}
          open={true}
          resourceType={
            Object {
              "list": "HCMApplicationList",
              "name": "HCMApplication",
            }
          }
          store={
            Object {
              "dispatch": [Function],
              "getState": [Function],
              "replaceReducer": [Function],
              "subscribe": [Function],
              Symbol(observable): [Function],
            }
          }
          storeSubscription={
            Subscription {
              "listeners": Object {
                "clear": [Function],
                "get": [Function],
                "notify": [Function],
                "subscribe": [Function],
              },
              "onStateChange": [Function],
              "parentSub": undefined,
              "store": Object {
                "dispatch": [Function],
                "getState": [Function],
                "replaceReducer": [Function],
                "subscribe": [Function],
                Symbol(observable): [Function],
              },
              "unsubscribe": [Function],
            }
          }
          submitDeleteSuccess={[Function]}
        >
          <div>
            <AcmModal
              actions={
                Array [
                  <Button
                    isDisabled={true}
                    onClick={[Function]}
                    variant="danger"
                  >
                    Delete application
                  </Button>,
                  <Button
                    onClick={[Function]}
                    variant="secondary"
                  >
                    Cancel
                  </Button>,
                ]
              }
              aria-label="Delete application"
              id="remove-resource-modal"
              isOpen={true}
              onClose={[Function]}
              position="top"
              positionOffset="200px"
              showClose={true}
              title="Delete application"
              variant="large"
            >
              <Modal
                actions={
                  Array [
                    <Button
                      isDisabled={true}
                      onClick={[Function]}
                      variant="danger"
                    >
                      Delete application
                    </Button>,
                    <Button
                      onClick={[Function]}
                      variant="secondary"
                    >
                      Cancel
                    </Button>,
                  ]
                }
                appendTo={[Function]}
                aria-describedby=""
                aria-label="Delete application"
                aria-labelledby=""
                className=""
                hasNoBodyWrapper={false}
                id="remove-resource-modal"
                isOpen={true}
                onClose={[Function]}
                ouiaSafe={true}
                position="top"
                positionOffset="200px"
                showClose={true}
                title="Delete application"
                titleIconVariant={null}
                titleLabel=""
                variant="large"
              >
                <Portal
                  containerInfo={
                    <div>
                      <div
                        class="pf-c-backdrop"
                      >
                        <div
                          class="pf-l-bullseye"
                        >
                          <div
                            aria-describedby="pf-modal-part-7"
                            aria-label="Delete application"
                            aria-labelledby="remove-resource-modal pf-modal-part-6"
                            aria-modal="true"
                            class="pf-c-modal-box pf-m-align-top pf-m-lg"
                            data-ouia-component-id="OUIA-Generated-Modal-large-6"
                            data-ouia-component-type="PF4/ModalContent"
                            data-ouia-safe="true"
                            id="remove-resource-modal"
                            role="dialog"
                          >
                            <button
                              aria-disabled="false"
                              aria-label="Close"
                              class="pf-c-button pf-m-plain"
                              data-ouia-component-id="OUIA-Generated-Button-plain-7"
                              data-ouia-component-type="PF4/Button"
                              data-ouia-safe="true"
                              type="button"
                            >
                              <svg
                                aria-hidden="true"
                                fill="currentColor"
                                height="1em"
                                role="img"
                                style="vertical-align: -0.125em;"
                                viewBox="0 0 352 512"
                                width="1em"
                              >
                                <path
                                  d="M242.72 256l100.07-100.07c12.28-12.28 12.28-32.19 0-44.48l-22.24-22.24c-12.28-12.28-32.19-12.28-44.48 0L176 189.28 75.93 89.21c-12.28-12.28-32.19-12.28-44.48 0L9.21 111.45c-12.28 12.28-12.28 32.19 0 44.48L109.28 256 9.21 356.07c-12.28 12.28-12.28 32.19 0 44.48l22.24 22.24c12.28 12.28 32.2 12.28 44.48 0L176 322.72l100.07 100.07c12.28 12.28 32.2 12.28 44.48 0l22.24-22.24c12.28-12.28 12.28-32.19 0-44.48L242.72 256z"
                                />
                              </svg>
                            </button>
                            <header
                              class="pf-c-modal-box__header"
                            >
                              <h1
                                class="pf-c-modal-box__title"
                                id="pf-modal-part-6"
                              >
                                
                                <span
                                  class="pf-c-modal-box__title-text"
                                >
                                  Delete application
                                </span>
                              </h1>
                            </header>
                            <div
                              class="pf-c-modal-box__body"
                              id="pf-modal-part-7"
                            >
                              <div
                                class="remove-app-modal-alert"
                              />
                              <div>
                                <section
                                  class="pf-c-page__main-section"
                                >
                                  <article
                                    class="pf-c-card"
                                    data-ouia-component-id="OUIA-Generated-Card-6"
                                    data-ouia-component-type="PF4/Card"
                                    data-ouia-safe="true"
                                  >
                                    <div
                                      class="pf-c-card__body"
                                    >
                                      <div
                                        class="pf-c-empty-state"
                                      >
                                        <div
                                          class="pf-c-empty-state__content"
                                        >
                                          <div
                                            class="pf-c-empty-state__icon"
                                          >
                                            <span
                                              aria-valuetext="Loading..."
                                              class="pf-c-spinner pf-m-xl"
                                              role="progressbar"
                                            >
                                              <span
                                                class="pf-c-spinner__clipper"
                                              />
                                              <span
                                                class="pf-c-spinner__lead-ball"
                                              />
                                              <span
                                                class="pf-c-spinner__tail-ball"
                                              />
                                            </span>
                                          </div>
                                          <h4
                                            class="pf-c-title pf-m-lg"
                                          >
                                            Loading
                                          </h4>
                                        </div>
                                      </div>
                                    </div>
                                  </article>
                                </section>
                              </div>
                            </div>
                            <footer
                              class="pf-c-modal-box__footer"
                            >
                              <button
                                aria-disabled="true"
                                class="pf-c-button pf-m-danger pf-m-disabled"
                                data-ouia-component-id="OUIA-Generated-Button-danger-6"
                                data-ouia-component-type="PF4/Button"
                                data-ouia-safe="true"
                                disabled=""
                                type="button"
                              >
                                Delete application
                              </button>
                              <button
                                aria-disabled="false"
                                class="pf-c-button pf-m-secondary"
                                data-ouia-component-id="OUIA-Generated-Button-secondary-6"
                                data-ouia-component-type="PF4/Button"
                                data-ouia-safe="true"
                                type="button"
                              >
                                Cancel
                              </button>
                            </footer>
                          </div>
                        </div>
                      </div>
                    </div>
                  }
                >
                  <ModalContent
                    actions={
                      Array [
                        <Button
                          isDisabled={true}
                          onClick={[Function]}
                          variant="danger"
                        >
                          Delete application
                        </Button>,
                        <Button
                          onClick={[Function]}
                          variant="secondary"
                        >
                          Cancel
                        </Button>,
                      ]
                    }
                    aria-describedby=""
                    aria-label="Delete application"
                    aria-labelledby=""
                    boxId="remove-resource-modal"
                    className=""
                    descriptorId="pf-modal-part-7"
                    hasNoBodyWrapper={false}
                    id="remove-resource-modal"
                    isOpen={true}
                    labelId="pf-modal-part-6"
                    onClose={[Function]}
                    ouiaId="OUIA-Generated-Modal-large-6"
                    ouiaSafe={true}
                    position="top"
                    positionOffset="200px"
                    showClose={true}
                    title="Delete application"
                    titleIconVariant={null}
                    titleLabel=""
                    variant="large"
                  >
                    <Backdrop>
                      <div
                        className="pf-c-backdrop"
                      >
                        <FocusTrap
                          active={true}
                          className="pf-l-bullseye"
                          focusTrapOptions={
                            Object {
                              "clickOutsideDeactivates": true,
                            }
                          }
                          paused={false}
                        >
                          <div
                            className="pf-l-bullseye"
                          >
                            <ModalBox
                              aria-describedby="pf-modal-part-7"
                              aria-label="Delete application"
                              aria-labelledby="remove-resource-modal pf-modal-part-6"
                              className=""
                              data-ouia-component-id="OUIA-Generated-Modal-large-6"
                              data-ouia-component-type="PF4/ModalContent"
                              data-ouia-safe={true}
                              id="remove-resource-modal"
                              position="top"
                              positionOffset="200px"
                              style={
                                Object {
                                  "--pf-c-modal-box--m-align-top--spacer": "200px",
                                }
                              }
                              variant="large"
                            >
                              <div
                                aria-describedby="pf-modal-part-7"
                                aria-label="Delete application"
                                aria-labelledby="remove-resource-modal pf-modal-part-6"
                                aria-modal="true"
                                className="pf-c-modal-box pf-m-align-top pf-m-lg"
                                data-ouia-component-id="OUIA-Generated-Modal-large-6"
                                data-ouia-component-type="PF4/ModalContent"
                                data-ouia-safe={true}
                                id="remove-resource-modal"
                                role="dialog"
                                style={
                                  Object {
                                    "--pf-c-modal-box--m-align-top--spacer": "200px",
                                  }
                                }
                              >
                                <ModalBoxCloseButton
                                  onClose={[Function]}
                                >
                                  <Button
                                    aria-label="Close"
                                    className=""
                                    onClick={[Function]}
                                    variant="plain"
                                  >
                                    <button
                                      aria-disabled={false}
                                      aria-label="Close"
                                      className="pf-c-button pf-m-plain"
                                      data-ouia-component-id="OUIA-Generated-Button-plain-7"
                                      data-ouia-component-type="PF4/Button"
                                      data-ouia-safe={true}
                                      disabled={false}
                                      onClick={[Function]}
                                      role={null}
                                      type="button"
                                    >
                                      <TimesIcon
                                        color="currentColor"
                                        noVerticalAlign={false}
                                        size="sm"
                                      >
                                        <svg
                                          aria-hidden={true}
                                          aria-labelledby={null}
                                          fill="currentColor"
                                          height="1em"
                                          role="img"
                                          style={
                                            Object {
                                              "verticalAlign": "-0.125em",
                                            }
                                          }
                                          viewBox="0 0 352 512"
                                          width="1em"
                                        >
                                          <path
                                            d="M242.72 256l100.07-100.07c12.28-12.28 12.28-32.19 0-44.48l-22.24-22.24c-12.28-12.28-32.19-12.28-44.48 0L176 189.28 75.93 89.21c-12.28-12.28-32.19-12.28-44.48 0L9.21 111.45c-12.28 12.28-12.28 32.19 0 44.48L109.28 256 9.21 356.07c-12.28 12.28-12.28 32.19 0 44.48l22.24 22.24c12.28 12.28 32.2 12.28 44.48 0L176 322.72l100.07 100.07c12.28 12.28 32.2 12.28 44.48 0l22.24-22.24c12.28-12.28 12.28-32.19 0-44.48L242.72 256z"
                                          />
                                        </svg>
                                      </TimesIcon>
                                    </button>
                                  </Button>
                                </ModalBoxCloseButton>
                                <ModalBoxHeader
                                  help={null}
                                >
                                  <header
                                    className="pf-c-modal-box__header"
                                  >
                                    <ModalBoxTitle
                                      id="pf-modal-part-6"
                                      title="Delete application"
                                      titleIconVariant={null}
                                      titleLabel=""
                                    >
                                      <h1
                                        className="pf-c-modal-box__title"
                                        id="pf-modal-part-6"
                                      >
                                        <span
                                          className="pf-c-modal-box__title-text"
                                        >
                                          Delete application
                                        </span>
                                      </h1>
                                    </ModalBoxTitle>
                                  </header>
                                </ModalBoxHeader>
                                <ModalBoxBody
                                  id="pf-modal-part-7"
                                >
                                  <div
                                    className="pf-c-modal-box__body"
                                    id="pf-modal-part-7"
                                  >
                                    <div
                                      className="remove-app-modal-alert"
                                    />
                                    <div>
                                      <AcmLoadingPage>
                                        <AcmPageCard>
                                          <PageSection>
                                            <section
                                              className="pf-c-page__main-section"
                                            >
                                              <Card>
                                                <article
                                                  className="pf-c-card"
                                                  data-ouia-component-id="OUIA-Generated-Card-6"
                                                  data-ouia-component-type="PF4/Card"
                                                  data-ouia-safe={true}
                                                >
                                                  <CardBody>
                                                    <div
                                                      className="pf-c-card__body"
                                                    >
                                                      <EmptyState>
                                                        <div
                                                          className="pf-c-empty-state"
                                                        >
                                                          <div
                                                            className="pf-c-empty-state__content"
                                                          >
                                                            <EmptyStateIcon
                                                              component={[Function]}
                                                              variant="container"
                                                            >
                                                              <div
                                                                className="pf-c-empty-state__icon"
                                                              >
                                                                <Spinner>
                                                                  <span
                                                                    aria-valuetext="Loading..."
                                                                    className="pf-c-spinner pf-m-xl"
                                                                    role="progressbar"
                                                                  >
                                                                    <span
                                                                      className="pf-c-spinner__clipper"
                                                                    />
                                                                    <span
                                                                      className="pf-c-spinner__lead-ball"
                                                                    />
                                                                    <span
                                                                      className="pf-c-spinner__tail-ball"
                                                                    />
                                                                  </span>
                                                                </Spinner>
                                                              </div>
                                                            </EmptyStateIcon>
                                                            <Title
                                                              headingLevel="h4"
                                                              size="lg"
                                                            >
                                                              <h4
                                                                className="pf-c-title pf-m-lg"
                                                              >
                                                                Loading
                                                              </h4>
                                                            </Title>
                                                          </div>
                                                        </div>
                                                      </EmptyState>
                                                    </div>
                                                  </CardBody>
                                                </article>
                                              </Card>
                                            </section>
                                          </PageSection>
                                        </AcmPageCard>
                                      </AcmLoadingPage>
                                    </div>
                                  </div>
                                </ModalBoxBody>
                                <ModalBoxFooter>
                                  <footer
                                    className="pf-c-modal-box__footer"
                                  >
                                    <Button
                                      isDisabled={true}
                                      key="confirm"
                                      onClick={[Function]}
                                      variant="danger"
                                    >
                                      <button
                                        aria-disabled={true}
                                        aria-label={null}
                                        className="pf-c-button pf-m-danger pf-m-disabled"
                                        data-ouia-component-id="OUIA-Generated-Button-danger-6"
                                        data-ouia-component-type="PF4/Button"
                                        data-ouia-safe={true}
                                        disabled={true}
                                        onClick={[Function]}
                                        role={null}
                                        tabIndex={null}
                                        type="button"
                                      >
                                        Delete application
                                      </button>
                                    </Button>
                                    <Button
                                      key="cancel"
                                      onClick={[Function]}
                                      variant="secondary"
                                    >
                                      <button
                                        aria-disabled={false}
                                        aria-label={null}
                                        className="pf-c-button pf-m-secondary"
                                        data-ouia-component-id="OUIA-Generated-Button-secondary-6"
                                        data-ouia-component-type="PF4/Button"
                                        data-ouia-safe={true}
                                        disabled={false}
                                        onClick={[Function]}
                                        role={null}
                                        type="button"
                                      >
                                        Cancel
                                      </button>
                                    </Button>
                                  </footer>
                                </ModalBoxFooter>
                              </div>
                            </ModalBox>
                          </div>
                        </FocusTrap>
                      </div>
                    </Backdrop>
                  </ModalContent>
                </Portal>
              </Modal>
            </AcmModal>
          </div>
        </RemoveResourceModal>
      </Connect(RemoveResourceModal)>
    </withLocale(Connect(RemoveResourceModal))>
  </Router>
</BrowserRouter>
`;

exports[`RemoveResourceModal test renders as expected with mocked apollo client data 1`] = `
<BrowserRouter>
  <Router
    history={
      Object {
        "action": "POP",
        "block": [Function],
        "createHref": [Function],
        "go": [Function],
        "goBack": [Function],
        "goForward": [Function],
        "length": 1,
        "listen": [Function],
        "location": Object {
          "hash": "",
          "pathname": "/",
          "search": "",
          "state": undefined,
        },
        "push": [Function],
        "replace": [Function],
      }
    }
  >
    <withLocale(Connect(RemoveResourceModal))
      data={
        Object {
          "__typename": "Application",
          "_uid": "local-cluster/42d4c013-52b9-11ea-bf05-00000a102d26",
          "apiVersion": "app.k8s.io/v1beta1",
          "clusterCount": 0,
          "created": "2019-12-11T01:24:02Z",
          "dashboard": null,
          "hubSubscriptions": Array [],
          "kind": "Application",
          "metadata": Object {
            "name": "samplebook-gbap",
            "namespace": "sample",
            "selfLink": "/apis/app.k8s.io/v1beta1/namespaces/sample/applications/samplebook-gbap",
          },
          "name": "samplebook-gbap",
          "namespace": "sample",
          "selfLink": "/apis/app.k8s.io/v1beta1/namespaces/sample/applications/samplebook-gbap",
        }
      }
      handleClose={[MockFunction]}
      handleSubmit={[MockFunction]}
      label={
        Object {
          "heading": "modal.remove-hcmapplication.heading",
          "label": "modal.remove-hcmapplication.label",
          "primaryBtn": "modal.remove-hcmapplication.heading",
        }
      }
      locale="en"
      open={true}
      resourceType={
        Object {
          "list": "HCMApplicationList",
          "name": "HCMApplication",
        }
      }
      store={
        Object {
          "dispatch": [Function],
          "getState": [Function],
          "replaceReducer": [Function],
          "subscribe": [Function],
          Symbol(observable): [Function],
        }
      }
    >
      <Connect(RemoveResourceModal)
        data={
          Object {
            "__typename": "Application",
            "_uid": "local-cluster/42d4c013-52b9-11ea-bf05-00000a102d26",
            "apiVersion": "app.k8s.io/v1beta1",
            "clusterCount": 0,
            "created": "2019-12-11T01:24:02Z",
            "dashboard": null,
            "hubSubscriptions": Array [],
            "kind": "Application",
            "metadata": Object {
              "name": "samplebook-gbap",
              "namespace": "sample",
              "selfLink": "/apis/app.k8s.io/v1beta1/namespaces/sample/applications/samplebook-gbap",
            },
            "name": "samplebook-gbap",
            "namespace": "sample",
            "selfLink": "/apis/app.k8s.io/v1beta1/namespaces/sample/applications/samplebook-gbap",
          }
        }
        handleClose={[MockFunction]}
        handleSubmit={[MockFunction]}
        label={
          Object {
            "heading": "modal.remove-hcmapplication.heading",
            "label": "modal.remove-hcmapplication.label",
            "primaryBtn": "modal.remove-hcmapplication.heading",
          }
        }
        open={true}
        resourceType={
          Object {
            "list": "HCMApplicationList",
            "name": "HCMApplication",
          }
        }
        store={
          Object {
            "dispatch": [Function],
            "getState": [Function],
            "replaceReducer": [Function],
            "subscribe": [Function],
            Symbol(observable): [Function],
          }
        }
      >
        <RemoveResourceModal
          data={
            Object {
              "__typename": "Application",
              "_uid": "local-cluster/42d4c013-52b9-11ea-bf05-00000a102d26",
              "apiVersion": "app.k8s.io/v1beta1",
              "clusterCount": 0,
              "created": "2019-12-11T01:24:02Z",
              "dashboard": null,
              "hubSubscriptions": Array [],
              "kind": "Application",
              "metadata": Object {
                "name": "samplebook-gbap",
                "namespace": "sample",
                "selfLink": "/apis/app.k8s.io/v1beta1/namespaces/sample/applications/samplebook-gbap",
              },
              "name": "samplebook-gbap",
              "namespace": "sample",
              "selfLink": "/apis/app.k8s.io/v1beta1/namespaces/sample/applications/samplebook-gbap",
            }
          }
          deleteSuccessFinished={[Function]}
          forceRefresh={[Function]}
          handleClose={[MockFunction]}
          handleSubmit={[MockFunction]}
          label={
            Object {
              "heading": "modal.remove-hcmapplication.heading",
              "label": "modal.remove-hcmapplication.label",
              "primaryBtn": "modal.remove-hcmapplication.heading",
            }
          }
          mutateSuccessFinished={[Function]}
          open={true}
          resourceType={
            Object {
              "list": "HCMApplicationList",
              "name": "HCMApplication",
            }
          }
          store={
            Object {
              "dispatch": [Function],
              "getState": [Function],
              "replaceReducer": [Function],
              "subscribe": [Function],
              Symbol(observable): [Function],
            }
          }
          storeSubscription={
            Subscription {
              "listeners": Object {
                "clear": [Function],
                "get": [Function],
                "notify": [Function],
                "subscribe": [Function],
              },
              "onStateChange": [Function],
              "parentSub": undefined,
              "store": Object {
                "dispatch": [Function],
                "getState": [Function],
                "replaceReducer": [Function],
                "subscribe": [Function],
                Symbol(observable): [Function],
              },
              "unsubscribe": [Function],
            }
          }
          submitDeleteSuccess={[Function]}
        >
          <div>
            <AcmModal
              actions={
                Array [
                  <Button
                    isDisabled={true}
                    onClick={[Function]}
                    variant="danger"
                  >
                    Delete application
                  </Button>,
                  <Button
                    onClick={[Function]}
                    variant="secondary"
                  >
                    Cancel
                  </Button>,
                ]
              }
              aria-label="Delete application"
              id="remove-resource-modal"
              isOpen={true}
              onClose={[Function]}
              position="top"
              positionOffset="200px"
              showClose={true}
              title="Delete application"
              variant="large"
            >
              <Modal
                actions={
                  Array [
                    <Button
                      isDisabled={true}
                      onClick={[Function]}
                      variant="danger"
                    >
                      Delete application
                    </Button>,
                    <Button
                      onClick={[Function]}
                      variant="secondary"
                    >
                      Cancel
                    </Button>,
                  ]
                }
                appendTo={[Function]}
                aria-describedby=""
                aria-label="Delete application"
                aria-labelledby=""
                className=""
                hasNoBodyWrapper={false}
                id="remove-resource-modal"
                isOpen={true}
                onClose={[Function]}
                ouiaSafe={true}
                position="top"
                positionOffset="200px"
                showClose={true}
                title="Delete application"
                titleIconVariant={null}
                titleLabel=""
                variant="large"
              >
                <Portal
                  containerInfo={
                    <div>
                      <div
                        class="pf-c-backdrop"
                      >
                        <div
                          class="pf-l-bullseye"
                        >
                          <div
                            aria-describedby="pf-modal-part-3"
                            aria-label="Delete application"
                            aria-labelledby="remove-resource-modal pf-modal-part-2"
                            aria-modal="true"
                            class="pf-c-modal-box pf-m-align-top pf-m-lg"
                            data-ouia-component-id="OUIA-Generated-Modal-large-2"
                            data-ouia-component-type="PF4/ModalContent"
                            data-ouia-safe="true"
                            id="remove-resource-modal"
                            role="dialog"
                          >
                            <button
                              aria-disabled="false"
                              aria-label="Close"
                              class="pf-c-button pf-m-plain"
                              data-ouia-component-id="OUIA-Generated-Button-plain-2"
                              data-ouia-component-type="PF4/Button"
                              data-ouia-safe="true"
                              type="button"
                            >
                              <svg
                                aria-hidden="true"
                                fill="currentColor"
                                height="1em"
                                role="img"
                                style="vertical-align: -0.125em;"
                                viewBox="0 0 352 512"
                                width="1em"
                              >
                                <path
                                  d="M242.72 256l100.07-100.07c12.28-12.28 12.28-32.19 0-44.48l-22.24-22.24c-12.28-12.28-32.19-12.28-44.48 0L176 189.28 75.93 89.21c-12.28-12.28-32.19-12.28-44.48 0L9.21 111.45c-12.28 12.28-12.28 32.19 0 44.48L109.28 256 9.21 356.07c-12.28 12.28-12.28 32.19 0 44.48l22.24 22.24c12.28 12.28 32.2 12.28 44.48 0L176 322.72l100.07 100.07c12.28 12.28 32.2 12.28 44.48 0l22.24-22.24c12.28-12.28 12.28-32.19 0-44.48L242.72 256z"
                                />
                              </svg>
                            </button>
                            <header
                              class="pf-c-modal-box__header"
                            >
                              <h1
                                class="pf-c-modal-box__title"
                                id="pf-modal-part-2"
                              >
                                
                                <span
                                  class="pf-c-modal-box__title-text"
                                >
                                  Delete application
                                </span>
                              </h1>
                            </header>
                            <div
                              class="pf-c-modal-box__body"
                              id="pf-modal-part-3"
                            >
                              <div
                                class="remove-app-modal-alert"
                              />
                              <div>
                                <section
                                  class="pf-c-page__main-section"
                                >
                                  <article
                                    class="pf-c-card"
                                    data-ouia-component-id="OUIA-Generated-Card-2"
                                    data-ouia-component-type="PF4/Card"
                                    data-ouia-safe="true"
                                  >
                                    <div
                                      class="pf-c-card__body"
                                    >
                                      <div
                                        class="pf-c-empty-state"
                                      >
                                        <div
                                          class="pf-c-empty-state__content"
                                        >
                                          <div
                                            class="pf-c-empty-state__icon"
                                          >
                                            <span
                                              aria-valuetext="Loading..."
                                              class="pf-c-spinner pf-m-xl"
                                              role="progressbar"
                                            >
                                              <span
                                                class="pf-c-spinner__clipper"
                                              />
                                              <span
                                                class="pf-c-spinner__lead-ball"
                                              />
                                              <span
                                                class="pf-c-spinner__tail-ball"
                                              />
                                            </span>
                                          </div>
                                          <h4
                                            class="pf-c-title pf-m-lg"
                                          >
                                            Loading
                                          </h4>
                                        </div>
                                      </div>
                                    </div>
                                  </article>
                                </section>
                              </div>
                            </div>
                            <footer
                              class="pf-c-modal-box__footer"
                            >
                              <button
                                aria-disabled="true"
                                class="pf-c-button pf-m-danger pf-m-disabled"
                                data-ouia-component-id="OUIA-Generated-Button-danger-2"
                                data-ouia-component-type="PF4/Button"
                                data-ouia-safe="true"
                                disabled=""
                                type="button"
                              >
                                Delete application
                              </button>
                              <button
                                aria-disabled="false"
                                class="pf-c-button pf-m-secondary"
                                data-ouia-component-id="OUIA-Generated-Button-secondary-2"
                                data-ouia-component-type="PF4/Button"
                                data-ouia-safe="true"
                                type="button"
                              >
                                Cancel
                              </button>
                            </footer>
                          </div>
                        </div>
                      </div>
                    </div>
                  }
                >
                  <ModalContent
                    actions={
                      Array [
                        <Button
                          isDisabled={true}
                          onClick={[Function]}
                          variant="danger"
                        >
                          Delete application
                        </Button>,
                        <Button
                          onClick={[Function]}
                          variant="secondary"
                        >
                          Cancel
                        </Button>,
                      ]
                    }
                    aria-describedby=""
                    aria-label="Delete application"
                    aria-labelledby=""
                    boxId="remove-resource-modal"
                    className=""
                    descriptorId="pf-modal-part-3"
                    hasNoBodyWrapper={false}
                    id="remove-resource-modal"
                    isOpen={true}
                    labelId="pf-modal-part-2"
                    onClose={[Function]}
                    ouiaId="OUIA-Generated-Modal-large-2"
                    ouiaSafe={true}
                    position="top"
                    positionOffset="200px"
                    showClose={true}
                    title="Delete application"
                    titleIconVariant={null}
                    titleLabel=""
                    variant="large"
                  >
                    <Backdrop>
                      <div
                        className="pf-c-backdrop"
                      >
                        <FocusTrap
                          active={true}
                          className="pf-l-bullseye"
                          focusTrapOptions={
                            Object {
                              "clickOutsideDeactivates": true,
                            }
                          }
                          paused={false}
                        >
                          <div
                            className="pf-l-bullseye"
                          >
                            <ModalBox
                              aria-describedby="pf-modal-part-3"
                              aria-label="Delete application"
                              aria-labelledby="remove-resource-modal pf-modal-part-2"
                              className=""
                              data-ouia-component-id="OUIA-Generated-Modal-large-2"
                              data-ouia-component-type="PF4/ModalContent"
                              data-ouia-safe={true}
                              id="remove-resource-modal"
                              position="top"
                              positionOffset="200px"
                              style={
                                Object {
                                  "--pf-c-modal-box--m-align-top--spacer": "200px",
                                }
                              }
                              variant="large"
                            >
                              <div
                                aria-describedby="pf-modal-part-3"
                                aria-label="Delete application"
                                aria-labelledby="remove-resource-modal pf-modal-part-2"
                                aria-modal="true"
                                className="pf-c-modal-box pf-m-align-top pf-m-lg"
                                data-ouia-component-id="OUIA-Generated-Modal-large-2"
                                data-ouia-component-type="PF4/ModalContent"
                                data-ouia-safe={true}
                                id="remove-resource-modal"
                                role="dialog"
                                style={
                                  Object {
                                    "--pf-c-modal-box--m-align-top--spacer": "200px",
                                  }
                                }
                              >
                                <ModalBoxCloseButton
                                  onClose={[Function]}
                                >
                                  <Button
                                    aria-label="Close"
                                    className=""
                                    onClick={[Function]}
                                    variant="plain"
                                  >
                                    <button
                                      aria-disabled={false}
                                      aria-label="Close"
                                      className="pf-c-button pf-m-plain"
                                      data-ouia-component-id="OUIA-Generated-Button-plain-2"
                                      data-ouia-component-type="PF4/Button"
                                      data-ouia-safe={true}
                                      disabled={false}
                                      onClick={[Function]}
                                      role={null}
                                      type="button"
                                    >
                                      <TimesIcon
                                        color="currentColor"
                                        noVerticalAlign={false}
                                        size="sm"
                                      >
                                        <svg
                                          aria-hidden={true}
                                          aria-labelledby={null}
                                          fill="currentColor"
                                          height="1em"
                                          role="img"
                                          style={
                                            Object {
                                              "verticalAlign": "-0.125em",
                                            }
                                          }
                                          viewBox="0 0 352 512"
                                          width="1em"
                                        >
                                          <path
                                            d="M242.72 256l100.07-100.07c12.28-12.28 12.28-32.19 0-44.48l-22.24-22.24c-12.28-12.28-32.19-12.28-44.48 0L176 189.28 75.93 89.21c-12.28-12.28-32.19-12.28-44.48 0L9.21 111.45c-12.28 12.28-12.28 32.19 0 44.48L109.28 256 9.21 356.07c-12.28 12.28-12.28 32.19 0 44.48l22.24 22.24c12.28 12.28 32.2 12.28 44.48 0L176 322.72l100.07 100.07c12.28 12.28 32.2 12.28 44.48 0l22.24-22.24c12.28-12.28 12.28-32.19 0-44.48L242.72 256z"
                                          />
                                        </svg>
                                      </TimesIcon>
                                    </button>
                                  </Button>
                                </ModalBoxCloseButton>
                                <ModalBoxHeader
                                  help={null}
                                >
                                  <header
                                    className="pf-c-modal-box__header"
                                  >
                                    <ModalBoxTitle
                                      id="pf-modal-part-2"
                                      title="Delete application"
                                      titleIconVariant={null}
                                      titleLabel=""
                                    >
                                      <h1
                                        className="pf-c-modal-box__title"
                                        id="pf-modal-part-2"
                                      >
                                        <span
                                          className="pf-c-modal-box__title-text"
                                        >
                                          Delete application
                                        </span>
                                      </h1>
                                    </ModalBoxTitle>
                                  </header>
                                </ModalBoxHeader>
                                <ModalBoxBody
                                  id="pf-modal-part-3"
                                >
                                  <div
                                    className="pf-c-modal-box__body"
                                    id="pf-modal-part-3"
                                  >
                                    <div
                                      className="remove-app-modal-alert"
                                    />
                                    <div>
                                      <AcmLoadingPage>
                                        <AcmPageCard>
                                          <PageSection>
                                            <section
                                              className="pf-c-page__main-section"
                                            >
                                              <Card>
                                                <article
                                                  className="pf-c-card"
                                                  data-ouia-component-id="OUIA-Generated-Card-2"
                                                  data-ouia-component-type="PF4/Card"
                                                  data-ouia-safe={true}
                                                >
                                                  <CardBody>
                                                    <div
                                                      className="pf-c-card__body"
                                                    >
                                                      <EmptyState>
                                                        <div
                                                          className="pf-c-empty-state"
                                                        >
                                                          <div
                                                            className="pf-c-empty-state__content"
                                                          >
                                                            <EmptyStateIcon
                                                              component={[Function]}
                                                              variant="container"
                                                            >
                                                              <div
                                                                className="pf-c-empty-state__icon"
                                                              >
                                                                <Spinner>
                                                                  <span
                                                                    aria-valuetext="Loading..."
                                                                    className="pf-c-spinner pf-m-xl"
                                                                    role="progressbar"
                                                                  >
                                                                    <span
                                                                      className="pf-c-spinner__clipper"
                                                                    />
                                                                    <span
                                                                      className="pf-c-spinner__lead-ball"
                                                                    />
                                                                    <span
                                                                      className="pf-c-spinner__tail-ball"
                                                                    />
                                                                  </span>
                                                                </Spinner>
                                                              </div>
                                                            </EmptyStateIcon>
                                                            <Title
                                                              headingLevel="h4"
                                                              size="lg"
                                                            >
                                                              <h4
                                                                className="pf-c-title pf-m-lg"
                                                              >
                                                                Loading
                                                              </h4>
                                                            </Title>
                                                          </div>
                                                        </div>
                                                      </EmptyState>
                                                    </div>
                                                  </CardBody>
                                                </article>
                                              </Card>
                                            </section>
                                          </PageSection>
                                        </AcmPageCard>
                                      </AcmLoadingPage>
                                    </div>
                                  </div>
                                </ModalBoxBody>
                                <ModalBoxFooter>
                                  <footer
                                    className="pf-c-modal-box__footer"
                                  >
                                    <Button
                                      isDisabled={true}
                                      key="confirm"
                                      onClick={[Function]}
                                      variant="danger"
                                    >
                                      <button
                                        aria-disabled={true}
                                        aria-label={null}
                                        className="pf-c-button pf-m-danger pf-m-disabled"
                                        data-ouia-component-id="OUIA-Generated-Button-danger-2"
                                        data-ouia-component-type="PF4/Button"
                                        data-ouia-safe={true}
                                        disabled={true}
                                        onClick={[Function]}
                                        role={null}
                                        tabIndex={null}
                                        type="button"
                                      >
                                        Delete application
                                      </button>
                                    </Button>
                                    <Button
                                      key="cancel"
                                      onClick={[Function]}
                                      variant="secondary"
                                    >
                                      <button
                                        aria-disabled={false}
                                        aria-label={null}
                                        className="pf-c-button pf-m-secondary"
                                        data-ouia-component-id="OUIA-Generated-Button-secondary-2"
                                        data-ouia-component-type="PF4/Button"
                                        data-ouia-safe={true}
                                        disabled={false}
                                        onClick={[Function]}
                                        role={null}
                                        type="button"
                                      >
                                        Cancel
                                      </button>
                                    </Button>
                                  </footer>
                                </ModalBoxFooter>
                              </div>
                            </ModalBox>
                          </div>
                        </FocusTrap>
                      </div>
                    </Backdrop>
                  </ModalContent>
                </Portal>
              </Modal>
            </AcmModal>
          </div>
        </RemoveResourceModal>
      </Connect(RemoveResourceModal)>
    </withLocale(Connect(RemoveResourceModal))>
  </Router>
</BrowserRouter>
`;

exports[`RemoveResourceModal test renders as expected without data 1`] = `
<BrowserRouter>
  <Router
    history={
      Object {
        "action": "POP",
        "block": [Function],
        "createHref": [Function],
        "go": [Function],
        "goBack": [Function],
        "goForward": [Function],
        "length": 1,
        "listen": [Function],
        "location": Object {
          "hash": "",
          "pathname": "/",
          "search": "",
          "state": undefined,
        },
        "push": [Function],
        "replace": [Function],
      }
    }
  >
    <withLocale(Connect(RemoveResourceModal))
      handleClose={[MockFunction]}
      handleSubmit={[MockFunction]}
      label={
        Object {
          "heading": "modal.remove-hcmapplication.heading",
          "label": "modal.remove-hcmapplication.label",
          "primaryBtn": "modal.remove-hcmapplication.heading",
        }
      }
      locale="en"
      open={true}
      resourceType={
        Object {
          "list": "HCMApplicationList",
          "name": "HCMApplication",
        }
      }
      store={
        Object {
          "dispatch": [Function],
          "getState": [Function],
          "replaceReducer": [Function],
          "subscribe": [Function],
          Symbol(observable): [Function],
        }
      }
    >
      <Connect(RemoveResourceModal)
        handleClose={[MockFunction]}
        handleSubmit={[MockFunction]}
        label={
          Object {
            "heading": "modal.remove-hcmapplication.heading",
            "label": "modal.remove-hcmapplication.label",
            "primaryBtn": "modal.remove-hcmapplication.heading",
          }
        }
        open={true}
        resourceType={
          Object {
            "list": "HCMApplicationList",
            "name": "HCMApplication",
          }
        }
        store={
          Object {
            "dispatch": [Function],
            "getState": [Function],
            "replaceReducer": [Function],
            "subscribe": [Function],
            Symbol(observable): [Function],
          }
        }
      >
        <RemoveResourceModal
          deleteSuccessFinished={[Function]}
          forceRefresh={[Function]}
          handleClose={[MockFunction]}
          handleSubmit={[MockFunction]}
          label={
            Object {
              "heading": "modal.remove-hcmapplication.heading",
              "label": "modal.remove-hcmapplication.label",
              "primaryBtn": "modal.remove-hcmapplication.heading",
            }
          }
          mutateSuccessFinished={[Function]}
          open={true}
          resourceType={
            Object {
              "list": "HCMApplicationList",
              "name": "HCMApplication",
            }
          }
          store={
            Object {
              "dispatch": [Function],
              "getState": [Function],
              "replaceReducer": [Function],
              "subscribe": [Function],
              Symbol(observable): [Function],
            }
          }
          storeSubscription={
            Subscription {
              "listeners": Object {
                "clear": [Function],
                "get": [Function],
                "notify": [Function],
                "subscribe": [Function],
              },
              "onStateChange": [Function],
              "parentSub": undefined,
              "store": Object {
                "dispatch": [Function],
                "getState": [Function],
                "replaceReducer": [Function],
                "subscribe": [Function],
                Symbol(observable): [Function],
              },
              "unsubscribe": [Function],
            }
          }
          submitDeleteSuccess={[Function]}
        >
          <div>
            <AcmModal
              actions={
                Array [
                  <Button
                    isDisabled={true}
                    onClick={[Function]}
                    variant="danger"
                  >
                    Delete application
                  </Button>,
                  <Button
                    onClick={[Function]}
                    variant="secondary"
                  >
                    Cancel
                  </Button>,
                ]
              }
              aria-label="Delete application"
              id="remove-resource-modal"
              isOpen={true}
              onClose={[Function]}
              position="top"
              positionOffset="200px"
              showClose={true}
              title="Delete application"
              variant="large"
            >
              <Modal
                actions={
                  Array [
                    <Button
                      isDisabled={true}
                      onClick={[Function]}
                      variant="danger"
                    >
                      Delete application
                    </Button>,
                    <Button
                      onClick={[Function]}
                      variant="secondary"
                    >
                      Cancel
                    </Button>,
                  ]
                }
                appendTo={[Function]}
                aria-describedby=""
                aria-label="Delete application"
                aria-labelledby=""
                className=""
                hasNoBodyWrapper={false}
                id="remove-resource-modal"
                isOpen={true}
                onClose={[Function]}
                ouiaSafe={true}
                position="top"
                positionOffset="200px"
                showClose={true}
                title="Delete application"
                titleIconVariant={null}
                titleLabel=""
                variant="large"
              >
                <Portal
                  containerInfo={
                    <div>
                      <div
                        class="pf-c-backdrop"
                      >
                        <div
                          class="pf-l-bullseye"
                        >
                          <div
                            aria-describedby="pf-modal-part-2"
                            aria-label="Delete application"
                            aria-labelledby="remove-resource-modal pf-modal-part-1"
                            aria-modal="true"
                            class="pf-c-modal-box pf-m-align-top pf-m-lg"
                            data-ouia-component-id="OUIA-Generated-Modal-large-1"
                            data-ouia-component-type="PF4/ModalContent"
                            data-ouia-safe="true"
                            id="remove-resource-modal"
                            role="dialog"
                          >
                            <button
                              aria-disabled="false"
                              aria-label="Close"
                              class="pf-c-button pf-m-plain"
                              data-ouia-component-id="OUIA-Generated-Button-plain-1"
                              data-ouia-component-type="PF4/Button"
                              data-ouia-safe="true"
                              type="button"
                            >
                              <svg
                                aria-hidden="true"
                                fill="currentColor"
                                height="1em"
                                role="img"
                                style="vertical-align: -0.125em;"
                                viewBox="0 0 352 512"
                                width="1em"
                              >
                                <path
                                  d="M242.72 256l100.07-100.07c12.28-12.28 12.28-32.19 0-44.48l-22.24-22.24c-12.28-12.28-32.19-12.28-44.48 0L176 189.28 75.93 89.21c-12.28-12.28-32.19-12.28-44.48 0L9.21 111.45c-12.28 12.28-12.28 32.19 0 44.48L109.28 256 9.21 356.07c-12.28 12.28-12.28 32.19 0 44.48l22.24 22.24c12.28 12.28 32.2 12.28 44.48 0L176 322.72l100.07 100.07c12.28 12.28 32.2 12.28 44.48 0l22.24-22.24c12.28-12.28 12.28-32.19 0-44.48L242.72 256z"
                                />
                              </svg>
                            </button>
                            <header
                              class="pf-c-modal-box__header"
                            >
                              <h1
                                class="pf-c-modal-box__title"
                                id="pf-modal-part-1"
                              >
                                
                                <span
                                  class="pf-c-modal-box__title-text"
                                >
                                  Delete application
                                </span>
                              </h1>
                            </header>
                            <div
                              class="pf-c-modal-box__body"
                              id="pf-modal-part-2"
                            >
                              <div
                                class="remove-app-modal-alert"
                              />
                              <div>
                                <section
                                  class="pf-c-page__main-section"
                                >
                                  <article
                                    class="pf-c-card"
                                    data-ouia-component-id="OUIA-Generated-Card-1"
                                    data-ouia-component-type="PF4/Card"
                                    data-ouia-safe="true"
                                  >
                                    <div
                                      class="pf-c-card__body"
                                    >
                                      <div
                                        class="pf-c-empty-state"
                                      >
                                        <div
                                          class="pf-c-empty-state__content"
                                        >
                                          <div
                                            class="pf-c-empty-state__icon"
                                          >
                                            <span
                                              aria-valuetext="Loading..."
                                              class="pf-c-spinner pf-m-xl"
                                              role="progressbar"
                                            >
                                              <span
                                                class="pf-c-spinner__clipper"
                                              />
                                              <span
                                                class="pf-c-spinner__lead-ball"
                                              />
                                              <span
                                                class="pf-c-spinner__tail-ball"
                                              />
                                            </span>
                                          </div>
                                          <h4
                                            class="pf-c-title pf-m-lg"
                                          >
                                            Loading
                                          </h4>
                                        </div>
                                      </div>
                                    </div>
                                  </article>
                                </section>
                              </div>
                            </div>
                            <footer
                              class="pf-c-modal-box__footer"
                            >
                              <button
                                aria-disabled="true"
                                class="pf-c-button pf-m-danger pf-m-disabled"
                                data-ouia-component-id="OUIA-Generated-Button-danger-1"
                                data-ouia-component-type="PF4/Button"
                                data-ouia-safe="true"
                                disabled=""
                                type="button"
                              >
                                Delete application
                              </button>
                              <button
                                aria-disabled="false"
                                class="pf-c-button pf-m-secondary"
                                data-ouia-component-id="OUIA-Generated-Button-secondary-1"
                                data-ouia-component-type="PF4/Button"
                                data-ouia-safe="true"
                                type="button"
                              >
                                Cancel
                              </button>
                            </footer>
                          </div>
                        </div>
                      </div>
                    </div>
                  }
                >
                  <ModalContent
                    actions={
                      Array [
                        <Button
                          isDisabled={true}
                          onClick={[Function]}
                          variant="danger"
                        >
                          Delete application
                        </Button>,
                        <Button
                          onClick={[Function]}
                          variant="secondary"
                        >
                          Cancel
                        </Button>,
                      ]
                    }
                    aria-describedby=""
                    aria-label="Delete application"
                    aria-labelledby=""
                    boxId="remove-resource-modal"
                    className=""
                    descriptorId="pf-modal-part-2"
                    hasNoBodyWrapper={false}
                    id="remove-resource-modal"
                    isOpen={true}
                    labelId="pf-modal-part-1"
                    onClose={[Function]}
                    ouiaId="OUIA-Generated-Modal-large-1"
                    ouiaSafe={true}
                    position="top"
                    positionOffset="200px"
                    showClose={true}
                    title="Delete application"
                    titleIconVariant={null}
                    titleLabel=""
                    variant="large"
                  >
                    <Backdrop>
                      <div
                        className="pf-c-backdrop"
                      >
                        <FocusTrap
                          active={true}
                          className="pf-l-bullseye"
                          focusTrapOptions={
                            Object {
                              "clickOutsideDeactivates": true,
                            }
                          }
                          paused={false}
                        >
                          <div
                            className="pf-l-bullseye"
                          >
                            <ModalBox
                              aria-describedby="pf-modal-part-2"
                              aria-label="Delete application"
                              aria-labelledby="remove-resource-modal pf-modal-part-1"
                              className=""
                              data-ouia-component-id="OUIA-Generated-Modal-large-1"
                              data-ouia-component-type="PF4/ModalContent"
                              data-ouia-safe={true}
                              id="remove-resource-modal"
                              position="top"
                              positionOffset="200px"
                              style={
                                Object {
                                  "--pf-c-modal-box--m-align-top--spacer": "200px",
                                }
                              }
                              variant="large"
                            >
                              <div
                                aria-describedby="pf-modal-part-2"
                                aria-label="Delete application"
                                aria-labelledby="remove-resource-modal pf-modal-part-1"
                                aria-modal="true"
                                className="pf-c-modal-box pf-m-align-top pf-m-lg"
                                data-ouia-component-id="OUIA-Generated-Modal-large-1"
                                data-ouia-component-type="PF4/ModalContent"
                                data-ouia-safe={true}
                                id="remove-resource-modal"
                                role="dialog"
                                style={
                                  Object {
                                    "--pf-c-modal-box--m-align-top--spacer": "200px",
                                  }
                                }
                              >
                                <ModalBoxCloseButton
                                  onClose={[Function]}
                                >
                                  <Button
                                    aria-label="Close"
                                    className=""
                                    onClick={[Function]}
                                    variant="plain"
                                  >
                                    <button
                                      aria-disabled={false}
                                      aria-label="Close"
                                      className="pf-c-button pf-m-plain"
                                      data-ouia-component-id="OUIA-Generated-Button-plain-1"
                                      data-ouia-component-type="PF4/Button"
                                      data-ouia-safe={true}
                                      disabled={false}
                                      onClick={[Function]}
                                      role={null}
                                      type="button"
                                    >
                                      <TimesIcon
                                        color="currentColor"
                                        noVerticalAlign={false}
                                        size="sm"
                                      >
                                        <svg
                                          aria-hidden={true}
                                          aria-labelledby={null}
                                          fill="currentColor"
                                          height="1em"
                                          role="img"
                                          style={
                                            Object {
                                              "verticalAlign": "-0.125em",
                                            }
                                          }
                                          viewBox="0 0 352 512"
                                          width="1em"
                                        >
                                          <path
                                            d="M242.72 256l100.07-100.07c12.28-12.28 12.28-32.19 0-44.48l-22.24-22.24c-12.28-12.28-32.19-12.28-44.48 0L176 189.28 75.93 89.21c-12.28-12.28-32.19-12.28-44.48 0L9.21 111.45c-12.28 12.28-12.28 32.19 0 44.48L109.28 256 9.21 356.07c-12.28 12.28-12.28 32.19 0 44.48l22.24 22.24c12.28 12.28 32.2 12.28 44.48 0L176 322.72l100.07 100.07c12.28 12.28 32.2 12.28 44.48 0l22.24-22.24c12.28-12.28 12.28-32.19 0-44.48L242.72 256z"
                                          />
                                        </svg>
                                      </TimesIcon>
                                    </button>
                                  </Button>
                                </ModalBoxCloseButton>
                                <ModalBoxHeader
                                  help={null}
                                >
                                  <header
                                    className="pf-c-modal-box__header"
                                  >
                                    <ModalBoxTitle
                                      id="pf-modal-part-1"
                                      title="Delete application"
                                      titleIconVariant={null}
                                      titleLabel=""
                                    >
                                      <h1
                                        className="pf-c-modal-box__title"
                                        id="pf-modal-part-1"
                                      >
                                        <span
                                          className="pf-c-modal-box__title-text"
                                        >
                                          Delete application
                                        </span>
                                      </h1>
                                    </ModalBoxTitle>
                                  </header>
                                </ModalBoxHeader>
                                <ModalBoxBody
                                  id="pf-modal-part-2"
                                >
                                  <div
                                    className="pf-c-modal-box__body"
                                    id="pf-modal-part-2"
                                  >
                                    <div
                                      className="remove-app-modal-alert"
                                    />
                                    <div>
                                      <AcmLoadingPage>
                                        <AcmPageCard>
                                          <PageSection>
                                            <section
                                              className="pf-c-page__main-section"
                                            >
                                              <Card>
                                                <article
                                                  className="pf-c-card"
                                                  data-ouia-component-id="OUIA-Generated-Card-1"
                                                  data-ouia-component-type="PF4/Card"
                                                  data-ouia-safe={true}
                                                >
                                                  <CardBody>
                                                    <div
                                                      className="pf-c-card__body"
                                                    >
                                                      <EmptyState>
                                                        <div
                                                          className="pf-c-empty-state"
                                                        >
                                                          <div
                                                            className="pf-c-empty-state__content"
                                                          >
                                                            <EmptyStateIcon
                                                              component={[Function]}
                                                              variant="container"
                                                            >
                                                              <div
                                                                className="pf-c-empty-state__icon"
                                                              >
                                                                <Spinner>
                                                                  <span
                                                                    aria-valuetext="Loading..."
                                                                    className="pf-c-spinner pf-m-xl"
                                                                    role="progressbar"
                                                                  >
                                                                    <span
                                                                      className="pf-c-spinner__clipper"
                                                                    />
                                                                    <span
                                                                      className="pf-c-spinner__lead-ball"
                                                                    />
                                                                    <span
                                                                      className="pf-c-spinner__tail-ball"
                                                                    />
                                                                  </span>
                                                                </Spinner>
                                                              </div>
                                                            </EmptyStateIcon>
                                                            <Title
                                                              headingLevel="h4"
                                                              size="lg"
                                                            >
                                                              <h4
                                                                className="pf-c-title pf-m-lg"
                                                              >
                                                                Loading
                                                              </h4>
                                                            </Title>
                                                          </div>
                                                        </div>
                                                      </EmptyState>
                                                    </div>
                                                  </CardBody>
                                                </article>
                                              </Card>
                                            </section>
                                          </PageSection>
                                        </AcmPageCard>
                                      </AcmLoadingPage>
                                    </div>
                                  </div>
                                </ModalBoxBody>
                                <ModalBoxFooter>
                                  <footer
                                    className="pf-c-modal-box__footer"
                                  >
                                    <Button
                                      isDisabled={true}
                                      key="confirm"
                                      onClick={[Function]}
                                      variant="danger"
                                    >
                                      <button
                                        aria-disabled={true}
                                        aria-label={null}
                                        className="pf-c-button pf-m-danger pf-m-disabled"
                                        data-ouia-component-id="OUIA-Generated-Button-danger-1"
                                        data-ouia-component-type="PF4/Button"
                                        data-ouia-safe={true}
                                        disabled={true}
                                        onClick={[Function]}
                                        role={null}
                                        tabIndex={null}
                                        type="button"
                                      >
                                        Delete application
                                      </button>
                                    </Button>
                                    <Button
                                      key="cancel"
                                      onClick={[Function]}
                                      variant="secondary"
                                    >
                                      <button
                                        aria-disabled={false}
                                        aria-label={null}
                                        className="pf-c-button pf-m-secondary"
                                        data-ouia-component-id="OUIA-Generated-Button-secondary-1"
                                        data-ouia-component-type="PF4/Button"
                                        data-ouia-safe={true}
                                        disabled={false}
                                        onClick={[Function]}
                                        role={null}
                                        type="button"
                                      >
                                        Cancel
                                      </button>
                                    </Button>
                                  </footer>
                                </ModalBoxFooter>
                              </div>
                            </ModalBox>
                          </div>
                        </FocusTrap>
                      </div>
                    </Backdrop>
                  </ModalContent>
                </Portal>
              </Modal>
            </AcmModal>
          </div>
        </RemoveResourceModal>
      </Connect(RemoveResourceModal)>
    </withLocale(Connect(RemoveResourceModal))>
  </Router>
</BrowserRouter>
`;
