rename modern references on tests to e2e, like ./tools/e2e-tests/apps, create-app:e2e and etc

This commit is contained in:
Nacho Codoñer
2026-03-03 13:06:29 +01:00
parent d0eed87993
commit 008bd95351
317 changed files with 37 additions and 37 deletions

View File

@@ -25,15 +25,15 @@ TINYTEST_FILTER="collection" ./meteor test-packages # Filter specific tests
# Package tests in console (headless via Puppeteer)
PUPPETEER_DOWNLOAD_PATH=~/.npm/chromium ./packages/test-in-console/run.sh
# Modern E2E tests (Jest + Playwright)
npm run install:modern # Install dependencies
npm run test:modern # Run all E2E tests
npm run test:modern -- -t="React" # Run specific test
# E2E tests (Jest + Playwright)
npm run install:e2e # Install dependencies
npm run test:e2e # Run all E2E tests
npm run test:e2e -- -t="React" # Run specific test
```
## Modern E2E Tests (`tools/modern-tests/`)
## E2E Tests (`tools/e2e-tests/`)
Jest + Playwright suite for verifying modern bundler integrations (rspack). Tests cover framework skeletons and build scenarios.
Jest + Playwright suite for verifying bundler integrations (rspack). Tests cover framework skeletons and build scenarios.
**Test apps:** `apps/{react,vue,svelte,solid,blaze,typescript,babel,coffeescript,monorepo}`

View File

@@ -4,7 +4,7 @@ on:
pull_request:
paths:
- 'meteor'
- 'tools/modern-tests/**'
- 'tools/e2e-tests/**'
- 'packages/rspack/**'
- 'packages/tools-core/**'
- 'packages/babel-compiler/**'
@@ -52,7 +52,7 @@ jobs:
path: |
~/.npm
node_modules
tools/modern-tests/node_modules
tools/e2e-tests/node_modules
packages/**/.npm
.meteor
dev_bundle
@@ -72,7 +72,7 @@ jobs:
run: npm install
- name: Install test deps
run: npm run install:modern
run: npm run install:e2e
- name: Prepare Meteor
run: ./meteor --get-ready
@@ -84,4 +84,4 @@ jobs:
retry_on: error
timeout_minutes: 15
retry_wait_seconds: 90
command: npm run test:modern -- -t="${{ matrix.category }}"
command: npm run test:e2e -- -t="${{ matrix.category }}"

View File

@@ -9,7 +9,7 @@ Full-stack JavaScript platform for modern web and mobile applications.
./meteor create my-app # Create app
./meteor self-test # CLI tests
./meteor test-packages ./packages/<name> # Package tests
npm run test:modern # E2E tests (Jest + Playwright)
npm run test:e2e # E2E tests (Jest + Playwright)
```
## Structure

View File

@@ -35,10 +35,10 @@
"typescript": "^5.4.5"
},
"scripts": {
"install:modern": "cd tools/modern-tests && npm install && npx playwright install --with-deps chromium chromium-headless-shell",
"install:e2e": "cd tools/e2e-tests && npm install && npx playwright install --with-deps chromium chromium-headless-shell",
"test:idle-bot": "node --test .github/scripts/__tests__/inactive-issues.test.js",
"test:modern": "cd tools/modern-tests && npm test -- ",
"create-app:modern": "cd tools/modern-tests && node scripts/create-app.js"
"test:e2e": "cd tools/e2e-tests && npm test -- ",
"create-app:e2e": "cd tools/e2e-tests && node scripts/create-app.js"
},
"jshintConfig": {
"esversion": 11

View File

Before

Width:  |  Height:  |  Size: 9.1 KiB

After

Width:  |  Height:  |  Size: 9.1 KiB

View File

Before

Width:  |  Height:  |  Size: 60 KiB

After

Width:  |  Height:  |  Size: 60 KiB

Some files were not shown because too many files have changed in this diff Show More