Skip to content
This repository has been archived by the owner on Jun 27, 2023. It is now read-only.

Add Cypress tests #136

Merged
merged 12 commits into from
Jul 24, 2020
Merged

Add Cypress tests #136

merged 12 commits into from
Jul 24, 2020

Conversation

meissadia
Copy link
Contributor

@meissadia meissadia commented Jul 22, 2020

Closes cfpb/hmda-frontend#560

  • Installs Cypress, Cypress Testing Library, and Cypress Keycloak
  • Adds "for" attributes to text, radio, and select input's labels
  • Adds test for deleting/creating institutions
  • Adds test for updating an institutions

Testing

Create a /cypress.env.json with the following env vars

  {
    "HH_AUTH_URL": "https://<dev-url>",
    "HH_USERNAME": <keycloak-username>,
    "HH_PASSWORD": <keycloak-password>
  }

Run yarn cypress run

@meissadia meissadia marked this pull request as ready for review July 23, 2020 18:05
@meissadia meissadia requested a review from wpears July 23, 2020 18:05
Copy link
Member

@wpears wpears left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approved pending rebase/merge

@meissadia
Copy link
Contributor Author

Rebased, reinstalled dependencies, and retested. All checks out ✅

I'm going to merge.

@meissadia meissadia merged commit 7452a21 into master Jul 24, 2020
@meissadia meissadia deleted the 560-add-cypress-tests branch July 24, 2020 15:49
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

HMDA Help Integration Tests
2 participants