From ea48ba61a262f7a8294f552fa8377fd999d237a5 Mon Sep 17 00:00:00 2001 From: CameronFreshworks <53542131+cameron-freshworks@users.noreply.github.com> Date: Tue, 6 Jul 2021 09:54:36 -0700 Subject: [PATCH] Incorporation Application UX Updates (#214) * ux Updates * removed test code * removed statment conditions * Added safet check * test updates --- package-lock.json | 2 +- package.json | 2 +- src/components/AddPeopleAndRoles/PeopleAndRoles.vue | 2 +- src/resources/benefitCompany.ts | 2 +- src/resources/communityContributionCompany.ts | 2 +- src/resources/cooperative.ts | 4 ++-- src/resources/limitedCompany.ts | 2 +- src/resources/unlimitedCompany.ts | 2 +- src/views/DefineCompany.vue | 4 ++-- tests/unit/DefineCompany.spec.ts | 2 +- 10 files changed, 12 insertions(+), 12 deletions(-) diff --git a/package-lock.json b/package-lock.json index 17b22be49..442fb730c 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "business-create-ui", - "version": "2.0.2", + "version": "2.0.3", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/package.json b/package.json index 744fad971..7f84baa01 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "business-create-ui", - "version": "2.0.2", + "version": "2.0.3", "private": true, "appName": "Create UI", "sbcName": "SBC Common Components", diff --git a/src/components/AddPeopleAndRoles/PeopleAndRoles.vue b/src/components/AddPeopleAndRoles/PeopleAndRoles.vue index 9d18a0f6a..5fbfd2d14 100644 --- a/src/components/AddPeopleAndRoles/PeopleAndRoles.vue +++ b/src/components/AddPeopleAndRoles/PeopleAndRoles.vue @@ -59,8 +59,8 @@ @click="addOrgPerson([{ roleType: RoleTypes.INCORPORATOR }], IncorporatorTypes.CORPORATION)" > mdi-domain-plus - Add a Corporation or Firm Add Organization + Add a Corporation or Firm
-

- {{ getCompanyResources.title }}: +

+ {{ getCompanyResources.title }} {{ getCompanyResources.description }}

diff --git a/tests/unit/DefineCompany.spec.ts b/tests/unit/DefineCompany.spec.ts index 0abbfaf42..884373136 100644 --- a/tests/unit/DefineCompany.spec.ts +++ b/tests/unit/DefineCompany.spec.ts @@ -63,7 +63,7 @@ for (const mock of mockEntityInfo) { expect(wrapper.find('#folio-number-header').text()).toContain('Folio / Reference Number (optional)') }) - it(`displays company statement`, () => { + itIf(mock.entityType !== 'BC')(`displays company statement`, () => { expect(wrapper.find('.company-statement').exists()).toBe(true) expect(wrapper.find('.company-statement p').text()).toContain(mock.description)