diff --git a/.gitignore b/.gitignore index d30f40e..d5e162a 100644 --- a/.gitignore +++ b/.gitignore @@ -15,6 +15,9 @@ .env.development.local .env.test.local .env.production.local +cypress.env.json +cypress/videos +cypress/snapshots npm-debug.log* yarn-debug.log* diff --git a/cypress.json b/cypress.json new file mode 100644 index 0000000..57bac13 --- /dev/null +++ b/cypress.json @@ -0,0 +1,10 @@ +{ + "chromeWebSecurity": false, + "pluginsFile": false, + "env": { + "HH_INSTITUTION": "FRONTENDTESTBANK9999", + "HH_AUTH_REALM": "hmda2", + "HH_AUTH_CLIENT_ID": "hmda2-api", + "HH_HOST": "http://localhost:3000" + } +} diff --git a/cypress/integration/institution.spec.js b/cypress/integration/institution.spec.js new file mode 100644 index 0000000..6441db9 --- /dev/null +++ b/cypress/integration/institution.spec.js @@ -0,0 +1,115 @@ +const { + HH_HOST, + HH_USERNAME, + HH_PASSWORD, + HH_INSTITUTION, + HH_AUTH_URL, + HH_AUTH_REALM, + HH_AUTH_CLIENT_ID +} = Cypress.env() + +describe('HMDA Help', () => { + beforeEach(() => { + cy.logout({ root: HH_AUTH_URL, realm: HH_AUTH_REALM }) + cy.login({ + root: HH_AUTH_URL, + realm: HH_AUTH_REALM, + client_id: HH_AUTH_CLIENT_ID, + redirect_uri: HH_HOST, + username: HH_USERNAME, + password: HH_PASSWORD + }) + cy.viewport(1600, 900) + cy.visit(HH_HOST) + }) + + it('Can update existing Institutions', () => { + // Search for existing Instititution + cy.findByLabelText("LEI").type(HH_INSTITUTION) + cy.findByText('Search institutions').click() + cy.findAllByText('Update') + .first() + .click() + + const successMessage = `The institution, ${HH_INSTITUTION}, has been updated.` + const nameLabelText = 'Respondent Name' + const updateButtonText = 'Update the institution' + const testName = 'Cypress Test Name Update' + + cy.findByLabelText(nameLabelText).then($name => { + const savedName = $name.attr('value') + expect($name.attr('value')).to.not.contain(testName) + + // Change Respondent Name + cy.findByLabelText(nameLabelText) + .type('{selectAll}' + testName) + .blur() + .then($name2 => { + cy.findByText(updateButtonText) + .should('be.enabled') + .click() + .then(() => { + // Validate + cy.findAllByText(successMessage) + .should('exist') + .then(() => { + expect($name2.attr('value')).to.contain(testName) + }) + }) + }) + + // Change it back + cy.findByLabelText(nameLabelText) + .type('{selectAll}' + savedName) + .blur() + .then(() => { + cy.findByText(updateButtonText) + .should('be.enabled') + .click() + .then(() => { + // Validate + cy.findAllByText(successMessage) + .should('exist') + .then(() => { + expect($name.attr('value')).to.contain(savedName) + }) + }) + }) + }) + }) + + it('Can delete and create Institutions', () => { + const institution = 'MEISSADIATESTBANK001' + const year = '2020' + + // Delete + cy.findByLabelText("LEI").type(`${institution}{enter}`) + cy.get('table.institutions tbody tr').first().get('td').first().should('contain', year) + cy.findAllByText('Delete').first().click() + cy.findAllByText('Yes').first().click() + cy.get('table.institutions tbody tr').first().get('td').first().should('not.contain', year) + + // Create + cy.visit(HH_HOST) + cy.findByLabelText("LEI").type("MEISSADIATESTBANK001{enter}") + cy.findByText(`Add ${institution} for ${year}`).click() + + cy.findByLabelText('Activity Year').select(year).should('have.value', year) + cy.findByLabelText('Respondent Name').type('MD Bank 1') + cy.findByLabelText('Email Domains').type('bank1.com') + cy.findByLabelText('Tax Id').type('53-0000001') + cy.findByLabelText('9 - Consumer Financial Protection Bureau (CFPB)').click() + + cy.findByText('Show other fields').click() + cy.findByLabelText('RSSD').type('-1') + cy.findByLabelText('Parent ID RSSD').type('-1') + cy.findByLabelText('Assets').type('-1') + cy.findByLabelText('Top Holder ID RSSD').type('-1') + + cy.findByText('Add the institution') + .should('be.enabled') + .click() + + cy.findAllByText(`The institution, ${institution}, has been added!`).should('exist') + }) +}) diff --git a/cypress/support/index.js b/cypress/support/index.js new file mode 100644 index 0000000..ae46dec --- /dev/null +++ b/cypress/support/index.js @@ -0,0 +1,7 @@ +// *********************************************************** +// You can read more here: +// https://on.cypress.io/configuration +// *********************************************************** + +import '@testing-library/cypress/add-commands' +import 'cypress-keycloak'; diff --git a/npm-packages-offline-cache/@cypress-listr-verbose-renderer-0.4.1.tgz b/npm-packages-offline-cache/@cypress-listr-verbose-renderer-0.4.1.tgz new file mode 100644 index 0000000..bf95ed5 Binary files /dev/null and b/npm-packages-offline-cache/@cypress-listr-verbose-renderer-0.4.1.tgz differ diff --git a/npm-packages-offline-cache/@cypress-request-2.88.5.tgz b/npm-packages-offline-cache/@cypress-request-2.88.5.tgz new file mode 100644 index 0000000..ef06850 Binary files /dev/null and b/npm-packages-offline-cache/@cypress-request-2.88.5.tgz differ diff --git a/npm-packages-offline-cache/@cypress-xvfb-1.2.4.tgz b/npm-packages-offline-cache/@cypress-xvfb-1.2.4.tgz new file mode 100644 index 0000000..250fae3 Binary files /dev/null and b/npm-packages-offline-cache/@cypress-xvfb-1.2.4.tgz differ diff --git a/npm-packages-offline-cache/@jest-types-25.5.0.tgz b/npm-packages-offline-cache/@jest-types-25.5.0.tgz new file mode 100644 index 0000000..272fc37 Binary files /dev/null and b/npm-packages-offline-cache/@jest-types-25.5.0.tgz differ diff --git a/npm-packages-offline-cache/@samverschueren-stream-to-observable-0.3.0.tgz b/npm-packages-offline-cache/@samverschueren-stream-to-observable-0.3.0.tgz new file mode 100644 index 0000000..1786921 Binary files /dev/null and b/npm-packages-offline-cache/@samverschueren-stream-to-observable-0.3.0.tgz differ diff --git a/npm-packages-offline-cache/@testing-library-cypress-6.0.0.tgz b/npm-packages-offline-cache/@testing-library-cypress-6.0.0.tgz new file mode 100644 index 0000000..de728d3 Binary files /dev/null and b/npm-packages-offline-cache/@testing-library-cypress-6.0.0.tgz differ diff --git a/npm-packages-offline-cache/@testing-library-dom-7.21.4.tgz b/npm-packages-offline-cache/@testing-library-dom-7.21.4.tgz new file mode 100644 index 0000000..dc89b14 Binary files /dev/null and b/npm-packages-offline-cache/@testing-library-dom-7.21.4.tgz differ diff --git a/npm-packages-offline-cache/@types-aria-query-4.2.0.tgz b/npm-packages-offline-cache/@types-aria-query-4.2.0.tgz new file mode 100644 index 0000000..4f4c145 Binary files /dev/null and b/npm-packages-offline-cache/@types-aria-query-4.2.0.tgz differ diff --git a/npm-packages-offline-cache/@types-node-14.0.24.tgz b/npm-packages-offline-cache/@types-node-14.0.24.tgz deleted file mode 100644 index c855ede..0000000 Binary files a/npm-packages-offline-cache/@types-node-14.0.24.tgz and /dev/null differ diff --git a/npm-packages-offline-cache/@types-node-14.0.25.tgz b/npm-packages-offline-cache/@types-node-14.0.25.tgz new file mode 100644 index 0000000..49c0a4c Binary files /dev/null and b/npm-packages-offline-cache/@types-node-14.0.25.tgz differ diff --git a/npm-packages-offline-cache/@types-sinonjs__fake-timers-6.0.1.tgz b/npm-packages-offline-cache/@types-sinonjs__fake-timers-6.0.1.tgz new file mode 100644 index 0000000..6420b9d Binary files /dev/null and b/npm-packages-offline-cache/@types-sinonjs__fake-timers-6.0.1.tgz differ diff --git a/npm-packages-offline-cache/@types-sizzle-2.3.2.tgz b/npm-packages-offline-cache/@types-sizzle-2.3.2.tgz new file mode 100644 index 0000000..e198c29 Binary files /dev/null and b/npm-packages-offline-cache/@types-sizzle-2.3.2.tgz differ diff --git a/npm-packages-offline-cache/@types-testing-library__cypress-5.0.6.tgz b/npm-packages-offline-cache/@types-testing-library__cypress-5.0.6.tgz new file mode 100644 index 0000000..8591076 Binary files /dev/null and b/npm-packages-offline-cache/@types-testing-library__cypress-5.0.6.tgz differ diff --git a/npm-packages-offline-cache/@types-yargs-15.0.5.tgz b/npm-packages-offline-cache/@types-yargs-15.0.5.tgz new file mode 100644 index 0000000..e686f40 Binary files /dev/null and b/npm-packages-offline-cache/@types-yargs-15.0.5.tgz differ diff --git a/npm-packages-offline-cache/any-observable-0.3.0.tgz b/npm-packages-offline-cache/any-observable-0.3.0.tgz new file mode 100644 index 0000000..624f998 Binary files /dev/null and b/npm-packages-offline-cache/any-observable-0.3.0.tgz differ diff --git a/npm-packages-offline-cache/arch-2.1.2.tgz b/npm-packages-offline-cache/arch-2.1.2.tgz new file mode 100644 index 0000000..421422f Binary files /dev/null and b/npm-packages-offline-cache/arch-2.1.2.tgz differ diff --git a/npm-packages-offline-cache/aria-query-4.2.2.tgz b/npm-packages-offline-cache/aria-query-4.2.2.tgz new file mode 100644 index 0000000..ef63a7a Binary files /dev/null and b/npm-packages-offline-cache/aria-query-4.2.2.tgz differ diff --git a/npm-packages-offline-cache/async-3.2.0.tgz b/npm-packages-offline-cache/async-3.2.0.tgz new file mode 100644 index 0000000..fea0d10 Binary files /dev/null and b/npm-packages-offline-cache/async-3.2.0.tgz differ diff --git a/npm-packages-offline-cache/buffer-crc32-0.2.13.tgz b/npm-packages-offline-cache/buffer-crc32-0.2.13.tgz new file mode 100644 index 0000000..f1ef979 Binary files /dev/null and b/npm-packages-offline-cache/buffer-crc32-0.2.13.tgz differ diff --git a/npm-packages-offline-cache/cachedir-2.3.0.tgz b/npm-packages-offline-cache/cachedir-2.3.0.tgz new file mode 100644 index 0000000..d6503fa Binary files /dev/null and b/npm-packages-offline-cache/cachedir-2.3.0.tgz differ diff --git a/npm-packages-offline-cache/chalk-3.0.0.tgz b/npm-packages-offline-cache/chalk-3.0.0.tgz new file mode 100644 index 0000000..bd94e7a Binary files /dev/null and b/npm-packages-offline-cache/chalk-3.0.0.tgz differ diff --git a/npm-packages-offline-cache/check-more-types-2.24.0.tgz b/npm-packages-offline-cache/check-more-types-2.24.0.tgz new file mode 100644 index 0000000..686a963 Binary files /dev/null and b/npm-packages-offline-cache/check-more-types-2.24.0.tgz differ diff --git a/npm-packages-offline-cache/cli-cursor-1.0.2.tgz b/npm-packages-offline-cache/cli-cursor-1.0.2.tgz new file mode 100644 index 0000000..57be747 Binary files /dev/null and b/npm-packages-offline-cache/cli-cursor-1.0.2.tgz differ diff --git a/npm-packages-offline-cache/cli-cursor-2.1.0.tgz b/npm-packages-offline-cache/cli-cursor-2.1.0.tgz new file mode 100644 index 0000000..322fe00 Binary files /dev/null and b/npm-packages-offline-cache/cli-cursor-2.1.0.tgz differ diff --git a/npm-packages-offline-cache/cli-table3-0.5.1.tgz b/npm-packages-offline-cache/cli-table3-0.5.1.tgz new file mode 100644 index 0000000..78b8319 Binary files /dev/null and b/npm-packages-offline-cache/cli-table3-0.5.1.tgz differ diff --git a/npm-packages-offline-cache/cli-truncate-0.2.1.tgz b/npm-packages-offline-cache/cli-truncate-0.2.1.tgz new file mode 100644 index 0000000..f2b71f8 Binary files /dev/null and b/npm-packages-offline-cache/cli-truncate-0.2.1.tgz differ diff --git a/npm-packages-offline-cache/colors-1.4.0.tgz b/npm-packages-offline-cache/colors-1.4.0.tgz new file mode 100644 index 0000000..d7f02c6 Binary files /dev/null and b/npm-packages-offline-cache/colors-1.4.0.tgz differ diff --git a/npm-packages-offline-cache/cypress-4.11.0.tgz b/npm-packages-offline-cache/cypress-4.11.0.tgz new file mode 100644 index 0000000..95a774e Binary files /dev/null and b/npm-packages-offline-cache/cypress-4.11.0.tgz differ diff --git a/npm-packages-offline-cache/cypress-keycloak-1.5.0.tgz b/npm-packages-offline-cache/cypress-keycloak-1.5.0.tgz new file mode 100644 index 0000000..747c5ca Binary files /dev/null and b/npm-packages-offline-cache/cypress-keycloak-1.5.0.tgz differ diff --git a/npm-packages-offline-cache/date-fns-1.30.1.tgz b/npm-packages-offline-cache/date-fns-1.30.1.tgz new file mode 100644 index 0000000..c99c044 Binary files /dev/null and b/npm-packages-offline-cache/date-fns-1.30.1.tgz differ diff --git a/npm-packages-offline-cache/dom-accessibility-api-0.4.6.tgz b/npm-packages-offline-cache/dom-accessibility-api-0.4.6.tgz new file mode 100644 index 0000000..7e7acd8 Binary files /dev/null and b/npm-packages-offline-cache/dom-accessibility-api-0.4.6.tgz differ diff --git a/npm-packages-offline-cache/electron-to-chromium-1.3.505.tgz b/npm-packages-offline-cache/electron-to-chromium-1.3.506.tgz similarity index 74% rename from npm-packages-offline-cache/electron-to-chromium-1.3.505.tgz rename to npm-packages-offline-cache/electron-to-chromium-1.3.506.tgz index a4418fa..4256c69 100644 Binary files a/npm-packages-offline-cache/electron-to-chromium-1.3.505.tgz and b/npm-packages-offline-cache/electron-to-chromium-1.3.506.tgz differ diff --git a/npm-packages-offline-cache/elegant-spinner-1.0.1.tgz b/npm-packages-offline-cache/elegant-spinner-1.0.1.tgz new file mode 100644 index 0000000..04e0491 Binary files /dev/null and b/npm-packages-offline-cache/elegant-spinner-1.0.1.tgz differ diff --git a/npm-packages-offline-cache/eventemitter2-6.4.2.tgz b/npm-packages-offline-cache/eventemitter2-6.4.2.tgz new file mode 100644 index 0000000..8d17a42 Binary files /dev/null and b/npm-packages-offline-cache/eventemitter2-6.4.2.tgz differ diff --git a/npm-packages-offline-cache/executable-4.1.1.tgz b/npm-packages-offline-cache/executable-4.1.1.tgz new file mode 100644 index 0000000..581f578 Binary files /dev/null and b/npm-packages-offline-cache/executable-4.1.1.tgz differ diff --git a/npm-packages-offline-cache/exit-hook-1.1.1.tgz b/npm-packages-offline-cache/exit-hook-1.1.1.tgz new file mode 100644 index 0000000..17c3679 Binary files /dev/null and b/npm-packages-offline-cache/exit-hook-1.1.1.tgz differ diff --git a/npm-packages-offline-cache/extract-zip-1.7.0.tgz b/npm-packages-offline-cache/extract-zip-1.7.0.tgz new file mode 100644 index 0000000..b970cee Binary files /dev/null and b/npm-packages-offline-cache/extract-zip-1.7.0.tgz differ diff --git a/npm-packages-offline-cache/fd-slicer-1.1.0.tgz b/npm-packages-offline-cache/fd-slicer-1.1.0.tgz new file mode 100644 index 0000000..1b82aff Binary files /dev/null and b/npm-packages-offline-cache/fd-slicer-1.1.0.tgz differ diff --git a/npm-packages-offline-cache/figures-1.7.0.tgz b/npm-packages-offline-cache/figures-1.7.0.tgz new file mode 100644 index 0000000..8df1cf9 Binary files /dev/null and b/npm-packages-offline-cache/figures-1.7.0.tgz differ diff --git a/npm-packages-offline-cache/figures-2.0.0.tgz b/npm-packages-offline-cache/figures-2.0.0.tgz new file mode 100644 index 0000000..67c3d7e Binary files /dev/null and b/npm-packages-offline-cache/figures-2.0.0.tgz differ diff --git a/npm-packages-offline-cache/getos-3.2.1.tgz b/npm-packages-offline-cache/getos-3.2.1.tgz new file mode 100644 index 0000000..db7d416 Binary files /dev/null and b/npm-packages-offline-cache/getos-3.2.1.tgz differ diff --git a/npm-packages-offline-cache/global-dirs-2.0.1.tgz b/npm-packages-offline-cache/global-dirs-2.0.1.tgz new file mode 100644 index 0000000..63e5b46 Binary files /dev/null and b/npm-packages-offline-cache/global-dirs-2.0.1.tgz differ diff --git a/npm-packages-offline-cache/indent-string-3.2.0.tgz b/npm-packages-offline-cache/indent-string-3.2.0.tgz new file mode 100644 index 0000000..fddd502 Binary files /dev/null and b/npm-packages-offline-cache/indent-string-3.2.0.tgz differ diff --git a/npm-packages-offline-cache/is-installed-globally-0.3.2.tgz b/npm-packages-offline-cache/is-installed-globally-0.3.2.tgz new file mode 100644 index 0000000..eadb87c Binary files /dev/null and b/npm-packages-offline-cache/is-installed-globally-0.3.2.tgz differ diff --git a/npm-packages-offline-cache/is-observable-1.1.0.tgz b/npm-packages-offline-cache/is-observable-1.1.0.tgz new file mode 100644 index 0000000..1621e83 Binary files /dev/null and b/npm-packages-offline-cache/is-observable-1.1.0.tgz differ diff --git a/npm-packages-offline-cache/is-path-inside-3.0.2.tgz b/npm-packages-offline-cache/is-path-inside-3.0.2.tgz new file mode 100644 index 0000000..848242b Binary files /dev/null and b/npm-packages-offline-cache/is-path-inside-3.0.2.tgz differ diff --git a/npm-packages-offline-cache/is-promise-2.2.2.tgz b/npm-packages-offline-cache/is-promise-2.2.2.tgz new file mode 100644 index 0000000..09f29ab Binary files /dev/null and b/npm-packages-offline-cache/is-promise-2.2.2.tgz differ diff --git a/npm-packages-offline-cache/lazy-ass-1.6.0.tgz b/npm-packages-offline-cache/lazy-ass-1.6.0.tgz new file mode 100644 index 0000000..68d439d Binary files /dev/null and b/npm-packages-offline-cache/lazy-ass-1.6.0.tgz differ diff --git a/npm-packages-offline-cache/listr-0.14.3.tgz b/npm-packages-offline-cache/listr-0.14.3.tgz new file mode 100644 index 0000000..cf6470a Binary files /dev/null and b/npm-packages-offline-cache/listr-0.14.3.tgz differ diff --git a/npm-packages-offline-cache/listr-silent-renderer-1.1.1.tgz b/npm-packages-offline-cache/listr-silent-renderer-1.1.1.tgz new file mode 100644 index 0000000..8bce734 Binary files /dev/null and b/npm-packages-offline-cache/listr-silent-renderer-1.1.1.tgz differ diff --git a/npm-packages-offline-cache/listr-update-renderer-0.5.0.tgz b/npm-packages-offline-cache/listr-update-renderer-0.5.0.tgz new file mode 100644 index 0000000..4f38854 Binary files /dev/null and b/npm-packages-offline-cache/listr-update-renderer-0.5.0.tgz differ diff --git a/npm-packages-offline-cache/listr-verbose-renderer-0.5.0.tgz b/npm-packages-offline-cache/listr-verbose-renderer-0.5.0.tgz new file mode 100644 index 0000000..5968545 Binary files /dev/null and b/npm-packages-offline-cache/listr-verbose-renderer-0.5.0.tgz differ diff --git a/npm-packages-offline-cache/lodash.once-4.1.1.tgz b/npm-packages-offline-cache/lodash.once-4.1.1.tgz new file mode 100644 index 0000000..29cb39e Binary files /dev/null and b/npm-packages-offline-cache/lodash.once-4.1.1.tgz differ diff --git a/npm-packages-offline-cache/log-symbols-1.0.2.tgz b/npm-packages-offline-cache/log-symbols-1.0.2.tgz new file mode 100644 index 0000000..53387ea Binary files /dev/null and b/npm-packages-offline-cache/log-symbols-1.0.2.tgz differ diff --git a/npm-packages-offline-cache/log-symbols-3.0.0.tgz b/npm-packages-offline-cache/log-symbols-3.0.0.tgz new file mode 100644 index 0000000..bd2e380 Binary files /dev/null and b/npm-packages-offline-cache/log-symbols-3.0.0.tgz differ diff --git a/npm-packages-offline-cache/log-update-2.3.0.tgz b/npm-packages-offline-cache/log-update-2.3.0.tgz new file mode 100644 index 0000000..a56e331 Binary files /dev/null and b/npm-packages-offline-cache/log-update-2.3.0.tgz differ diff --git a/npm-packages-offline-cache/mimic-fn-1.2.0.tgz b/npm-packages-offline-cache/mimic-fn-1.2.0.tgz new file mode 100644 index 0000000..dacc7a2 Binary files /dev/null and b/npm-packages-offline-cache/mimic-fn-1.2.0.tgz differ diff --git a/npm-packages-offline-cache/moment-2.26.0.tgz b/npm-packages-offline-cache/moment-2.26.0.tgz new file mode 100644 index 0000000..ac78bf9 Binary files /dev/null and b/npm-packages-offline-cache/moment-2.26.0.tgz differ diff --git a/npm-packages-offline-cache/onetime-1.1.0.tgz b/npm-packages-offline-cache/onetime-1.1.0.tgz new file mode 100644 index 0000000..f039bd8 Binary files /dev/null and b/npm-packages-offline-cache/onetime-1.1.0.tgz differ diff --git a/npm-packages-offline-cache/onetime-2.0.1.tgz b/npm-packages-offline-cache/onetime-2.0.1.tgz new file mode 100644 index 0000000..182df7c Binary files /dev/null and b/npm-packages-offline-cache/onetime-2.0.1.tgz differ diff --git a/npm-packages-offline-cache/ospath-1.2.2.tgz b/npm-packages-offline-cache/ospath-1.2.2.tgz new file mode 100644 index 0000000..2977b3b Binary files /dev/null and b/npm-packages-offline-cache/ospath-1.2.2.tgz differ diff --git a/npm-packages-offline-cache/parse-json-5.0.0.tgz b/npm-packages-offline-cache/parse-json-5.0.0.tgz deleted file mode 100644 index 485be5b..0000000 Binary files a/npm-packages-offline-cache/parse-json-5.0.0.tgz and /dev/null differ diff --git a/npm-packages-offline-cache/parse-json-5.0.1.tgz b/npm-packages-offline-cache/parse-json-5.0.1.tgz new file mode 100644 index 0000000..3e75330 Binary files /dev/null and b/npm-packages-offline-cache/parse-json-5.0.1.tgz differ diff --git a/npm-packages-offline-cache/pend-1.2.0.tgz b/npm-packages-offline-cache/pend-1.2.0.tgz new file mode 100644 index 0000000..5168cb6 Binary files /dev/null and b/npm-packages-offline-cache/pend-1.2.0.tgz differ diff --git a/npm-packages-offline-cache/pretty-format-25.5.0.tgz b/npm-packages-offline-cache/pretty-format-25.5.0.tgz new file mode 100644 index 0000000..e745c81 Binary files /dev/null and b/npm-packages-offline-cache/pretty-format-25.5.0.tgz differ diff --git a/npm-packages-offline-cache/ramda-0.26.1.tgz b/npm-packages-offline-cache/ramda-0.26.1.tgz new file mode 100644 index 0000000..7b3e177 Binary files /dev/null and b/npm-packages-offline-cache/ramda-0.26.1.tgz differ diff --git a/npm-packages-offline-cache/request-progress-3.0.0.tgz b/npm-packages-offline-cache/request-progress-3.0.0.tgz new file mode 100644 index 0000000..28a2080 Binary files /dev/null and b/npm-packages-offline-cache/request-progress-3.0.0.tgz differ diff --git a/npm-packages-offline-cache/restore-cursor-1.0.1.tgz b/npm-packages-offline-cache/restore-cursor-1.0.1.tgz new file mode 100644 index 0000000..ee25be6 Binary files /dev/null and b/npm-packages-offline-cache/restore-cursor-1.0.1.tgz differ diff --git a/npm-packages-offline-cache/restore-cursor-2.0.0.tgz b/npm-packages-offline-cache/restore-cursor-2.0.0.tgz new file mode 100644 index 0000000..580b65e Binary files /dev/null and b/npm-packages-offline-cache/restore-cursor-2.0.0.tgz differ diff --git a/npm-packages-offline-cache/slice-ansi-0.0.4.tgz b/npm-packages-offline-cache/slice-ansi-0.0.4.tgz new file mode 100644 index 0000000..7fa5ce9 Binary files /dev/null and b/npm-packages-offline-cache/slice-ansi-0.0.4.tgz differ diff --git a/npm-packages-offline-cache/symbol-observable-1.2.0.tgz b/npm-packages-offline-cache/symbol-observable-1.2.0.tgz new file mode 100644 index 0000000..95e6b5e Binary files /dev/null and b/npm-packages-offline-cache/symbol-observable-1.2.0.tgz differ diff --git a/npm-packages-offline-cache/throttleit-1.0.0.tgz b/npm-packages-offline-cache/throttleit-1.0.0.tgz new file mode 100644 index 0000000..c525fbd Binary files /dev/null and b/npm-packages-offline-cache/throttleit-1.0.0.tgz differ diff --git a/npm-packages-offline-cache/tmp-0.1.0.tgz b/npm-packages-offline-cache/tmp-0.1.0.tgz new file mode 100644 index 0000000..b80d461 Binary files /dev/null and b/npm-packages-offline-cache/tmp-0.1.0.tgz differ diff --git a/npm-packages-offline-cache/untildify-4.0.0.tgz b/npm-packages-offline-cache/untildify-4.0.0.tgz new file mode 100644 index 0000000..02685c0 Binary files /dev/null and b/npm-packages-offline-cache/untildify-4.0.0.tgz differ diff --git a/npm-packages-offline-cache/wrap-ansi-3.0.1.tgz b/npm-packages-offline-cache/wrap-ansi-3.0.1.tgz new file mode 100644 index 0000000..d3a08eb Binary files /dev/null and b/npm-packages-offline-cache/wrap-ansi-3.0.1.tgz differ diff --git a/npm-packages-offline-cache/yauzl-2.10.0.tgz b/npm-packages-offline-cache/yauzl-2.10.0.tgz new file mode 100644 index 0000000..d09b903 Binary files /dev/null and b/npm-packages-offline-cache/yauzl-2.10.0.tgz differ diff --git a/package.json b/package.json index cb4e736..4df7f37 100644 --- a/package.json +++ b/package.json @@ -27,6 +27,11 @@ "react-router-dom": "4.3.1", "react-scripts": "3.4.1" }, + "devDependencies": { + "@testing-library/cypress": "6.0.0", + "cypress": "4.11.0", + "cypress-keycloak": "1.5.0" + }, "browserslist": [ "Chrome >= 60", "Safari >= 10.1", diff --git a/src/InputRadio.js b/src/InputRadio.js index a6f87a8..01ed35d 100644 --- a/src/InputRadio.js +++ b/src/InputRadio.js @@ -26,7 +26,7 @@ class InputRadio extends Component { render() { return ( - +