Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PSP-6847 Name changes for Take Areas #3555

Merged
merged 1 commit into from
Oct 31, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ describe('TakesDetailView component', () => {
],
},
});
const date = await findByText('Is there Land Act-Reserve(s)/Withdrawal(s)/Notation(s)', {
const date = await findByText('Is a there a new Land Act tenure', {
exact: false,
});
expect(date).toBeVisible();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ export const TakesDetailView: React.FunctionComponent<ITakesDetailViewProps> = (
<SectionField
labelWidth="8"
label="Takes for this property in the current file"
tooltip="The number of takes in completed, , In-progress or cancelled state for this property in this acquisition file."
tooltip="The number of takes in completed, In-progress or cancelled state for this property in this acquisition file."
>
{takes?.length ?? 0}
</SectionField>
Expand Down Expand Up @@ -99,7 +99,11 @@ export const TakesDetailView: React.FunctionComponent<ITakesDetailViewProps> = (
</SectionField>
<StyledNoTabSection header="Area">
<StyledBorderSection>
<SectionField label="Is there a new right of way? *" labelWidth="8">
<SectionField
label="Is there a new highway dedication? *"
labelWidth="8"
tooltip="The term new highway dedication includes municipal road or provincial public highway."
>
<YesNoButtons id="newRightOfWayToggle" disabled value={take.isNewRightOfWay} />
</SectionField>
{take.isNewRightOfWay && (
Expand All @@ -109,7 +113,10 @@ export const TakesDetailView: React.FunctionComponent<ITakesDetailViewProps> = (
)}
</StyledBorderSection>
<StyledBorderSection>
<SectionField label="Is there a Statutory Right of Way: (SRW)? *" labelWidth="8">
<SectionField
label="Is there a new registered interest in land (SRW, Easement or Covenant)? *"
labelWidth="8"
>
<YesNoButtons
id="statutoryRightOfWayToggle"
disabled
Expand All @@ -125,10 +132,7 @@ export const TakesDetailView: React.FunctionComponent<ITakesDetailViewProps> = (
)}
</StyledBorderSection>
<StyledBorderSection>
<SectionField
label="Is there Land Act-Reserve(s)/Withdrawal(s)/Notation(s)? *"
labelWidth="8"
>
<SectionField label="Is a there a new Land Act tenure? *" labelWidth="8">
<YesNoButtons id="landActToggle" disabled value={take.isLandAct} />
</SectionField>
{take.isLandAct && (
Expand All @@ -150,7 +154,10 @@ export const TakesDetailView: React.FunctionComponent<ITakesDetailViewProps> = (
)}
</StyledBorderSection>
<StyledBorderSection>
<SectionField label="Is there a License to Construct (LTC)? *" labelWidth="8">
<SectionField
label="Is there a new License for Construction Access (TLCA/LTC)? *"
labelWidth="8"
>
<YesNoButtons
id="licenseToConstructToggle"
disabled
Expand Down
Loading