Skip to content

Commit 36b1f37

Browse files
committed
update t3ests
1 parent 2870f36 commit 36b1f37

File tree

2 files changed

+7
-4
lines changed

2 files changed

+7
-4
lines changed

packages/signals/signals-integration-tests/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,11 @@
88
"scripts": {
99
".": "yarn run -T turbo run --filter=@internal/signals-integration-tests...",
1010
"build": "webpack",
11-
"test:int": "playwright test && yarn test:global-sandbox",
11+
"test:int": "playwright test && SKIP_BUILD=true yarn test:global-sandbox",
1212
"test:vanilla": "playwright test src/tests/signals-vanilla",
1313
"test:perf": "playwright test src/tests/performance",
1414
"test:custom": "playwright test src/tests/custom",
15-
"test:global-sandbox": "SANDBOX_STRATEGY=global yarn test:vanilla && SANDBOX_STRATEGY=global yarn test:custom",
15+
"test:global-sandbox": "SANDBOX_STRATEGY=global playwright test src/tests/signals-vanilla src/tests/custom",
1616
"watch": "webpack -w",
1717
"lint": "yarn concurrently 'yarn:eslint .' 'yarn:tsc --noEmit'",
1818
"concurrently": "yarn run -T concurrently",

packages/signals/signals-integration-tests/playwright.global-setup.ts

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@ import { envConfig } from './src/helpers/env-config'
55
export default function globalSetup(_cfg: FullConfig) {
66
console.log(`Executing playwright.global-setup.ts...\n`)
77
console.log(`Using envConfig: ${JSON.stringify(envConfig, undefined, 2)}\n`)
8-
execSync('yarn build', { stdio: 'inherit' })
9-
console.log('Finished global setup.\n')
8+
if (process.env.SKIP_BUILD !== 'true') {
9+
console.log(`Executing yarn build:\n`)
10+
execSync('yarn build', { stdio: 'inherit' })
11+
}
12+
console.log('Finished global setup. Should start running tests.\n')
1013
}

0 commit comments

Comments
 (0)