hunk.code_window: Cypress.Commands.add("deleteUserFromOrg", (orgName, email) => {
     cy.get(homePage.orgList.concat(orgName).concat(")"))
       .scrollIntoView()
       .should("be.visible");
     cy.get(".t--org-name a")
       .first()
       .click({ force: true });
     cy.xpath(homePage.MemberSettings).click({ force: true });
     cy.wait("@getOrganisation");
  
hunk.labels: keep keep keep keep keep replace keep keep keep keep
hunk.after_edit:   cy.get(".t--org-name span")
       .contains(orgName)
  
hunk.file_path: app/client/cypress/support/commands.js
hunk.type: replace
file: import React from "react";
  import { connect } from "react-redux";
  import { Form, reduxForm, InjectedFormProps, Field } from "redux-form";
  import { CREATE_APPLICATION_FORM_NAME } from "constants/forms";
  import { AppState } from "reducers";
  import {
    CreateApplicationFormValues,
    createApplicationFormSubmitHandler,
  } from "./helpers";
  import TextField from "components/editorComponents/form/fields/TextField";
  import FormGroup from "components/editorComponents/form/FormGroup";
  import FormFooter from "components/editorComponents/form/FormFooter";
  import FormMessage from "components/editorComponents/form/FormMessage";
  
  type Props = InjectedFormProps<
    CreateApplicationFormValues,
    { onCancel: () => void; orgId: string; initialValues: {} }
  > & {
    onCancel: () => void;
    orgId: string;
    initialValues: {};
  };
  
  // TODO(abhinav): abstract onCancel out.
  
  export const CreateApplicationForm = (props: Props) => {
    const { error, handleSubmit, pristine, submitting } = props;
    return (
      <Form onSubmit={handleSubmit(createApplicationFormSubmitHandler)}>
        {error && !pristine && <FormMessage intent="danger" message={error} />}
        <FormGroup intent={error ? "danger" : "none"}>
          <TextField name="applicationName" placeholder="Name" />
          <Field type="hidden" name="orgId" component="input" />
        </FormGroup>
        <FormFooter
          onCancel={props.onCancel}
          onSubmit={handleSubmit(createApplicationFormSubmitHandler)}
          divider
          submitOnEnter
          data-cy="t--create-app-submit"
          submitText="Submit"
          size="small"
          submitting={submitting && !error}
        />
      </Form>
    );
  };
  
  const mapStateToProps = (state: AppState, props: Props): any => {
    const orgId = props.orgId;
    return {
      initialValues: { orgId },
    };
  };
  
  export default connect(mapStateToProps)(
    reduxForm<
      CreateApplicationFormValues,
      { onCancel: () => void; orgId: string; initialValues: {} }
    >({
      form: CREATE_APPLICATION_FORM_NAME,
      onSubmit: createApplicationFormSubmitHandler,
    })(CreateApplicationForm),
  );
  