Skip to content

Commit

Permalink
[EASI-3725] - Update model statuses (#891)
Browse files Browse the repository at this point in the history
* Updated translation statuses

* Updated cypress test
  • Loading branch information
patrickseguraoddball authored Jan 10, 2024
1 parent 1536e04 commit 799b7ff
Show file tree
Hide file tree
Showing 7 changed files with 18 additions and 18 deletions.
2 changes: 1 addition & 1 deletion cypress/e2e/modelPlan.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ describe('The Model Plan Form', () => {

// updates model plan status

cy.get('.mint-tag').contains('Draft model plan');
cy.get('.mint-tag').contains('Draft Model Plan');

cy.contains('a', 'Update').click();

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ exports[`FavoriteCard > matches the snapshot 1`] = `
class="mint-tag bg-base text-white margin-right-0"
data-testid="tag"
>
Draft model plan
Draft Model Plan
</span>
</div>
<div
Expand Down
2 changes: 1 addition & 1 deletion src/components/FavoriteCard/index.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,6 @@ describe('FavoriteCard', () => {

expect(getByText('Plan For General Characteristics')).toBeInTheDocument();
expect(getByText('The goal')).toBeInTheDocument();
expect(getByText('Draft model plan')).toBeInTheDocument();
expect(getByText('Draft Model Plan')).toBeInTheDocument();
});
});
4 changes: 2 additions & 2 deletions src/components/ShareExport/__snapshots__/index.test.tsx.snap
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ exports[`ShareExportModal > matches the snapshot 1`] = `
class="mint-tag bg-base text-white margin-right-0"
data-testid="tag"
>
Draft model plan
Draft Model Plan
</span>
</div>
<div
Expand Down Expand Up @@ -6665,7 +6665,7 @@ exports[`ShareExportModal > matches the snapshot 2`] = `
class="mint-tag bg-base text-white margin-right-0"
data-testid="tag"
>
Draft model plan
Draft Model Plan
</span>
</div>
<div
Expand Down
12 changes: 6 additions & 6 deletions src/i18n/en-US/modelPlan/modelPlan.ts
Original file line number Diff line number Diff line change
Expand Up @@ -66,13 +66,13 @@ export const modelPlan: TranslationModelPlan = {
dataType: 'enum',
formType: 'select',
options: {
PLAN_DRAFT: 'Draft model plan',
PLAN_COMPLETE: 'Model plan complete',
PLAN_DRAFT: 'Draft Model Plan',
PLAN_COMPLETE: 'Model Plan complete',
ICIP_COMPLETE: 'ICIP complete',
INTERNAL_CMMI_CLEARANCE: 'Internal (CMMI) clearance',
CMS_CLEARANCE: 'CMS clearance',
HHS_CLEARANCE: 'HHS clearance',
OMB_ASRF_CLEARANCE: 'OMB/ASRF clearance',
INTERNAL_CMMI_CLEARANCE: 'In internal (CMMI) clearance',
CMS_CLEARANCE: 'In CMS clearance',
HHS_CLEARANCE: 'In HHS clearance',
OMB_ASRF_CLEARANCE: 'In OMB clearance',
CLEARED: 'Cleared',
ANNOUNCED: 'Announced',
ACTIVE: 'Active',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ exports[`Read Only Model Plan Summary > matches snapshot 1`] = `
class="mint-tag bg-base text-white margin-right-0"
data-testid="tag"
>
Draft model plan
Draft Model Plan
</span>
</div>
<div
Expand Down
12 changes: 6 additions & 6 deletions src/views/ModelPlan/Status/__snapshots__/index.test.tsx.snap
Original file line number Diff line number Diff line change
Expand Up @@ -90,12 +90,12 @@ exports[`Model Plan Status Update page > matches snapshot 1`] = `
<option
value="PLAN_DRAFT"
>
Draft model plan
Draft Model Plan
</option>
<option
value="PLAN_COMPLETE"
>
Model plan complete
Model Plan complete
</option>
<option
value="ICIP_COMPLETE"
Expand All @@ -105,22 +105,22 @@ exports[`Model Plan Status Update page > matches snapshot 1`] = `
<option
value="INTERNAL_CMMI_CLEARANCE"
>
Internal (CMMI) clearance
In internal (CMMI) clearance
</option>
<option
value="CMS_CLEARANCE"
>
CMS clearance
In CMS clearance
</option>
<option
value="HHS_CLEARANCE"
>
HHS clearance
In HHS clearance
</option>
<option
value="OMB_ASRF_CLEARANCE"
>
OMB/ASRF clearance
In OMB clearance
</option>
<option
value="CLEARED"
Expand Down

0 comments on commit 799b7ff

Please sign in to comment.