Skip to content

Add e2e tests #23

Open
Open
@d3lm

Description

@d3lm

I think we should really have some e2e tests for this project to ensure that, when new features are added, we don't break existing functionality.

My preference would be to write mostly e2e tests for the checklist with Cypress. Cypress a fast and reliable testing framework and I have been using it for some of my projects. It really is reliable and writing tests is fun as well.

Here's a list of todo's that we could parallelize across multiple people.

  1. Set up Cypress
  2. project page
    • adding projects
    • editing
    • renaming
    • and deleting
  3. checklist page
    • check / uncheck items
    • add / remove favorites
    • edit mode (check / uncheck categories, test if a popup is shown when the category has favorites, test if the content area is not actionable and no items can be toggled)
    • change project
    • search for items and categories
    • filter items
    • check / uncheck all
    • about dialog

If anyone wants to take some parts over, I am more than happy to provide assistance and help you out with getting Cypress up and running.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions