Skip to content

EPIC: Automated Testing #185

@Jonnashell

Description

@Jonnashell

A recent security audit has advised the client to include End to End testing in the app. They are seeking 50% code coverage as a minimum, which should be automated and part of the deployment process. They have also been advised to include unit and integration tests.

We want to test all functionality in frontend that communicates with backend. This consists of:

  • Login
    • Can login with correct email/password
    • Cannot login with incorrect email/password AND get displayed message
  • Register
    • Can register with valid email and password
    • Cannot register with invalid email and/or password AND get displayed message
  • Dashboard
    • See UI elements in Dashboard after login
    • Get posts from backend
    • Add post/comment
    • Edit post/comment
  • Search view
    • Search for users
  • Profile
    • Displayed data match the data from profile creation
    • Allowed to edit first name
    • NOT allowed to edit profile for other users
  • Cohorts (teacher)
    • Get cohorts from backend
    • See students in a selected cohort
    • Add cohort
    • Add student to cohort and course
  • Cohorts (student)
    • See students in my cohort
    • See teachers in my cohort

Sub-issues

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status

    Epic

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions