QA automation for state agency portals: where to start

A practical starting plan for automated testing on state agency portals, built from federal playbooks and NIST guidance.

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:

  1. Sign in, sign out and password reset
  2. Start, save and submit the main application or renewal
  3. Pay a fee and see a receipt
  4. Check the status of a case or application
  5. Upload a document and see it listed
  6. 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.

Starter QA automation test list for a state agency portal
CheckLayerWhen it runsWhy it is on the list
Sign in, sign out and password reset workEnd to endEvery buildEvery other journey depends on it
Main application can be started, saved and submittedEnd to endEvery buildCore service of the portal
Fee payment returns a receipt in a test payment sandboxEnd to endEvery buildMoney paths need the strictest checks
Case status page shows the right status for test casesEnd to endEvery buildMost common reason people return
Eligibility and fee rules give expected resultsUnitEvery buildRules change often and break quietly
Calls to back end systems return expected dataIntegrationEvery buildOlder agency systems change without notice
Form validation shows clear errorsUnit and end to endEvery buildBad errors drive phone calls and drop offs
Automated accessibility rules pass on key templatesAccessibilityEvery buildKeeps WCAG 2.1 AA fixes from slipping
Document upload accepts allowed types and rejects othersEnd to end and securityEvery buildUploads are a common attack path
Full suite runs in each supported browserEnd to endNightlyResidents use many devices
Dynamic security scan of the test environmentSecurityNightlyNIST suggests dynamic testing in the automated suite
Load test at expected peak plus a marginPerformanceBefore launch and before peak periodsDeadlines 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

This is general information, not legal advice.

Planning QA for a state portal contract? Contact Konnex to talk through the first tasks.