This commit is contained in:
Michael Telatynski 2026-04-09 15:31:34 +01:00
parent 540e620f40
commit 561dbd32be
No known key found for this signature in database
GPG Key ID: A2B008A5F49F5D0D
4 changed files with 6 additions and 8 deletions

View File

@ -165,7 +165,7 @@ jobs:
- name: Run Playwright tests
working-directory: apps/web
run: |
pnpm playwright test \
pnpm test:playwright \
--shard "$SHARD" \
--project="${{ matrix.project }}" \
${{ (github.event_name == 'pull_request' && matrix.runAllTests == false ) && '--grep-invert @mergequeue' || '' }}

View File

@ -44,7 +44,7 @@
"parallel": false,
"cwd": "apps/web"
},
"dependsOn": ["^build"]
"dependsOn": ["^build", "^build:playwright"]
},
"test:unit": {
"executor": "@nx/jest:jest",

View File

@ -5,13 +5,9 @@ process.env.GITHUB_ACTIONS = "1";
export default {
workspaces: {
"packages/shared-components": {
ignoreDependencies: [
// Used for vitest browser tests
"@playwright/test",
],
},
"packages/shared-components": {},
"packages/playwright-common": {
entry: ["src/stale-screenshot-reporter.ts", "src/fixtures/index.ts", "src/testcontainers/index.ts"],
ignoreDependencies: [
// Used in playwright-screenshots.sh
"wait-on",

View File

@ -6,11 +6,13 @@ Please see LICENSE files in the repository root for full details.
*/
export { PostgreSqlContainer, StartedPostgreSqlContainer } from "@testcontainers/postgresql";
export { makePostgres } from "./postgres.js";
export type { HomeserverInstance, HomeserverContainer, StartedHomeserverContainer } from "./HomeserverContainer.js";
export { type SynapseConfig, SynapseContainer, StartedSynapseContainer } from "./synapse.js";
export {
type MasConfig,
MatrixAuthenticationServiceContainer,
StartedMatrixAuthenticationServiceContainer,
makeMas,
} from "./mas.js";
export { type MailpitClient, MailpitContainer, StartedMailpitContainer } from "./mailpit.js";