Skip to content

Re-introduce JS Desktop integration tests#16228

Merged
JunielKatarn merged 18 commits into
microsoft:mainfrom
jurocha-ms:ci-desk-nohead-tests
Jun 9, 2026
Merged

Re-introduce JS Desktop integration tests#16228
JunielKatarn merged 18 commits into
microsoft:mainfrom
jurocha-ms:ci-desk-nohead-tests

Conversation

@JunielKatarn

@JunielKatarn JunielKatarn commented Jun 7, 2026

Copy link
Copy Markdown
Contributor

Description

Brings back JavaScript-based Desktop integration tests.

Type of Change

  • New feature (non-breaking change which adds functionality)

Why

Desktop JS-driven tests had been removed due to incompatibility with Fabric-based architecture.

What

  • Re-introduces and rewrites FetchTest, WebSocketBlobTest, WebSocketMultipleSendTest, WebSocketTest, and XHRTest. These are no longer based on Facebook's stubbed UI components.
  • Enables recently added WebSocket ArrayBuffer test.
  • Removes outdated CI test filter condition: Desktop.IntegrationTests.SkipRNTester

Testing

All tests pass locally.
CI runs fail due to time out, thus, the test will not run in that environment for now.

Microsoft Reviewers: Open in CodeFlow

@JunielKatarn JunielKatarn requested review from a team as code owners June 7, 2026 07:48
@JunielKatarn JunielKatarn changed the title Re-introduce WebSocket JS integration tests Re-introduce JS Desktop integration tests Jun 7, 2026
@JunielKatarn JunielKatarn marked this pull request as draft June 7, 2026 08:03
@JunielKatarn JunielKatarn marked this pull request as ready for review June 8, 2026 07:51
@JunielKatarn JunielKatarn enabled auto-merge (squash) June 8, 2026 07:56
@JunielKatarn JunielKatarn merged commit 3f66437 into microsoft:main Jun 9, 2026
32 of 33 checks passed
JunielKatarn added a commit to jurocha-ms/react-native-windows that referenced this pull request Jun 9, 2026
* Remove redundant condition Desktop.IntegrationTests.SkipRNTester

Modify Desktop.IntegrationTests.Filter instead.

* Re-introduce WebSocket and WebSocketBlob tests

* Make WSBlob test compare contents

* Rename method to RunTest

* Handle initial message from default endpoint

* Change files

* Migrate XHR test

* Port Fetch test

* Port Blob test

* WebSocketMultipleSendTest

* Remove JS WebSocket servers

* Skip in CI for now
JunielKatarn added a commit to jurocha-ms/react-native-windows that referenced this pull request Jun 9, 2026
* Remove redundant condition Desktop.IntegrationTests.SkipRNTester

Modify Desktop.IntegrationTests.Filter instead.

* Re-introduce WebSocket and WebSocketBlob tests

* Make WSBlob test compare contents

* Rename method to RunTest

* Handle initial message from default endpoint

* Change files

* Migrate XHR test

* Port Fetch test

* Port Blob test

* WebSocketMultipleSendTest

* Remove JS WebSocket servers

* Skip in CI for now
JunielKatarn added a commit to jurocha-ms/react-native-windows that referenced this pull request Jun 9, 2026
* Remove redundant condition Desktop.IntegrationTests.SkipRNTester

Modify Desktop.IntegrationTests.Filter instead.

* Re-introduce WebSocket and WebSocketBlob tests

* Make WSBlob test compare contents

* Rename method to RunTest

* Handle initial message from default endpoint

* Change files

* Migrate XHR test

* Port Fetch test

* Port Blob test

* WebSocketMultipleSendTest

* Remove JS WebSocket servers

* Skip in CI for now
JunielKatarn added a commit to jurocha-ms/react-native-windows that referenced this pull request Jun 9, 2026
* Remove redundant condition Desktop.IntegrationTests.SkipRNTester

Modify Desktop.IntegrationTests.Filter instead.

* Re-introduce WebSocket and WebSocketBlob tests

* Make WSBlob test compare contents

* Rename method to RunTest

* Handle initial message from default endpoint

* Change files

* Migrate XHR test

* Port Fetch test

* Port Blob test

* WebSocketMultipleSendTest

* Remove JS WebSocket servers

* Skip in CI for now
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.

2 participants