-
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.
MLPAB-1291 Hide submitted replacement attorney cards (#732)
And create a brand new fixtures page for attorneys and certificate providers
- Loading branch information
Showing
33 changed files
with
725 additions
and
305 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
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,8 +1,8 @@ | ||
const { TestMobile } = require("../../support/e2e"); | ||
const { TestMobile, TestEmail } = require("../../support/e2e"); | ||
|
||
describe('As a trust corporation', () => { | ||
beforeEach(() => { | ||
cy.visit('/testing-start?redirect=/attorney-start&lpa.complete=1&lpa.trustCorporation=complete&useTestShareCode=1&sendAttorneyShare=1&lpa.signedByDonor=1&asCertificateProvider=certified'); | ||
cy.visit('/fixtures/attorney?redirect=/attorney-start&is-trust-corporation=1&progress=signedByCertificateProvider&use-test-code=1&email=' + TestEmail); | ||
|
||
// start | ||
cy.contains('a', 'Start').click(); | ||
|
@@ -25,11 +25,11 @@ describe('As a trust corporation', () => { | |
// confirm your company details | ||
cy.contains(TestMobile); | ||
cy.contains('Confirm your company details'); | ||
cy.contains('My company'); | ||
cy.contains('First Choice Trust Corporation Ltd.'); | ||
cy.contains('555555555'); | ||
cy.contains('[email protected]'); | ||
cy.contains('123 Fake Street'); | ||
cy.contains('FF1 1FF'); | ||
cy.contains('2 RICHMOND PLACE'); | ||
cy.contains('B14 7ED'); | ||
cy.contains('button', 'Continue').click(); | ||
|
||
// read the lpa | ||
|
@@ -59,7 +59,7 @@ describe('As a trust corporation', () => { | |
cy.contains('button', 'Continue').click(); | ||
|
||
// what happens next | ||
cy.contains('My company has formally agreed to be an attorney'); | ||
cy.contains('First Choice Trust Corporation Ltd. has formally agreed to be an attorney'); | ||
cy.contains('a', 'Go to your dashboard'); | ||
}); | ||
|
||
|
@@ -89,7 +89,7 @@ describe('As a trust corporation', () => { | |
cy.contains('button', 'Submit signature').click(); | ||
|
||
// what happens next | ||
cy.contains('My company has formally agreed to be an attorney'); | ||
cy.contains('First Choice Trust Corporation Ltd. has formally agreed to be an attorney'); | ||
cy.contains('a', 'Go to your dashboard'); | ||
}); | ||
|
||
|
@@ -119,7 +119,7 @@ describe('As a trust corporation', () => { | |
cy.contains('button', 'Continue').click(); | ||
|
||
// what happens next | ||
cy.contains('My company has formally agreed to be an attorney'); | ||
cy.contains('First Choice Trust Corporation Ltd. has formally agreed to be an attorney'); | ||
cy.contains('a', 'Go to your dashboard'); | ||
}); | ||
}); |
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
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
2 changes: 1 addition & 1 deletion
2
cypress/e2e/certificate-provider/select-your-identity-options.cy.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
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.