-
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 #1663 from ministryofjustice/MLPAB-2445-update-pro…
…gress-items MLPAB-2445 Update progress tracker items
- Loading branch information
Showing
16 changed files
with
467 additions
and
648 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,36 +1,40 @@ | ||
describe('LPA progress', () => { | ||
it('when nothing completed', () => { | ||
cy.visit('/fixtures?redirect=/progress'); | ||
cy.checkA11yApp(); | ||
|
||
cy.contains('li', 'You’ve signed your LPA In progress'); | ||
cy.contains('li', 'Your certificate provider has provided their certificate Not started'); | ||
cy.contains('li', 'Your attorneys have signed your LPA Not started'); | ||
cy.contains('li', 'We have received your LPA Not started'); | ||
cy.contains('li', 'Your 4-week waiting period has started Not started'); | ||
cy.contains('li', 'Your LPA has been registered Not started'); | ||
cy.contains('li', 'LPA paid for Not completed'); | ||
cy.contains('li', 'Your identity confirmed Not completed'); | ||
cy.contains('li', 'LPA signed by you Not completed'); | ||
cy.contains('li', 'LPA certificate provided Not completed'); | ||
cy.contains('li', 'LPA signed by all attorneys Not completed'); | ||
cy.contains('li', 'OPG’s statutory 4-week waiting period begins Not completed'); | ||
cy.contains('li', 'LPA registered by OPG Not completed'); | ||
}) | ||
|
||
it('when LPA submitted', () => { | ||
cy.visit('/fixtures?redirect=/progress&progress=signTheLpa'); | ||
cy.checkA11yApp(); | ||
|
||
cy.contains('li', 'You’ve signed your LPA Completed'); | ||
cy.contains('li', 'Charlie Cooper has provided their certificate In progress'); | ||
cy.contains('li', 'Your attorneys have signed your LPA Not started'); | ||
cy.contains('li', 'We have received your LPA Not started'); | ||
cy.contains('li', 'Your 4-week waiting period has started Not started'); | ||
cy.contains('li', 'Your LPA has been registered Not started'); | ||
cy.contains('li', 'LPA paid for Completed'); | ||
cy.contains('li', 'Your identity confirmed Completed'); | ||
cy.contains('li', 'LPA signed by you Completed'); | ||
cy.contains('li', 'LPA certificate provided Not completed'); | ||
cy.contains('li', 'LPA signed by all attorneys Not completed'); | ||
cy.contains('li', 'OPG’s statutory 4-week waiting period begins Not completed'); | ||
cy.contains('li', 'LPA registered by OPG Not completed'); | ||
}) | ||
|
||
it('when certificate provided', () => { | ||
cy.visit('/fixtures?redirect=/progress&progress=signedByCertificateProvider'); | ||
cy.checkA11yApp(); | ||
|
||
cy.contains('li', 'You’ve signed your LPA Completed'); | ||
cy.contains('li', 'Charlie Cooper has provided their certificate Completed'); | ||
cy.contains('li', 'Your attorneys have signed your LPA In progress'); | ||
cy.contains('li', 'We have received your LPA Not started'); | ||
cy.contains('li', 'Your 4-week waiting period has started Not started'); | ||
cy.contains('li', 'Your LPA has been registered Not started'); | ||
cy.contains('li', 'LPA paid for Completed'); | ||
cy.contains('li', 'Your identity confirmed Completed'); | ||
cy.contains('li', 'LPA signed by you Completed'); | ||
cy.contains('li', 'LPA certificate provided Completed'); | ||
cy.contains('li', 'LPA signed by all attorneys Not completed'); | ||
cy.contains('li', 'OPG’s statutory 4-week waiting period begins Not completed'); | ||
cy.contains('li', 'LPA registered by OPG Not completed'); | ||
}) | ||
}); |
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
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
Oops, something went wrong.