Skip to content

Commit

Permalink
Merge pull request #10248 from flexion/10007-privatepractitioner-priv…
Browse files Browse the repository at this point in the history
…atePractitioner

10007: change all instances of privatepractitioner to privatePractitioner
  • Loading branch information
TomElliottFlexion authored Jan 24, 2024
2 parents b65c182 + 2e87370 commit ab0eef3
Show file tree
Hide file tree
Showing 45 changed files with 415 additions and 789 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { navigateTo as loginAs } from '../support/pages/maintenance';

describe('Practitioners with no cases', () => {
it('should allow the practitioner to edit their phone number multiple times', () => {
loginAs('privatepractitioner4');
loginAs('privatePractitioner4');
cy.get('[data-testid="account-menu-button"]').click();
cy.get('[data-testid="my-account-link"]').click();
cy.get('[data-testid="edit-contact-info"]').click();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ describe('Private practitioner mobile', () => {
});

it('should have access to case, order, and opinion advanced searches (and NOT practitioner advanced search)', () => {
navigateToDashboard('privatepractitioner');
navigateToDashboard('privatePractitioner');

cy.get('[data-testid="advanced-search-link"]').click();

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import {

describe('Start a case as a practitioner', () => {
it('go to the practitioner dashboard, file a case, and expect case count to incrememt by one', () => {
navigateToDashboard('privatepractitioner');
navigateToDashboard('privatePractitioner');

getCaseList().then(cases => {
getStartCaseButton().click();
Expand Down
2 changes: 1 addition & 1 deletion docs/running-locally.md
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ Open a browser to [http://localhost:1234](http://localhost:1234) and enter one o

```txt
[email protected]
privatepractitioner@example.com
privatePractitioner@example.com
[email protected]
[email protected]
[email protected]
Expand Down
2 changes: 1 addition & 1 deletion docs/wiki/Testing-Logins.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ The password is set to the environment variable found in the [setup documentatio
[email protected][email protected]

### Private Practitioner
privatepractitioner1@example.com[email protected]
privatePractitioner1@example.com[email protected]

### IRS Attorney
[email protected][email protected]
Expand Down
2 changes: 1 addition & 1 deletion shared/src/business/entities/cases/PublicCase.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -485,7 +485,7 @@ describe('PublicCase', () => {
postalCode: '61234',
state: 'IL',
},
email: 'privatepractitioner@example.com',
email: 'privatePractitioner@example.com',
entityName: 'PrivatePractitioner',
name: 'Test Private Practitioner',
representing: ['28cae029-bae2-4eef-ac54-878fbbab65e3'],
Expand Down
2 changes: 1 addition & 1 deletion shared/src/business/useCases/createCaseInteractor.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -411,7 +411,7 @@ describe('createCaseInteractor', () => {
address3: 'Cumque reprehenderit',
city: 'Consequatur Iusto e',
countryType: 'domestic',
email: 'privatepractitioner@example.com',
email: 'privatePractitioner@example.com',
name: 'Inez Martinez',
phone: '+1 (756) 271-3574',
postalCode: '68964',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ export const FORMATTED_CASES = [
postalCode: '61234',
state: 'IL',
},
email: 'privatepractitioner@example.com',
email: 'privatePractitioner@example.com',
entityName: 'PrivatePractitioner',
firmName: 'GW Law Offices',
name: 'Test Private Practitioner',
Expand All @@ -81,7 +81,7 @@ export const FORMATTED_CASES = [
postalCode: '61234',
state: 'IL',
},
email: 'privatepractitioner99@example.com',
email: 'privatePractitioner99@example.com',
entityName: 'PrivatePractitioner',
firmName: 'Bogus Barristers',
name: 'Test Private Practitioner',
Expand Down Expand Up @@ -156,7 +156,7 @@ export const FORMATTED_CASES = [
postalCode: '61234',
state: 'IL',
},
email: 'privatepractitioner99@example.com',
email: 'privatePractitioner99@example.com',
entityName: 'PrivatePractitioner',
firmName: 'Bogus Barristers',
name: 'Test Private Practitioner',
Expand Down Expand Up @@ -230,7 +230,7 @@ export const FORMATTED_CASES = [
postalCode: '61234',
state: 'IL',
},
email: 'privatepractitioner@example.com',
email: 'privatePractitioner@example.com',
entityName: 'PrivatePractitioner',
firmName: 'GW Law Offices',
name: 'Test Private Practitioner',
Expand All @@ -251,7 +251,7 @@ export const FORMATTED_CASES = [
postalCode: '61234',
state: 'IL',
},
email: 'privatepractitioner99@example.com',
email: 'privatePractitioner99@example.com',
entityName: 'PrivatePractitioner',
firmName: 'Bogus Barristers',
name: 'Test Private Practitioner',
Expand All @@ -272,7 +272,7 @@ export const FORMATTED_CASES = [
postalCode: '61234',
state: 'IL',
},
email: 'privatepractitioner1@example.com',
email: 'privatePractitioner1@example.com',
entityName: 'PrivatePractitioner',
firmName: 'Bogus Barristers',
name: 'Test Private Practitioner',
Expand Down Expand Up @@ -329,7 +329,7 @@ export const FORMATTED_CASES = [
postalCode: '61234',
state: 'IL',
},
email: 'privatepractitioner@example.com',
email: 'privatePractitioner@example.com',
entityName: 'PrivatePractitioner',
firmName: 'GW Law Offices',
name: 'Test Private Practitioner',
Expand All @@ -350,7 +350,7 @@ export const FORMATTED_CASES = [
postalCode: '61234',
state: 'IL',
},
email: 'privatepractitioner99@example.com',
email: 'privatePractitioner99@example.com',
entityName: 'PrivatePractitioner',
firmName: 'Bogus Barristers',
name: 'Test Private Practitioner',
Expand All @@ -371,7 +371,7 @@ export const FORMATTED_CASES = [
postalCode: '61234',
state: 'IL',
},
email: 'privatepractitioner1@example.com',
email: 'privatePractitioner1@example.com',
entityName: 'PrivatePractitioner',
firmName: 'Bogus Barristers',
name: 'Test Private Practitioner',
Expand Down Expand Up @@ -426,7 +426,7 @@ export const FORMATTED_CASES = [
postalCode: '61234',
state: 'IL',
},
email: 'privatepractitioner99@example.com',
email: 'privatePractitioner99@example.com',
entityName: 'PrivatePractitioner',
firmName: 'Bogus Barristers',
name: 'Test Private Practitioner',
Expand Down
10 changes: 5 additions & 5 deletions shared/src/test/mockConsolidatedCase.ts
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ export const MOCK_CONSOLIDATED_CASE: RawCase = {
postalCode: '61234',
state: 'IL',
},
email: 'privatepractitioner@example.com',
email: 'privatePractitioner@example.com',
entityName: 'PrivatePractitioner',
firmName: 'GW Law Offices',
gsi1pk: 'leadCase|102-67',
Expand Down Expand Up @@ -335,7 +335,7 @@ export const MOCK_CONSOLIDATED_CASE: RawCase = {
postalCode: '61234',
state: 'IL',
},
email: 'privatepractitioner@example.com',
email: 'privatePractitioner@example.com',
entityName: 'PrivatePractitioner',
firmName: 'GW Law Offices',
gsi1pk: 'leadCase|102-67',
Expand Down Expand Up @@ -562,7 +562,7 @@ export const MOCK_CONSOLIDATED_CASE: RawCase = {
servedAt: '2023-08-08T17:32:21.434Z',
servedParties: [
{
email: 'privatepractitioner@example.com',
email: 'privatePractitioner@example.com',
name: 'Test Private Practitioner',
},
],
Expand Down Expand Up @@ -635,7 +635,7 @@ export const MOCK_CONSOLIDATED_CASE: RawCase = {
servedAt: '2023-08-15T16:48:20.679Z',
servedParties: [
{
email: 'privatepractitioner@example.com',
email: 'privatePractitioner@example.com',
name: 'Test Private Practitioner',
},
{
Expand Down Expand Up @@ -729,7 +729,7 @@ export const MOCK_CONSOLIDATED_CASE: RawCase = {
postalCode: '61234',
state: 'IL',
},
email: 'privatepractitioner@example.com',
email: 'privatePractitioner@example.com',
entityName: 'PrivatePractitioner',
firmName: 'GW Law Offices',
name: 'Test Private Practitioner',
Expand Down
4 changes: 2 additions & 2 deletions web-api/src/createLogger.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ describe('redact', () => {
statusCode: 200,
},
user: {
email: 'privatepractitioner1@example.com',
email: 'privatePractitioner1@example.com',
entityName: 'User',
name: 'Test private practitioner1',
role: 'privatePractitioner',
Expand All @@ -84,7 +84,7 @@ describe('redact', () => {
'/async/users/a1a0a206-what-isit-b725-61cd4e3aece2/contact-info',
);
expect(redactedLogEntry.user.email).toBe(
'privatepractitioner1@example.com',
'privatePractitioner1@example.com',
);
});
});
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ describe('formatDocketEntryResult', () => {
state: { S: 'IL' },
},
},
email: { S: 'privatepractitioner1@example.com' },
email: { S: 'privatePractitioner1@example.com' },
name: { S: 'Test Private Practitioner' },
pk: { S: 'case|312-21' },
representingPrimary: { BOOL: true },
Expand Down Expand Up @@ -189,7 +189,7 @@ describe('formatDocketEntryResult', () => {
state: { S: 'IL' },
},
},
email: { S: 'privatepractitioner1@example.com' },
email: { S: 'privatePractitioner1@example.com' },
name: { S: 'Test Private Practitioner' },
pk: { S: 'case|312-21' },
representingPrimary: { BOOL: true },
Expand Down
Loading

0 comments on commit ab0eef3

Please sign in to comment.