Skip to content

Comments

Fixed broken integration tests#1446

Merged
Spencer-Smith merged 3 commits intomainfrom
fix/configOverrideIntTests
Feb 13, 2026
Merged

Fixed broken integration tests#1446
Spencer-Smith merged 3 commits intomainfrom
fix/configOverrideIntTests

Conversation

@Spencer-Smith
Copy link
Collaborator

Description

  • Call finalizeConfigOverrides() in injectSendNetworkRequest.js right before stringifying the payload so enabled: true is always stripped before send
  • Consent gate timeouts setup now waits for the Alloy script to load (Promise with onload/onerror in setup.js, handlers set before appendChild) and the fixture awaits setupAlloy() in extend.js so tests receive the real alloy function; set-consent MSW handlers use a regex that matches both ee/v1/ and ee/or2/v1/
  • Deduplication SPA the “custom code runs twice” test adds a 50ms delay between the two sendEvent calls so the view cache is updated before the second call
  • mediaSessionResponse.json uses a longer sessionId to fix InvalidApiSidLength=21
  • Reduced noise by setting debugEnabled: false in default config.

Related Issue

N/A

Motivation and Context

It's good when the tests work :)

Screenshots (if appropriate):

N/A

Checklist:

  • I have signed the Adobe Open Source CLA or I'm an Adobe employee.
  • I have made any necessary test changes and all tests pass.
  • I have run the Sandbox successfully. N/A
  • I have added a Changeset (pnpm changeset) or it is not necessary because this PR is not consumer-facing.

@changeset-bot
Copy link

changeset-bot bot commented Feb 11, 2026

🦋 Changeset detected

Latest commit: 022a4d8

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 0 packages

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@Spencer-Smith Spencer-Smith added the ignore-for-release Do not include this PR in release notes label Feb 12, 2026
@Spencer-Smith Spencer-Smith self-assigned this Feb 12, 2026
@Spencer-Smith Spencer-Smith merged commit 366cc96 into main Feb 13, 2026
6 checks passed
@Spencer-Smith Spencer-Smith deleted the fix/configOverrideIntTests branch February 13, 2026 18:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ignore-for-release Do not include this PR in release notes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants