mirror of
https://github.com/meteor/meteor.git
synced 2026-05-02 03:01:46 -04:00
rename modern references on tests to e2e, like ./tools/e2e-tests/apps, create-app:e2e and etc
This commit is contained in:
12
.github/skills/testing/SKILL.md
vendored
12
.github/skills/testing/SKILL.md
vendored
@@ -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}`
|
||||
|
||||
|
||||
8
.github/workflows/e2e-tests.yml
vendored
8
.github/workflows/e2e-tests.yml
vendored
@@ -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 }}"
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
|
Before Width: | Height: | Size: 9.1 KiB After Width: | Height: | Size: 9.1 KiB |
|
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
Reference in New Issue
Block a user