From 18acd77b6046f8f39b9b1041a4800857852ecf3a Mon Sep 17 00:00:00 2001 From: Arshi Date: Wed, 11 Mar 2026 21:16:58 -0500 Subject: [PATCH 1/2] Add AI demo PRD --- tools/ai-demo/prd.txt | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 tools/ai-demo/prd.txt diff --git a/tools/ai-demo/prd.txt b/tools/ai-demo/prd.txt new file mode 100644 index 0000000000..eaa153766e --- /dev/null +++ b/tools/ai-demo/prd.txt @@ -0,0 +1,7 @@ +Feature: Login validation + +Requirements: +1. User must enter email +2. Password must be at least 8 characters +3. Show error message if password is too short +4. Login button should not submit if validation fails \ No newline at end of file From 4d98e9be1ef7175cb5a216af5c68fff13538da4f Mon Sep 17 00:00:00 2001 From: Arshi Date: Wed, 11 Mar 2026 21:30:36 -0500 Subject: [PATCH 2/2] Add Playwright CI workflow for AI demo --- .github/workflows/playwright-ai-demo.yml | 27 ++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 .github/workflows/playwright-ai-demo.yml diff --git a/.github/workflows/playwright-ai-demo.yml b/.github/workflows/playwright-ai-demo.yml new file mode 100644 index 0000000000..ca616a0644 --- /dev/null +++ b/.github/workflows/playwright-ai-demo.yml @@ -0,0 +1,27 @@ +name: Playwright AI Demo + +on: + pull_request: + branches: [ main ] + +jobs: + playwright-test: + runs-on: ubuntu-latest + + steps: + - name: Checkout repo + uses: actions/checkout@v4 + + - name: Setup Node + uses: actions/setup-node@v4 + with: + node-version: 18 + + - name: Install dependencies + run: npm install + + - name: Install Playwright browsers + run: npx playwright install --with-deps + + - name: Run Playwright tests + run: npx playwright test \ No newline at end of file