-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #11 from turb0c0w/sam/account-tests
fixing tests
- Loading branch information
Showing
10 changed files
with
137 additions
and
103 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,7 +11,23 @@ describe('pages -> Account Select', () => { | |
it('shows expected profile values in the information table', () => { | ||
|
||
// TODO: TC - Adapt below to the existing account list structure to verify | ||
// cy.get('[data-cy=myRegDetailsTable]').get('tr').should('have.length', 9) // +1 for header tr | ||
// cy.get('[data-cy=myRegDetailsTable]').get('td').should('have.length', 16) | ||
|
||
// const expectedData = [ | ||
// { label: "Individual's Full Name", value: 'Wallaby Wobbles' }, | ||
// { label: 'Birthdate', value: 'September 25, 1993' }, | ||
// { label: 'Residential Address', value: '123 Fake StVictoria BC\u00A0\u00A0V2L 3T6Canada' }, | ||
// { label: 'Email Address', value: '[email protected]' }, | ||
// { | ||
// label: 'Canada Revenue Agency (CRA) Tax Number', | ||
// subLabel: 'Social Insurance Number (SIN)', | ||
// value: '123 456 789' | ||
// }, | ||
// { label: 'Citizenship/Permanent Residency', subLabel: 'Citizenship', value: 'Canada' }, | ||
// { label: 'Tax Residency', value: 'Canada' }, | ||
// { label: 'Competency', value: 'I am able to manage my own financial affairs.' } | ||
// ] | ||
// cy.get('[data-cy=myRegDetailsTable]').get('tr').should('have.length', 9) // +1 for header tr | ||
// cy.get('[data-cy=myRegDetailsTable]').get('td').should('have.length', 16) | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,56 @@ | ||
[ | ||
{ | ||
"accessType": "REGULAR", | ||
"branchName": "", | ||
"businessName": "PPR Dev JR 1", | ||
"businessSize": "2-5", | ||
"businessType": "REALA", | ||
"created": "2022-01-06T00:14:08+00:00", | ||
"createdBy": "BCREGTEST HARRIETT FORTY", | ||
"hasApiAccess": false, | ||
"id": 2869, | ||
"isBusinessAccount": true, | ||
"mailingAddress": { | ||
"city": "Lake Country", | ||
"country": "CA", | ||
"postalCode": "V4V 1V7", | ||
"region": "BC", | ||
"street": "9874 Pollard Rd", | ||
"streetAdditional": "" | ||
}, | ||
"modified": "2022-01-06T00:14:08+00:00", | ||
"name": "PPR Dev JR 2", | ||
"orgStatus": "ACTIVE", | ||
"orgType": "PREMIUM", | ||
"statusCode": "ACTIVE", | ||
"uuid": "e3d5c9da-4853-4e1d-bef9-0b765df3c523", | ||
"label": "PPR Dev JR 2" | ||
}, | ||
{ | ||
"accessType": "REGULAR", | ||
"branchName": "", | ||
"businessName": "PPR Dev JR 1", | ||
"businessSize": "2-5", | ||
"businessType": "REALA", | ||
"created": "2022-01-06T00:14:08+00:00", | ||
"createdBy": "BCREGTEST HARRIETT FORTY", | ||
"hasApiAccess": false, | ||
"id": 2869, | ||
"isBusinessAccount": true, | ||
"mailingAddress": { | ||
"city": "Lake Country", | ||
"country": "CA", | ||
"postalCode": "V4V 1V7", | ||
"region": "BC", | ||
"street": "9874 Pollard Rd", | ||
"streetAdditional": "" | ||
}, | ||
"modified": "2022-01-06T00:14:08+00:00", | ||
"name": "PPR Dev JR 2", | ||
"orgStatus": "ACTIVE", | ||
"orgType": "PREMIUM", | ||
"statusCode": "ACTIVE", | ||
"uuid": "e3d5c9da-4853-4e1d-bef9-0b765df3c523", | ||
"label": "PPR Dev JR 2" | ||
} | ||
] |
This file was deleted.
Oops, something went wrong.
3 changes: 1 addition & 2 deletions
3
strr-web/tests/unit/components/existing-account-list/ExistingAccountList.spec.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters