-
Notifications
You must be signed in to change notification settings - Fork 32
🐛 [p2e] Update vtk tests #7911
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
🐛 [p2e] Update vtk tests #7911
Conversation
|
@mergify queue |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR standardizes and enhances the waitForServices calls across e2e tutorial tests by refactoring them into a multiline signature and ensuring the new waitForConnected flag is documented and applied where needed.
- Refactored
waitForServicesinvocations in multiple portal tutorial scripts to use a multiline argument format. - Introduced or clarified the
waitForConnectedparameter in service waits. - Added a comment in
tutorialBase.jsexplaining the scope ofwaitForConnected.
Reviewed Changes
Copilot reviewed 8 out of 8 changed files in this pull request and generated 2 comments.
Show a summary per file
| File | Description |
|---|---|
| tests/e2e/tutorials/tutorialBase.js | Adds clarification comment for waitForConnected behavior. |
| tests/e2e/portal/Mattward.js | Reformats waitForServices call to multiline. |
| tests/e2e/portal/Bornstein.js | Reformats waitForServices call to multiline. |
| tests/e2e/portal/BIOS_VNS_Calibrator.js | Reformats waitForServices call and adds explicit flag. |
| tests/e2e/portal/3D_EM.js | Reformats waitForServices call and adds explicit flag. |
| tests/e2e/portal/3D_Anatomical.js | Reformats waitForServices call and adds explicit flag. |
| tests/e2e/portal/2D_Plot.js | Reformats waitForServices call to multiline. |
| tests/e2e/portal-files/VTK_file.js | Reformats waitForServices call and adds explicit flag. |
Comments suppressed due to low confidence (1)
tests/e2e/tutorials/tutorialBase.js:340
- [nitpick] The comment is ambiguous about which services are considered "old dynamic". Please clarify or reference the specific service types or scenarios.
// the waitForConnected only works for old dynamic services
✅ The pull request has been merged automaticallyThe pull request has been merged automatically at 522bfc6 |
|



What do these changes do?
This PR updates the p2e tests for the 3d-viewers, they had to be updated because they now run on dynamic services v2.
Related issue/s
How to test
Dev-ops