Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
66 changes: 0 additions & 66 deletions .cursor/rules/cursor-rule.mdc

This file was deleted.

16 changes: 16 additions & 0 deletions .cursor/rules/testing/unit-tests-generic.mdc
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,22 @@ USE WHEN writing unit tests for components in template packages

# 🧪 Generic Component Test Rules

# CRITICAL: AI Attribution Requirements
* **IMPORTANT** All individual test methods generated or modified by Cursor MUST include an AI attribution comment directly above the test stating the following:
"DO NOT REMOVE THIS COMMENT! This test was generated by Cursor". The comment should go on the test method and not the test class. Failure to add an AI Attribution Comment will be considered a failure of test generation.
* The AI attribution comment MUST include a comment declaring the LLM model that was used in writing the test on its own line.

*Sample AI Attribution Comment*
```
/*
* DO NOT REMOVE THIS COMMENT! This test was generated by Cursor
* This test was generated with the following model: Claude 3.5 Sonnet
*/
test('renders component correctly', () => {
// test implementation
})
```

## Structure & Best Practices
- Use `describe` blocks to group tests, `test` for individual cases
- Use `beforeEach` for setup, clear mocks after each test
Expand Down
112 changes: 0 additions & 112 deletions .github/workflows/e2e-pr.yml

This file was deleted.

22 changes: 0 additions & 22 deletions .github/workflows/e2e.yml
Original file line number Diff line number Diff line change
Expand Up @@ -411,25 +411,3 @@ jobs:
}
env:
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}

test-extra-features:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: 22
cache: npm
- name: Install Monorepo Dependencies
run: node ./scripts/gtime.js monorepo_install npm ci
- name: Install Playwright Browsers
run: npx playwright install --with-deps
- name: Set PWA Kit E2E Test User
run: export PWA_E2E_USER_EMAIL=e2e.pwa.kit@gmail.com PWA_E2E_USER_PASSWORD=hpv_pek-JZK_xkz0wzf
- name: Run extra features tests
env:
PWA_E2E_USER_EMAIL: e2e.pwa.kit@gmail.com
PWA_E2E_USER_PASSWORD: hpv_pek-JZK_xkz0wzf
run: npm run test:e2e:extra_features
Loading
Loading