Skip to content

fix(AuthFlowTesterUITests): remove beacon RTR workaround (W-24028119) - #3025

Merged
wmathurin merged 1 commit into
forcedotcom:devfrom
wmathurin:remove-beacon-rtr-workaround
Sep 2, 2026
Merged

wmathurin merged 1 commit into
forcedotcom:devfrom
wmathurin:remove-beacon-rtr-workaround

Conversation

@wmathurin

Copy link
Copy Markdown
Contributor

Summary

Removes the beacon_ clause from expectsRefreshTokenRotation in UITestConfig.kt and cleans up the related comment in AuthFlowTest.kt.

The server bug (W-23971480) that caused beacon apps to unconditionally rotate the refresh token on every refresh has been fixed in sdb38. The workaround and its comment are no longer needed — beacon_opaque and beacon_jwt tests should now pass without the special-case RTR expectation.

Test plan

  • BeaconLoginTests.testBeaconOpaque_DefaultScopes — was failing with RTR mismatch, now passes
  • Full beacon test suite on a connected emulator/device

…1480 server fix

The server bug that caused beacon apps to unconditionally rotate the refresh
token on every refresh (W-23971480) has been fixed in sdb38. Drop the
beacon_ clause from expectsRefreshTokenRotation and clean up the related
comment in AuthFlowTest so beacon_opaque and beacon_jwt tests no longer
expect rotation.
@wmathurin
wmathurin force-pushed the remove-beacon-rtr-workaround branch from 236a899 to 5bd2982 Compare September 2, 2026 03:57
@wmathurin

Copy link
Copy Markdown
Contributor Author

The AdvancedAuthBeaconLoginTests failures ("Refresh token should not have changed (non-RTR app)") were caused by a stale auto-installed ECA for the beacon apps on advauthflowtestingmsdksdb38.test1.my.pc-rnd.salesforce.com — the server-side W-23971480 fix was deployed there but the old ECA was still in place, causing RTR to fire. The forgotten ECA has now been deleted; re-running the affected tests.

@wmathurin
wmathurin merged commit ea2536e into forcedotcom:dev Sep 2, 2026
10 checks passed
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