Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

5430 DOD #5573

Merged
merged 2 commits into from
Jun 22, 2020
Merged
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
22 changes: 22 additions & 0 deletions cypress/integration/petitions-clerk-views-case-detail.spec.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
describe('Petitions clerk views case detail', function () {
before(() => {
cy.login('petitionsclerk');
});

describe('case information tab', () => {
it('should display a card for other petitioners in the petitioner tab', () => {
cy.visit('/case-detail/101-20');

cy.get('button#tab-case-information').click();

cy.get('button#tab-petitioner').click();

cy.get('div#other-petitioners-label').should('exist');
cy.get('button#view-additional-petitioners-button')
.scrollIntoView()
.click();

cy.get('div.other-petitioners-information').should('have.length', 7);
});
});
});
2 changes: 1 addition & 1 deletion web-api/storage/fixtures/seed/101-20.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
"address1": "453 Electric Ave",
"postalCode": "99999",
"name": "Rachael Ray",
"additionalName": "Rachael Ray, Petitioner",
"additionalName": "Rachael Ray",
"state": "PA",
"countryType": "domestic",
"email": "mayor@flavortown.gov",
Expand Down