-
Notifications
You must be signed in to change notification settings - Fork 12
Fix isolated realm server teardown in software-factory test harness (CS-10472) #4233
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
15 commits
Select commit
Hold shift + click to select a range
120a074
Implement project artifact bootstrap from a brief (CS-10449)
habdelra 1c607a1
Merge remote-tracking branch 'origin/main' into cs-10449-implement-pr…
habdelra 40d6401
Reference CS-10472 in fixme'd e2e test comment
habdelra c25be5a
Address PR review feedback for CS-10449
habdelra 27b26a3
Update Matrix account data with new realm URL after creation
habdelra 278b794
Set realm icon and background on creation, format card JSON
habdelra 33474f6
Merge darkfactory schema and UI into single darkfactory.gts
habdelra 868bb42
ci: Add workflow for weekday PR review summaries (#4226)
backspace 745c2bf
Fix flaky code patch acceptance test caused by Monaco diff race (#4225)
habdelra 19ae87b
Move prerender reproduce URL to its own log category (#4224)
habdelra 7c72608
Optimize prerender perf: eliminate URL() construction in dependency t…
habdelra 7b1947e
Software factory plan refinements (#4227)
habdelra 0d724b4
Fix isolated realm server teardown in software-factory test harness (…
habdelra ea1b9e6
Improve waitForPortFree error handling per review feedback
habdelra 7be0c51
Merge remote-tracking branch 'origin/main' into cs-10472-fix-realm-se…
habdelra File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,12 +1,25 @@ | ||
| import { defineConfig } from '@playwright/test'; | ||
|
|
||
| import { sharedConfig } from './playwright.shared'; | ||
| const realmPort = Number(process.env.SOFTWARE_FACTORY_REALM_PORT ?? 4205); | ||
| const realmURL = | ||
| process.env.SOFTWARE_FACTORY_REALM_URL ?? | ||
| `http://localhost:${realmPort}/test/`; | ||
|
|
||
| export default defineConfig({ | ||
| ...sharedConfig, | ||
| testDir: './tests', | ||
| testMatch: ['**/*.spec.ts'], | ||
| // factory-target-realm.spec.ts is excluded here and run separately | ||
| // via `pnpm test:playwright-e2e` (see CS-10472 for context) | ||
| testIgnore: ['**/factory-target-realm.spec.ts'], | ||
| fullyParallel: false, | ||
| reporter: process.env.CI ? [['list']] : undefined, | ||
| workers: 1, | ||
| timeout: 60_000, | ||
| expect: { | ||
| timeout: 15_000, | ||
| }, | ||
| use: { | ||
| baseURL: realmURL, | ||
| trace: 'retain-on-failure', | ||
| screenshot: 'only-on-failure', | ||
| }, | ||
| globalSetup: './playwright.global-setup.ts', | ||
| globalTeardown: './playwright.global-teardown.ts', | ||
| }); |
This file was deleted.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.