Repository navigation
Sanity tests pipeline and bug fixes - #287721
Merged
Dmitriy Vasyura (dmitrivMS) merged 38 commits intoJan 14, 2026
Merged
Conversation
Dmitriy Vasyura (dmitrivMS)
enabled auto-merge (squash)
January 14, 2026 08:29
Contributor
📬 CODENOTIFYThe following users are being notified based on files changed in this PR: Ladislau Szomoru (@lszomoru)Matched files:
|
Contributor
There was a problem hiding this comment.
Pull request overview
This PR enhances the sanity testing pipeline infrastructure to make it NPM-install independent for faster initialization, fixes test execution on Windows x64 and MacOS x64, and improves test reporting and configurability.
Changes:
- Restructured test files to remove nested
describe()blocks in favor of directtest()calls for better ADO test reporting - Added headless browser mode option and made the test suite self-contained with its own dependencies
- Improved Windows path handling with 8.3 filename expansion and replaced custom log files with XML reports
- Updated Azure Pipelines configuration with better naming, NPM registry support, and improved authentication
Reviewed changes
Copilot reviewed 10 out of 11 changed files in this pull request and generated 3 comments.
Show a summary per file
| File | Description |
|---|---|
| test/sanity/src/serverWeb.test.ts | Removed describe block wrapper, changed it() to test() for flat test structure |
| test/sanity/src/server.test.ts | Removed describe block wrapper, changed it() to test() for flat test structure |
| test/sanity/src/desktop.test.ts | Removed describe block wrapper, changed it() to test() for flat test structure |
| test/sanity/src/cli.test.ts | Removed describe block wrapper, changed it() to test() for flat test structure |
| test/sanity/src/main.ts | Removed outer describe block, added headless parameter, moved hooks to top level |
| test/sanity/src/index.ts | Added directory creation for test results path and help text for new options |
| test/sanity/src/context.ts | Added headless mode, Windows path expansion, removed custom log file, changed RPM to alien |
| test/sanity/package.json | Added dependencies (mocha, minimist, typescript) to make tests self-contained |
| test/sanity/package-lock.json | Updated lock file with new dependencies |
| build/azure-pipelines/product-sanity-tests.yml | Renamed parameters with BUILD_ prefix, added NPM registry support |
| build/azure-pipelines/common/sanity-tests.yml | Improved step names, added NPM authentication, changed from npm install to npm ci |
Files not reviewed (1)
- test/sanity/package-lock.json: Language not supported
Dmitriy Vasyura (dmitrivMS)
disabled auto-merge
January 14, 2026 09:54
Collaborator
Author
|
Please ignore the pipeline results - it's not plugged into official builds yet. |
Dmitriy Vasyura (dmitrivMS)
enabled auto-merge (squash)
January 14, 2026 10:13
Ladislau Szomoru (lszomoru)
approved these changes
Jan 14, 2026
Dmitriy Vasyura (dmitrivMS)
deleted the
dev/dmitriv/sanity-tests-pipeline-fixes
branch
January 14, 2026 11:18
Elijah King (eli-w-king)
pushed a commit
that referenced
this pull request
Jan 14, 2026
Contributes towards #279402 Make test/sanity NPM-install independent for faster initialization in the pipeline. Fixed pipeline and tests ro fully pass on Windows x64 and MacOS x64. Updated suite/test names to report nicely in ADO. Ensure temp dir name is expanded on Windows to avoid ~ expansion from CLI. Removed custom log file now that XML report is supported. Added option to turn headless browsing on/off.
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 subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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.
Contributes towards #279402
Make test/sanity NPM-install independent for faster initialization in the pipeline.
Fixed pipeline and tests ro fully pass on Windows x64 and MacOS x64.
Updated suite/test names to report nicely in ADO.
Ensure temp dir name is expanded on Windows to avoid ~ expansion from CLI.
Removed custom log file now that XML report is supported.
Added option to turn headless browsing on/off.
Added Windows arm64 and MacOS x64 jobs that run without runtime (validating downloads/signatures only).