Skip to content

test(e2e): implement Playwright testing infrastructure and inventory workflow (#84)#133

Open
krishna28004 wants to merge 4 commits into
rushikesh-bobade:mainfrom
krishna28004:feature/issue-84-e2e-tests
Open

test(e2e): implement Playwright testing infrastructure and inventory workflow (#84)#133
krishna28004 wants to merge 4 commits into
rushikesh-bobade:mainfrom
krishna28004:feature/issue-84-e2e-tests

Conversation

@krishna28004

@krishna28004 krishna28004 commented Jul 7, 2026

Copy link
Copy Markdown
Contributor

Description

This PR implements Playwright end-to-end testing infrastructure for FlipTrack as part of Issue #84.

Changes made

  • Added Playwright configuration and E2E test setup.
  • Added global authentication setup for Playwright tests.
  • Implemented an end-to-end test for the inventory creation workflow.
  • Improved the smoke test by replacing a generic selector with a stable semantic selector.
  • Enhanced the demo user creation script to support the Supabase Admin API for reliable test user provisioning.
  • Fixed an application bug in AddItemModal where previous form steps were unmounted, causing multi-step form data to be lost during native form submission. The inactive steps are now visually hidden instead, preserving form state.

Verification

  • npm run build
  • npm run typecheck
  • npm run test:e2e

This implementation was verified locally and all Playwright tests pass successfully.

Related Issues

Closes #84

Type of Change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Documentation update

Checklist

  • My code follows the style guidelines of this project
  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings

@vercel

vercel Bot commented Jul 7, 2026

Copy link
Copy Markdown

@krishna28004 is attempting to deploy a commit to the participationcorner2025-8967's projects Team on Vercel.

A member of the Team first needs to authorize it.

@github-actions github-actions Bot added the ECSoC26 Required label for ECSOC Sentinel scoring label Jul 7, 2026
@github-actions

github-actions Bot commented Jul 7, 2026

Copy link
Copy Markdown

Codesense Ai: This PR is too large to review automatically. A human maintainer will take a look!

@github-actions

github-actions Bot commented Jul 7, 2026

Copy link
Copy Markdown

Codesense Ai: This PR is too large to review automatically. A human maintainer will take a look!

@github-actions

github-actions Bot commented Jul 7, 2026

Copy link
Copy Markdown

Codesense Ai: This PR is too large to review automatically. A human maintainer will take a look!

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

Labels

ECSoC26 Required label for ECSOC Sentinel scoring

Projects

None yet

Development

Successfully merging this pull request may close these issues.

test: Add end-to-end tests for core workflows

1 participant