-
Notifications
You must be signed in to change notification settings - Fork 0
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 #321 from DFE-Digital/AutomateTransfers
Automate transfers
- Loading branch information
Showing
15 changed files
with
1,755 additions
and
0 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
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
9 changes: 9 additions & 0 deletions
9
CypressTests/cypress/support/payloads/Transfers/AuthorisedUserCanAssignUser.spec.js
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,9 @@ | ||
|
||
const AuthorisedUserCanAssignUserDataPayload = | ||
{ | ||
"urn": Cypress.env('URN'), | ||
"userId": "3fa85f64-5717-4562-b3fc-2c963f66afa6", | ||
"userEmail": "[email protected]", | ||
"userFullName": "userFullName value" | ||
} | ||
module.exports = { AuthorisedUserCanAssignUserDataPayload } |
14 changes: 14 additions & 0 deletions
14
...essTests/cypress/support/payloads/Transfers/AuthorisedUserCanCreateNewMATTransfer.spec.js
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,14 @@ | ||
|
||
const transferringAcademyUkprnAAndOutgoingTrustUkprn = 10066875 | ||
const transferringAcademyUkprnB = 10066884 | ||
const incomingTrustUkprn = 10066876 | ||
const AuthorisedUserCanCreateNewMATTransferPayload = | ||
{ | ||
"transferringAcademyUkprns": [ | ||
transferringAcademyUkprnAAndOutgoingTrustUkprn, | ||
transferringAcademyUkprnB | ||
], | ||
"outgoingTrustUkprn": transferringAcademyUkprnAAndOutgoingTrustUkprn, | ||
"incomingTrustUkprn": incomingTrustUkprn | ||
} | ||
module.exports = {AuthorisedUserCanCreateNewMATTransferPayload} |
12 changes: 12 additions & 0 deletions
12
...essTests/cypress/support/payloads/Transfers/AuthorisedUserCanCreateNewSATTransfer.spec.js
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,12 @@ | ||
|
||
const transferringAcademyUkprnAAndOutgoingTrustUkprn = 10066875 | ||
const incomingTrustUkprn = 10066876 | ||
const AuthorisedUserCanCreateNewSATTransferPayload = | ||
{ | ||
"transferringAcademyUkprns": [ | ||
transferringAcademyUkprnAAndOutgoingTrustUkprn, | ||
], | ||
"outgoingTrustUkprn": transferringAcademyUkprnAAndOutgoingTrustUkprn, | ||
"incomingTrustUkprn": incomingTrustUkprn | ||
} | ||
module.exports = {AuthorisedUserCanCreateNewSATTransferPayload} |
12 changes: 12 additions & 0 deletions
12
...Tests/cypress/support/payloads/Transfers/AuthorisedUserCanSetAdditionalSchoolData.spec.js
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,12 @@ | ||
|
||
const AuthorisedUserCanSetAdditionalSchoolDataPayload = | ||
{ | ||
"urn": Cypress.env('URN'), | ||
"transferringAcademyUkprn": 10066875, | ||
"latestOfstedReportAdditionalInformation": "latestOfstedReportAdditionalInformation value", | ||
"pupilNumbersAdditionalInformation": "pupilNumbersAdditionalInformation value", | ||
"keyStage2PerformanceAdditionalInformation": "keyStage2PerformanceAdditionalInformation value", | ||
"keyStage4PerformanceAdditionalInformation": "KeyStage4PerformanceAdditionalInformation value", | ||
"keyStage5PerformanceAdditionalInformation": "keyStage5PerformanceAdditionalInformation value" | ||
} | ||
module.exports = { AuthorisedUserCanSetAdditionalSchoolDataPayload } |
32 changes: 32 additions & 0 deletions
32
CypressTests/cypress/support/payloads/Transfers/AuthorisedUserCanSetBenefits.spec.js
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,32 @@ | ||
const AuthorisedUserCanSetBenefitsPayload = | ||
{ | ||
"urn": Cypress.env('URN'), | ||
"intendedTransferBenefits": { | ||
"selectedBenefits": [ | ||
"selectedBenefits value" | ||
], | ||
"otherBenefitValue": "otherBenefitValue value" | ||
}, | ||
"otherFactorsToConsider": { | ||
"highProfile": { | ||
"shouldBeConsidered": true, | ||
"furtherSpecification": "highProfile furtherSpecification value" | ||
}, | ||
"complexLandAndBuilding": { | ||
"shouldBeConsidered": true, | ||
"furtherSpecification": "complexLandAndBuildingFurtherSpecification Value" | ||
}, | ||
"financeAndDebt": { | ||
"shouldBeConsidered": true, | ||
"furtherSpecification": "financeAndDebtFurtherSpecification value" | ||
}, | ||
"otherRisks": { | ||
"shouldBeConsidered": true, | ||
"furtherSpecification": "otherRisksfurtherSpecification value" | ||
} | ||
}, | ||
"equalitiesImpactAssessmentConsidered": true, | ||
"anyRisks": true, | ||
"isCompleted": true | ||
} | ||
module.exports = { AuthorisedUserCanSetBenefitsPayload } |
10 changes: 10 additions & 0 deletions
10
CypressTests/cypress/support/payloads/Transfers/AuthorisedUserCanSetFeatures.spec.js
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,10 @@ | ||
|
||
const AuthorisedUserCanSetFeaturesPayload = | ||
{ | ||
"urn": Cypress.env('URN'), | ||
"id": 1, | ||
"typeOfTransfer": "typeOfTransfer Value", | ||
"whoInitiatedTheTransfer": "whoInitiatedTheTransfer Value", | ||
"isCompleted": true | ||
} | ||
module.exports = { AuthorisedUserCanSetFeaturesPayload } |
9 changes: 9 additions & 0 deletions
9
...essTests/cypress/support/payloads/Transfers/AuthorisedUserCanSetLegalRequirements.spec.js
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,9 @@ | ||
const AuthorisedUserCanSetLegalRequirementsPayload = | ||
{ | ||
"urn": Cypress.env('URN'), | ||
"outgoingTrustConsent": "outgoing Trust Consent Value", | ||
"incomingTrustAgreement": "incoming Trust Consent Value", | ||
"diocesanConsent": "diocesanConsent Value", | ||
"isCompleted": true | ||
} | ||
module.exports = { AuthorisedUserCanSetLegalRequirementsPayload } |
10 changes: 10 additions & 0 deletions
10
CypressTests/cypress/support/payloads/Transfers/AuthorisedUserCanSetRationale.spec.js
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,10 @@ | ||
|
||
const AuthorisedUserCanSetRationalePayload = | ||
{ | ||
"urn": Cypress.env('URN'), | ||
"projectRationale": "projectRationale", | ||
"trustSponsorRationale": "trustSponsorRationale", | ||
"isCompleted": true | ||
|
||
} | ||
module.exports = {AuthorisedUserCanSetRationalePayload} |
7 changes: 7 additions & 0 deletions
7
CypressTests/cypress/support/payloads/Transfers/AuthorisedUserCanSetTransferDates.spec.js
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,7 @@ | ||
const AuthorisedUserCanSetTransferDatesPayload = | ||
{ | ||
"urn": Cypress.env('urn'), | ||
"htbDate": "2023-08-23T09:50:45.404Z", | ||
"targetDateForTransfer": "2023-08-23T09:50:45.404Z" | ||
} | ||
module.exports = { AuthorisedUserCanSetTransferDatesPayload } |
7 changes: 7 additions & 0 deletions
7
.../cypress/support/payloads/Transfers/AuthorisedUserCanSetTrustInfoAndProjectsDates.spec.js
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,7 @@ | ||
const AuthorisedUserCanSetTrustInfoAndProjectDatesPayload = | ||
{ | ||
"urn": Cypress.env('urn'), | ||
"recommendation": "recommendationString value", | ||
"author": "authorString value" | ||
} | ||
module.exports = { AuthorisedUserCanSetTrustInfoAndProjectDatesPayload } |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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