Skip to content
Open
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 @@ -3,14 +3,14 @@ export const peopleWhoWillBeEvicted = {
mainHeader: `The people who will be evicted`,
mainHeaderWarrantOfRestitutionDynamic: `The people who will be evicted (placeholder)`,
evictEveryOneQuestion: `Do you want to evict everyone at the property?`,
thisIncludeHintText:`This includes all of the defendants and anyone else living at the property`,
thisIncludeHintText: `This includes all of the defendants and anyone else living at the property`,
yesRadioOption: `Yes`,
noRadioOption: `No`,
summarySaveApplicationLink: `I want to save this application and return to it later`,
previousButton: `Previous`,
continueButton: `Continue`,
cancelLink: `Cancel`,
thereIsAProblemErrorMessageHeader: `There is a problem`,
thereIsAProblemErrorMessageHeader: `There is a problem`,
errorValidation: `NO`,//set it to `NO` before raising a PR
errorValidationType: { one: `moneyField`, two: `textField`, three: `radioOptions`, four: `checkBox`, five: `moneyFieldAndRadioOption` },
errorValidationField: {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
export const peopleYouWantToEvict = {
EnforceTheOrderCaption: `Enforce the order`,
mainHeader: `The people you want to evict`,
mainHeaderWarrantOfRestitutionDynamic: `The people you want to evict (placeholder)`,
whoDoYouWantToEvictQuestion: `Who do you want to evict?`,
summarySaveApplicationLink: `I want to save this application and return to it later`,
previousButton: `Previous`,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import { createCaseApiData, enforceWarrantApiData, submitCaseApiData } from '@da
import { defendantDetails, fieldsMap, moneyMap } from '@utils/actions/custom-actions/custom-actions-enforcement/enforcement.action';
import { caseInfo } from '@utils/actions/custom-actions/createCaseAPI.action';
import { VERY_LONG_TIMEOUT } from 'playwright.config';
import { additionalInformation, enforcementApplication, evictionRisksPosed, livingInTheProperty, peopleWhoWillBeEvicted, peopleYouWantToEvict, propertyAccessDetails, vulnerableAdultsChildren } from '@data/page-data-figma/page-data-enforcement-figma';
import { additionalInformation, enforcementApplication, evictionRisksPosed, livingInTheProperty, peopleYouWantToEvict, propertyAccessDetails, vulnerableAdultsChildren } from '@data/page-data-figma/page-data-enforcement-figma';
import { EnforcementCommonUtils } from '@utils/actions/element-actions/enforcementUtils.action';

test.beforeEach(async ({ page }, testInfo) => {
Expand Down Expand Up @@ -96,7 +96,7 @@ test.describe('[Enforcement - Warrant of Restitution]', async () => {
await performAction('selectApplicationType', {
question: enforcementApplication.typeOfApplicationQuestion,
option: enforcementApplication.warrantOfRestitutionRadioOptionDynamic,
nextPage: peopleWhoWillBeEvicted.mainHeaderWarrantOfRestitutionDynamic
nextPage: peopleYouWantToEvict.mainHeaderWarrantOfRestitutionDynamic
});
await performAction('reTryOnCallBackError', peopleYouWantToEvict.continueButton, shareEvidenceWithJudge.mainHeader);
await performAction('reTryOnCallBackError', shareEvidenceWithJudge.continueButton, explainHowDefendantsReturned.mainHeader);
Expand Down Expand Up @@ -189,7 +189,7 @@ test.describe('[Enforcement - Warrant of Restitution]', async () => {
await performAction('selectApplicationType', {
question: enforcementApplication.typeOfApplicationQuestion,
option: enforcementApplication.warrantOfRestitutionRadioOptionDynamic,
nextPage: peopleWhoWillBeEvicted.mainHeaderWarrantOfRestitutionDynamic
nextPage: peopleYouWantToEvict.mainHeaderWarrantOfRestitutionDynamic
});
await performAction('reTryOnCallBackError', peopleYouWantToEvict.continueButton, shareEvidenceWithJudge.mainHeader);
await performAction('reTryOnCallBackError', shareEvidenceWithJudge.continueButton, explainHowDefendantsReturned.mainHeader);
Expand Down