Repository navigation
test(data-mapper-v3): update outdated browser E2E and webview smoke tests - #9738
Open
praveensri wants to merge 1 commit into
Open
praveensri wants to merge 1 commit into
praveensri wants to merge 1 commit into
Conversation
…ests Remove stale expected-failure markers for fixed bugs, assert functoid link wiring, pan with Space+drag, use the compact schema tools menu in narrow panes, expect schema pane dividers, and mark smoke fixture schema nodes as elements. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: 95a99562-74ed-471a-8764-c9eee5224339
Contributor
🤖 AI PR Validation ReportPR Review ResultsThank you for your submission! Here's detailed feedback on your PR title and body compliance:✅ PR Title
✅ Commit Type
❌ Risk Level
✅ What & Why
✅ Impact of Change
✅ Test Plan
|
| Section | Status | Recommendation |
|---|---|---|
| Title | ✅ | No change required. |
| Commit Type | ✅ | Keep only test selected. |
| Risk Level | ❌ | Add the required risk:low label. |
| What & Why | ✅ | No change required. |
| Impact of Change | ✅ | No change required. |
| Test Plan | ✅ | E2E coverage and execution results are documented. |
| Contributors | Add contributors if applicable. | |
| Screenshots/Videos | ✅ | Not applicable for this test-only change. |
Please add the risk:low label to the PR. The advised risk is low and matches the risk selected in the body; once the required label is added, the PR documentation will pass.
Powered by: Logic App (fallback) | Last updated: Tue, 24 Nov 2026 17:45:10 GMT
Contributor
📊 Coverage CheckNo source files changed in this PR. |
Contributor
There was a problem hiding this comment.
🟢 Approval recommended
No active review issues are reported for the test-only updates aligning Data Mapper v3 E2E and smoke coverage with current behavior.
No open issues 🎉
What changed in this PR
Updates Data Mapper v3 browser E2E and webview smoke tests to match current mapper behavior. No product code changes are included.
Changes:
- Removes stale expected-failure markers for assistant-map rendering and Delete handling.
- Updates graph metadata assertions, Space-drag panning, and compact schema-tool interactions.
- Aligns smoke-test layout expectations and schema fixtures with production requirements.
| File | Description |
|---|---|
libs/data-mapper-v3/test/webview-smoke/shell.js |
Includes schema-pane dividers in layout assertions. |
libs/data-mapper-v3/test/webview-smoke/harness.js |
Adds element types to schema fixture nodes for link validation. |
libs/data-mapper-v3/e2e/schemaLoading.spec.ts |
Uses the compact tools menu when the expand-all button is hidden. |
libs/data-mapper-v3/e2e/pointerInteractions.spec.ts |
Updates link metadata assertions, panning gestures, and Delete expectations. |
libs/data-mapper-v3/e2e/copilot.spec.ts |
Removes the stale expected-failure marker for applied assistant maps. |
Review effort: Balanced
This branch has not been deployed
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Commit Type
Risk Level
What & Why
Five data-mapper-v3 browser E2E tests and two webview smoke scenarios failed because their expectations no longer matched current mapper behavior. No product code changes.
Browser E2E:
copilot.spec.ts– applied assistant map: removed a staletest.failmarker (bug is fixed, so the test "unexpectedly passed").pointerInteractions.spec.ts– Delete in a text editor: removed a staletest.failmarker.pointerInteractions.spec.ts– chained functoid wiring: functoids now recordinputLinks/outputLinks/link parameters; assert they match the saved links instead of expecting them empty.pointerInteractions.spec.ts– canvas panning: plain left-drag is now area selection; pan with Space+drag.schemaLoading.spec.ts– narrow (1000px) pane: "Expand all schema nodes" lives in the compact "Schema node tools" menu; use it when the button is hidden.Webview smoke:
shell.js– layout now includesschema-pane-dividerelements around the canvas.harness.js– smoke schema nodes now declaretype: 'element', which link validation requires (fixes themapping.jstimeout).Impact of Change
Test Plan
playwright test --config=playwright.config.tsinlibs/data-mapper-v3— passed (184/184);node test/webview-smoke/run.js— passed (4/4);npx biome check --writeon changed files — clean.Contributors
Screenshots/Videos