Skip to content

Conversation

@wayfarer3130
Copy link
Contributor

Context

rsbuild does not provide a static file server configuration like that provided for webpack, so it becomes necessary to run a separate instance of a server on some port, and then forward the data, OR we could host the data somewhere in the cloud.

Changes & Results

Testing

Checklist

PR

  • [] My Pull Request title is descriptive, accurate and follows the
    semantic-release format and guidelines.

Code

  • [] My code has been well-documented (function documentation, inline comments,
    etc.)

Public Documentation Updates

  • [] The documentation page has been updated as necessary for any public API
    additions or removals.

Tested Environment

  • [] OS:
  • [] Node version:
  • [] Browser:

@wayfarer3130 wayfarer3130 requested a review from sedghi January 30, 2025 18:24
@netlify
Copy link

netlify bot commented Jan 30, 2025

Deploy Preview for ohif-dev ready!

Name Link
🔨 Latest commit ad03a4c
🔍 Latest deploy log https://app.netlify.com/sites/ohif-dev/deploys/67af38d863386000081728b9
😎 Deploy Preview https://deploy-preview-4749--ohif-dev.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@netlify
Copy link

netlify bot commented Jan 30, 2025

Deploy Preview for ohif-platform-docs ready!

Name Link
🔨 Latest commit ad03a4c
🔍 Latest deploy log https://app.netlify.com/sites/ohif-platform-docs/deploys/67af38d8aa196d0008ea9909
😎 Deploy Preview https://deploy-preview-4749--ohif-platform-docs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@cypress
Copy link

cypress bot commented Jan 30, 2025

Viewers    Run #4810

Run Properties:  status check passed Passed #4810  •  git commit 59125b1e54: Merge remote-tracking branch 'origin/master' into fix/rsbuild-test-e2e
Project Viewers
Branch Review fix/rsbuild-test-e2e
Run status status check passed Passed #4810
Run duration 02m 02s
Commit git commit 59125b1e54: Merge remote-tracking branch 'origin/master' into fix/rsbuild-test-e2e
Committer Bill Wallace
View all properties for this run ↗︎

Test results
Tests that failed  Failures 0
Tests that were flaky  Flaky 0
Tests that did not run due to a developer annotating a test with .skip  Pending 2
Tests that did not run due to a failure in a mocha hook  Skipped 0
Tests that passed  Passing 44
View all changes introduced in this branch ↗︎

package.json Outdated
"test:e2e:headed": "npx playwright test --headed",
"test:e2e:dist": "lerna run test:e2e:dist --stream",
"test:e2e:serve": "yarn test:data && lerna run test:e2e:serve --stream",
"test:e2e:fast": "lerna run test:e2e:fast --stream",
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Add a fast version of the bun dev build

"test:e2e:dist": "lerna run test:e2e:dist --stream",
"test:e2e:serve": "yarn test:data && lerna run test:e2e:serve --stream",
"test:e2e:fast": "lerna run test:e2e:fast --stream",
"test:data:serve": "yarn test:data && cd testdata && dicomwebserver -c ./static-dicomweb.json5 -p 3030",
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

And checkout/run the dicomwebserver locally instead of incorporating that data into the rsbuild

@wayfarer3130 wayfarer3130 changed the title [WIP] fix: Allow test:e2e:serve to run with rsbuild fix: Allow test:e2e:serve to run with rsbuild Jan 30, 2025
@sedghi
Copy link
Member

sedghi commented Feb 4, 2025

as discussed we need to add dicomwebserve in dev dependencies

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants