Skip to content

DRY Test Code #6874

@FireLemons

Description

@FireLemons

Description

There's a lot of duplicate code within the test files. For each file, find the duplicate code and group it under a shared example or a private function.

A lot of the code follows the pattern: admin can do action, supervisor can usually do the same action, volunteer might be able to do the action as well. Since the code describing the action isn't DRY, the admin and supervisor tests might become divergent if the code in their blocks aren't duplicated.

How to access the QA site

Login Details:
Link to QA site

Login Emails:

password for all users: 12345678

Questions? Join Slack!

We highly recommend that you join us in slack #casa channel to ask questions quickly. And discord for office hours (currently Tuesday 5-7pm Pacific), stakeholder news, and upcoming new issues.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Help WantedLooking for contributorsno-pr-activityPR auto-marked stale by bot🗺️ EpicMulti-issue tracking ticket

    Type

    No type

    Projects

    Status

    Todo

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions