Short answer: Start QA automation on a state agency portal with the few journeys residents use most, such as applying, paying and checking status, and run those tests automatically on every build. Then add unit and integration tests, accessibility rules, security checks and a load test, in that order, so each layer protects what the last one cannot.
Sources: Digital Services Playbook, play 10; NIST SP 800-218, Secure Software Development Framework.
Why automate testing on an agency portal at all?
Automated tests catch regressions every time code changes, which lets a team release small updates without fear. The Digital Services Playbook says manual tests and quality assurance are still necessary, and that automated tests give consistent protection against unintended regressions.
Agency portals change often. Fee schedules, eligibility rules, forms and integrations with older systems all shift during a contract. Each change can break a journey that worked last week.
Play 10 of the Playbook, "Automate testing and deployments", lists 5 checklist items. They are a sensible frame for any state portal:
- Automated tests that verify all user facing functionality
- Unit and integration tests for modules and components
- Tests that run automatically as part of the build
- Automated deployments
- Load and performance tests at regular intervals, including before public launch
Source: Digital Services Playbook, play 10, "Automate testing and deployments".
Which journeys should you automate first?
Automate the journeys that would cause the most harm if they broke. On most portals that means the ones that take money, collect an application or give someone a decision. Write 1 end to end test per journey, from the first page to the confirmation screen.
A good first list for a typical state portal:
- Sign in, sign out and password reset
- Start, save and submit the main application or renewal
- Pay a fee and see a receipt
- Check the status of a case or application
- Upload a document and see it listed
- Search and open a result
Keep the first suite small. Ten reliable tests that run on every build are worth more than 200 flaky ones nobody trusts. Add a test each time a defect reaches production, so the same bug cannot return.
NIST makes the same point for security defects. Its Secure Software Development Framework suggests adding tests for previously reported vulnerabilities to the test suite so the errors are not reintroduced.
Source: NIST SP 800-218, Secure Software Development Framework (SSDF) Version 1.1, practice PW.8.2.
What should run on every build, and what should run less often?
Run fast, stable checks on every build and slower, broader checks on a schedule or before release. That keeps feedback within minutes for developers while still covering load, security and full accessibility review. The split below is a starting point you can adjust.
- Every build: unit tests, integration tests, the end to end journey tests, and automated accessibility rules.
- Nightly: the full end to end suite across supported browsers, plus dynamic security scans.
- Before each release: manual accessibility checks on changed pages and exploratory testing of new features.
- Before launch and at set intervals: load and performance tests.
The Playbook asks teams how many simultaneous users the system could handle in the most recent capacity test, and whether it degrades gracefully when demand goes past the target. Renewal deadlines and benefit sign up periods make this question real for state portals.
Sources: Digital Services Playbook, play 10 key questions; NIST SP 800-218, practice PW.8.2.
Starter test list for a state agency portal
Copy this list into your test plan. Each row is one automated check, the layer it belongs to, and when it runs. Replace the journeys with your own portal's main tasks.
| Check | Layer | When it runs | Why it is on the list |
|---|---|---|---|
| Sign in, sign out and password reset work | End to end | Every build | Every other journey depends on it |
| Main application can be started, saved and submitted | End to end | Every build | Core service of the portal |
| Fee payment returns a receipt in a test payment sandbox | End to end | Every build | Money paths need the strictest checks |
| Case status page shows the right status for test cases | End to end | Every build | Most common reason people return |
| Eligibility and fee rules give expected results | Unit | Every build | Rules change often and break quietly |
| Calls to back end systems return expected data | Integration | Every build | Older agency systems change without notice |
| Form validation shows clear errors | Unit and end to end | Every build | Bad errors drive phone calls and drop offs |
| Automated accessibility rules pass on key templates | Accessibility | Every build | Keeps WCAG 2.1 AA fixes from slipping |
| Document upload accepts allowed types and rejects others | End to end and security | Every build | Uploads are a common attack path |
| Full suite runs in each supported browser | End to end | Nightly | Residents use many devices |
| Dynamic security scan of the test environment | Security | Nightly | NIST suggests dynamic testing in the automated suite |
| Load test at expected peak plus a margin | Performance | Before launch and before peak periods | Deadlines bring traffic spikes |
Sources: Digital Services Playbook, play 10; NIST SP 800-218, practice PW.8.2; ADA.gov, Fact Sheet: New Rule on the Accessibility of Web Content and Mobile Apps.
Where does accessibility fit in the automated suite?
Automated accessibility rules belong in every build, but they cover only part of WCAG. Section508.gov says scanning tools cannot apply human judgment, so they either produce many false positives or test only a small portion of the requirements. Pair the rules with scheduled manual checks.
The deadline makes this urgent for state portals. ADA.gov says public entities with a population of 50,000 or more must comply by April 26, 2027. Entities under 50,000 and special district governments have until April 26, 2028.
Section508.gov also recommends building automated rule sets into developer operations so applications are checked before release. W3C publishes Accessibility Conformance Testing (ACT) rules, a shared format for writing test rules, which helps when you compare tools. Our accessibility regression testing guide covers the manual side in detail.
Sources: Section508.gov, Overview of Testing Methods for 508 Conformance; Section508.gov, Incorporating ICT Accessibility Testing into the Development Process; ADA.gov fact sheet; W3C WAI, Accessibility Conformance Testing (ACT) Overview.
What test data should the automation use?
Use synthetic test data, never real resident records. Create fake applicants, cases and payments that cover each rule path, and load them into a test environment before each run. Reset the data after each run so tests do not depend on each other.
Synthetic data also makes the suite portable. A test team can run it anywhere without access to protected agency data, and failures can be shared in tickets without exposing anyone's details.
NIST suggests considering the infrastructure and technology stacks used in production when writing test plans. Keep the test environment close to production in versions and configuration, even when the data is fake.
Source: NIST SP 800-218, Secure Software Development Framework (SSDF) Version 1.1, practice PW.8.2.
What this means for subcontractors
Primes on state portal contracts are often asked how they test, how fast they can ship a fix, and how they prove a release did not break anything. The Playbook's play 10 questions, such as how long it takes to build, test and deploy a bug fix, are a good preview of what an agency may ask.
A QA subcontractor can build and run the starter list above, keep it green, and hand the prime a log of each run with build number, date and results. Offshore QA teams can work this way because the suite runs on synthetic data and test environments. See whether agencies can use offshore developers, read how primes use subcontractors on state contracts, and how primes work with Konnex. Our capability statement lists what we cover.
Source: Digital Services Playbook, play 10 key questions.
Quick answers
What is the first test to automate on an agency portal?
Automate the journey that would do the most harm if it broke, usually sign in or the main application. Run it on every build. The Digital Services Playbook asks for automated tests of all user facing functionality.
Can automated tools prove a portal meets WCAG 2.1 AA?
No. Section508.gov says scanning tools cannot apply human judgment, so they test only part of the requirements or produce false positives. Combine automated rules with manual checks.
How often should load tests run?
Run them before public launch and at regular intervals, as the Digital Services Playbook advises. For state portals, also run them before known peaks such as renewal deadlines.
Should test suites use real resident data?
No. Use synthetic records that cover each rule path, and keep the test environment close to production in configuration, as NIST SP 800-218 suggests for test planning.
Sources: Digital Services Playbook; Section508.gov; NIST SP 800-218.
Sources
- The Digital Services Playbook (U.S. Digital Service)
- NIST SP 800-218, Secure Software Development Framework (SSDF) Version 1.1: Recommendations for Mitigating the Risk of Software Vulnerabilities
- Overview of Testing Methods for 508 Conformance | Section508.gov
- Incorporating ICT Accessibility Testing into the Development Process | Section508.gov
- Fact Sheet: New Rule on the Accessibility of Web Content and Mobile Apps Provided by State and Local Governments | ADA.gov
- Accessibility Conformance Testing (ACT) Overview | W3C WAI
This is general information, not legal advice.
Planning QA for a state portal contract? Contact Konnex to talk through the first tasks.