-
Notifications
You must be signed in to change notification settings - Fork 127
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* vebt-841 added Submission Instructions page to 22-10216 Form * vebt-841 added unit test for SubmissionInstructions
- Loading branch information
1 parent
110f0a6
commit 96dae90
Showing
5 changed files
with
55 additions
and
0 deletions.
There are no files selected for viewing
19 changes: 19 additions & 0 deletions
19
src/applications/edu-benefits/10216/components/SubmissionInstructions.jsx
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,19 @@ | ||
import React from 'react'; | ||
|
||
const SubmissionInstructions = () => { | ||
return ( | ||
<div> | ||
<h3 className="vads-u-color--gray-dark vads-u-margin-top--0"> | ||
How to submit your form | ||
</h3> | ||
<p> | ||
<strong>Please note:</strong> This form does not submit automatically. | ||
After you review your information, download the completed VA Form | ||
22-10216. Then, upload it manually through the VA Education Portal to | ||
complete the submission process. | ||
</p> | ||
</div> | ||
); | ||
}; | ||
|
||
export default SubmissionInstructions; |
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 |
---|---|---|
|
@@ -12,3 +12,6 @@ | |
display: none; | ||
} | ||
} | ||
va-accordion-item[data-chapter="submissionInstructionsChapter"] { | ||
display: none; | ||
} |
12 changes: 12 additions & 0 deletions
12
src/applications/edu-benefits/10216/tests/components/SubmissionInstructions.unit.spec.jsx
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 @@ | ||
import React from 'react'; | ||
import { expect } from 'chai'; | ||
import { shallow } from 'enzyme'; | ||
import SubmissionInstructions from '../../components/SubmissionInstructions'; | ||
|
||
describe('<SubmissionInstructions />', () => { | ||
it('should render without crashing', () => { | ||
const wrapper = shallow(<SubmissionInstructions />); | ||
expect(wrapper.exists()).to.be.ok; | ||
wrapper.unmount(); | ||
}); | ||
}); |
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