Skip to content

Conversation

@odeimaiz
Copy link
Member

@odeimaiz odeimaiz commented Jun 16, 2025

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

@odeimaiz odeimaiz added this to the Engage milestone Jun 16, 2025
@odeimaiz odeimaiz self-assigned this Jun 16, 2025
@odeimaiz odeimaiz added bug buggy, it does not work as expected e2e Bugs found by or related to the end-2-end testing labels Jun 16, 2025
@odeimaiz odeimaiz requested a review from Copilot June 16, 2025 15:08
@odeimaiz odeimaiz changed the title 🐛 [e2e] Update vtk tests 🐛 [p2e] Update vtk tests Jun 16, 2025
@odeimaiz odeimaiz added the 🤖-automerge marks PR as ready to be merged for Mergify label Jun 16, 2025
@odeimaiz
Copy link
Member Author

@mergify queue

Copy link
Contributor

Copilot AI left a 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 waitForServices invocations in multiple portal tutorial scripts to use a multiline argument format.
  • Introduced or clarified the waitForConnected parameter in service waits.
  • Added a comment in tutorialBase.js explaining the scope of waitForConnected.

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

@mergify
Copy link
Contributor

mergify bot commented Jun 16, 2025

queue

✅ The pull request has been merged automatically

The pull request has been merged automatically at 522bfc6

@sonarqubecloud
Copy link

@mergify mergify bot merged commit 522bfc6 into ITISFoundation:master Jun 16, 2025
59 checks passed
@odeimaiz odeimaiz deleted the e2e/update-vtk-tests branch June 16, 2025 20:46
@matusdrobuliak66 matusdrobuliak66 mentioned this pull request Aug 5, 2025
88 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

🤖-automerge marks PR as ready to be merged for Mergify bug buggy, it does not work as expected e2e Bugs found by or related to the end-2-end testing

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants