Skip to content

E2E test: creating, editing and deleting a goal #3804

Todo

Description

@Priyanshu-byte-coder

Summary

Extend the Playwright suite to cover creating, editing and deleting a goal.

Steps to cover

create a goal, edit its target, mark progress, delete it with the confirm modal, and check the empty state.

Where

e2e/goals.spec.ts (add to it if it exists). Reuse the session and API mocks in e2e/helpers/dashboard-mocks.js; no real network.

Acceptance criteria

  • Runs green locally with pnpm test:e2e (or npx playwright test e2e/goals.spec.ts)
  • No fixed waits (waitForTimeout); wait on visible UI instead

Activity

  1. added
    level:intermediate
    type:testing
    level 2
    on Nov 25, 2026
  2. priyanshiy1312-ui commented on Nov 25, 2026

    @priyanshiy1312-ui

    assign/

  3. srnsksyp commented on Nov 25, 2026

    @srnsksyp
    Contributor

    /assign

  4. github-actions commented on Nov 25, 2026

    @github-actions

    Assigned to @srnsksyp! You have 7 days to open a PR. No PR after 7 days = auto-unassigned so others can pick it up. Good luck!

  5. Priyanshu-byte-coder commented on Nov 25, 2026

    @Priyanshu-byte-coder
    OwnerAuthor

    Releasing this one: @srnsksyp was holding 10 issues with no PR open yet, and we now cap it at 5 open issues per contributor so everyone in Winter of Code Social gets a fair shot. @srnsksyp, you've kept your first 5, and once one of those is done you're welcome to claim more. Anyone else can comment /assign here.

  6. KartikeyG-world commented on Nov 26, 2026

    @KartikeyG-world
    Contributor

    /assign

  7. github-actions commented on Nov 26, 2026

    @github-actions

    Assigned to @KartikeyG-world! You have 7 days to open a PR. No PR after 7 days = auto-unassigned so others can pick it up. Good luck!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

level 2level:intermediatestatus:assignedtype:testing

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions