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

Cypress test for account creation #10228

Closed
33 tasks
mmarcotte opened this issue Dec 20, 2023 · 1 comment
Closed
33 tasks

Cypress test for account creation #10228

mmarcotte opened this issue Dec 20, 2023 · 1 comment
Assignees

Comments

@mmarcotte
Copy link
Collaborator

mmarcotte commented Dec 20, 2023

As a Tech lead, so that I can have better confidence in the account creation process of a new petitioner, I need a smoketest covering the flow of creating a petitioner account.

Pre-Conditions

Acceptance Criteria

  • Create a new e-filed case.
  • Replay-able cypress smoketest is in place for account creation that can be seen in CI. (See Test case)

Notes

This could deprecate the existing Create a Case as a Petitioner cypress smoketest because it does the same thing with the added bonus of testing account creation. 🤔

Tasks

Test Cases

  • Cypress smoketest written and passing that performs the following

    • ✅ Navigates to public site
    • ✅ Navigates to create a new account
    • ✅ Verifies the rules that we have in place on that page are working (attempts to create an account with invalid information at first)
    • ✅ Successfully creates a new account
    • ✅ Figures out a way to confirm their email address (this may need a cypress helper?) (See: AWS Docs for API)
    • ✅ Then successfully logs them in
    • ✅ Perhaps go so far as to create a new case?? See NOTE (this might deprecate the cypress smoketest that creates a case on behalf of [email protected])

Story Definition of Ready (updated on 12/23/22)

The following criteria must be met in order for the user story to be picked up by the Flexion development team.
The user story must:

  • Is framed in business/user need, the value has been addressed.
  • Includes acceptance criteria
  • Has been refined
  • Pre conditions have been satisfied.

Process:
Flexion developers and designers will test if the story meets acceptance criteria and test cases in Flexion dev and staging environments (“standard testing”). If additional acceptance criteria or testing scenarios are discovered while the story is in progress, a new story should be created, added to the backlog and prioritized by the product owner.

Definition of Done (Updated 5-19-22)

Product Owner

UX

  • Business test scenarios have been refined to meet all acceptance criteria
  • Usability has been validated
  • Wiki has been updated (if applicable)
  • Story has been tested on a mobile device (for external users only)

Engineering

  • Automated test scripts have been written, including visual tests for newly added PDFs.
  • Field level and page level validation errors (front-end and server-side) integrated and functioning.
  • Verify that language for docket record for internal users and external users is identical.
  • New screens have been added to pa11y scripts.
  • All new functionality verified to work with keyboard and macOS voiceover https://www.apple.com/voiceover/info/guide/_1124.html.
  • READMEs, other appropriate docs, and swagger/APIs fully updated.
  • UI should be touch optimized and responsive for external only (functions on supported mobile devices and optimized for screen sizes as required).
  • Interactors should validate entities before calling persistence methods.
  • Code refactored for clarity and to remove any known technical debt.
  • If new docket entries have been added as seed data to efcms-local.json, 3 local s3 files corresponding to that docketEntryId have been added to web-api/storage/fixtures/s3/noop-documents-local-us-east-1
  • Acceptance criteria for the story has been met.
  • If there are special instructions in order to deploy into the next environment, add them as a comment in the story.
  • If the work completed for the story requires a reindex without a migration, or any other special deploy steps, apply these changes to the following flexion branches:
    • experimental1
    • experimental2
    • experimental3
    • experimental4
    • experimental5
    • experimental6
    • develop
  • Reviewed by UX on a deployed environment.
  • Reviewed by PO on a deployed environment. Can be deployed to the Court's test environment if prod-like data is required. Otherwise deployed to any experimental environment.
  • Deployed to the Court's staging environment.
@cruzjone-flexion cruzjone-flexion self-assigned this Jan 12, 2024
@cruzjone-flexion cruzjone-flexion added the Blocked The issue is blocked label Jan 19, 2024
@cruzjone-flexion
Copy link

Work has been complete. PR
Marking as "Blocked" because this relies on the work from 10007
Once all work is completed for 10007 we can merge the PR into the Quad's branch to have the smoke tests available.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Closed
Development

No branches or pull requests

5 participants