Skip to content

Add standard users to fixtures_users.py for user research #4769

@lizpearl

Description

@lizpearl

Issue description

As part of user research, we want a way to add normal test users (no permissions to /admin) to our user fixtures.

Acceptance criteria

  • Create a section for a standard users in fixtures_users.py

  • When fixtures are run, these standard users should be added to our user table

  • Each user should be given a variety of roles including:

    • Basic members of an organization: Domain permissions should be "Viewer", domain requests permissions should be "Requester" and member permissions should be "Viewer"
    • Domain managers of several domains with a variety of statuses (Expired, DNS Needed, Ready, etc.), and at least one of each status
    • Domain requesters with several requests that have a variety of statuses (make sure every status is represented)

Additional context

Our current setup contains a hardcoded test portfolio and randomly created domains and domain request. We can reuse this set up since we don't need the same values in each sandbox. I think the difference here is that we want some number of guaranteed domain request and domain states

Links to other issues

Added feedback+9@get.gov and feedback+10@get.gov to fixtures in #4764

Metadata

Metadata

Assignees

Labels

carryoverCarryover from a previous sprintdesign-reviewdev ticket needing design reviewdevissue is for the dev team

Type

No type
No fields configured for issues without a type.

Projects

Status

👀 In review

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions