Skip to content
Merged
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
2 changes: 1 addition & 1 deletion .github/workflows/ci-validate-platforms.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Validate Platforms/Browsers
name: Validate PRs On All Platforms/Browsers

on:
workflow_dispatch:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/ci-validate-pr.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Validate PRs
name: Validate PRs on Chromium

on:
workflow_dispatch:
Expand Down Expand Up @@ -56,7 +56,7 @@ jobs:
npx playwright install --with-deps

- name: Testing unit tests
run: npm run test
run: npm run test:chromium

- name: Testing final validation
run: npm run test:validation
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"type": "none",
"comment": "Split tests to assist in base PR build gate times",
"packageName": "@microsoft/fast-element",
"email": "7559015+janechu@users.noreply.github.com",
"dependentChangeType": "none"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"type": "none",
"comment": "Split tests to assist in base PR build gate times",
"packageName": "@microsoft/fast-html",
"email": "7559015+janechu@users.noreply.github.com",
"dependentChangeType": "none"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"type": "none",
"comment": "Split tests to assist in base PR build gate times",
"packageName": "@microsoft/fast-router",
"email": "7559015+janechu@users.noreply.github.com",
"dependentChangeType": "none"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"type": "none",
"comment": "Split tests to assist in base PR build gate times",
"packageName": "@microsoft/fast-ssr",
"email": "7559015+janechu@users.noreply.github.com",
"dependentChangeType": "none"
}
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,8 @@
"test:diff:error": "echo \"Untracked files exist, try running npm prepare to identify the culprit.\" && exit 1",
"test:diff": "git update-index --refresh && git diff-index --quiet HEAD -- || npm run test:diff:error",
"test:validation": "npm run test:diff",
"test": "npm run test --workspaces --if-present",
"test": "npm run test:node -ws --if-present && npm run test:playwright -ws --if-present -- --project=*",
"test:chromium": "npm run test:node -ws --if-present && npm run test:playwright -ws --if-present -- --project=chromium",
"watch": "tsc -p ./tsconfig.json -w --preserveWatchOutput",
"format:check": "npx prettier . --check",
"format": "npx prettier . --write"
Expand Down
15 changes: 12 additions & 3 deletions packages/fast-html/playwright.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,18 @@ export default defineConfig({
testMatch: "**/*.spec.ts",
retries: 3,
projects: [
{ name: "chromium", use: { ...devices["Desktop Chrome"] } },
{ name: "firefox", use: { ...devices["Desktop Firefox"] } },
{ name: "webkit", use: { ...devices["Desktop Safari"] } },
{
name: "chromium",
use: { ...devices["Desktop Chrome"] },
},
{
name: "firefox",
use: { ...devices["Desktop Firefox"] },
},
{
name: "webkit",
use: { ...devices["Desktop Safari"] },
},
],
webServer: {
command: "npm run test-server",
Expand Down
2 changes: 1 addition & 1 deletion packages/fast-router/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
"prettier:diff": "prettier --config ../../.prettierrc \"**/*.ts\" --list-different",
"eslint": "eslint . --ext .ts",
"eslint:fix": "eslint . --ext .ts --fix",
"test:recognizer": "tsc -p ./tsconfig.json && node --test dist/esm/recognizer.spec.js",
"test:node": "tsc -p ./tsconfig.json && node --test dist/esm/recognizer.spec.js",
"test": "npm run eslint && npm run doc:ci && npm run test:recognizer"
},
"dependencies": {
Expand Down
2 changes: 1 addition & 1 deletion packages/fast-ssr/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
"prettier": "prettier --config ../../.prettierrc --write \"**/*.{ts,html}\"",
"test": "npm run test:node && npm run test:playwright",
"test:node": "node scripts/run-tests.mjs",
"test:playwright": "playwright test",
"test:playwright": "npm run pretest && playwright test",
"test-server": "node server/dist/server.js"
},
"description": "A package for rendering FAST Web Components outside the browser.",
Expand Down
Loading