-
Notifications
You must be signed in to change notification settings - Fork 2
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 #1571 from ministryofjustice/MLPAB-2568-split-id-a…
…nd-sign MLPAB-2568 Split confirm identity and sign tasks
- Loading branch information
Showing
51 changed files
with
754 additions
and
773 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
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
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
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 |
---|---|---|
@@ -1,28 +1,28 @@ | ||
describe('Check your details', () => { | ||
it('shows my details', () => { | ||
cy.visit('/fixtures?redirect=/check-your-details&progress=confirmYourIdentity&idStatus=donor:insufficient-evidence&voucher=1'); | ||
it('shows my details', () => { | ||
cy.visit('/fixtures?redirect=/check-your-details&progress=confirmYourIdentity&idStatus=donor:insufficient-evidence&voucher=1'); | ||
|
||
cy.checkA11yApp(); | ||
cy.contains('Sam Smith'); | ||
cy.contains('2 January 2000'); | ||
cy.contains('1 RICHMOND PLACE'); | ||
cy.contains('button', 'Continue').click(); | ||
cy.checkA11yApp(); | ||
cy.contains('Sam Smith'); | ||
cy.contains('2 January 2000'); | ||
cy.contains('1 RICHMOND PLACE'); | ||
cy.contains('button', 'Continue').click(); | ||
|
||
cy.url().should('contain', '/we-have-contacted-voucher'); | ||
cy.checkA11yApp(); | ||
cy.url().should('contain', '/we-have-contacted-voucher'); | ||
cy.checkA11yApp(); | ||
|
||
cy.contains('a', 'Continue').click(); | ||
cy.contains('a', 'Return to task list').click(); | ||
|
||
cy.url().should('contain', '/read-your-lpa'); | ||
cy.checkA11yApp(); | ||
}); | ||
cy.url().should('contain', '/task-list'); | ||
cy.checkA11yApp(); | ||
}); | ||
|
||
it('tells me about a pending payment', () => { | ||
cy.visit('/fixtures?redirect=/check-your-details&progress=payForTheLpa&feeType=NoFee&paymentTaskProgress=Pending'); | ||
cy.contains('button', 'Continue').click(); | ||
it('tells me about a pending payment', () => { | ||
cy.visit('/fixtures?redirect=/check-your-details&progress=payForTheLpa&feeType=NoFee&paymentTaskProgress=Pending'); | ||
cy.contains('button', 'Continue').click(); | ||
|
||
cy.url().should('contain', '/we-have-received-voucher-details'); | ||
cy.checkA11yApp(); | ||
cy.contains('no fee (exemption)'); | ||
}); | ||
cy.url().should('contain', '/we-have-received-voucher-details'); | ||
cy.checkA11yApp(); | ||
cy.contains('no fee (exemption)'); | ||
}); | ||
}); |
Oops, something went wrong.