Skip to content

test(calling): stabilize registration Playwright tests - #5112

Open
vivekv1504 wants to merge 2 commits into
webex:nextfrom
vivekv1504:rigistration-tests
Open

test(calling): stabilize registration Playwright tests#5112
vivekv1504 wants to merge 2 commits into
webex:nextfrom
vivekv1504:rigistration-tests

Conversation

@vivekv1504

@vivekv1504 vivekv1504 commented Jul 21, 2026

Copy link
Copy Markdown
Contributor

COMPLETES #< NO JIRA ISSUE >

This pull request addresses

Flaky registration Playwright tests caused by inconsistent HTTP/WebSocket configuration, outdated hard-coded Mobius URLs, and long production retry intervals during failover testing.

by making the following changes

  • Explicitly configures HTTP or WebSocket mode during SDK initialization.
  • Discovers current primary and backup Mobius URLs dynamically.
  • Updates failover tests to intercept only the discovered primary server.
  • Fixes REG-016 to validate failover against the discovered backup server.
  • Makes REG-017 retry timing deterministic while still verifying all five 429 attempts.
  • Reduces unnecessary waiting and restores production retry behavior after the test.
  • Keeps the unsupported INT guest-registration scenario intentionally skipped.
Screenshot 2026-07-21 at 20 25 39 Screenshot 2026-07-21 at 20 26 11 Screenshot 2026-07-21 at 20 25 53

Change Type

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • Documentation update
  • Tooling change
  • Internal code refactor

The following scenarios were tested

< ENUMERATE TESTS PERFORMED, WHETHER MANUAL OR AUTOMATED >

The GAI Coding Policy And Copyright Annotation Best Practices

  • GAI was not used (or, no additional notation is required)
  • Code was generated entirely by GAI
  • GAI was used to create a draft that was subsequently customized or modified
  • Coder created a draft manually that was non-substantively modified by GAI (e.g., refactoring was performed by GAI on manually written code)
  • Tool used for AI assistance (GitHub Copilot / Other - specify)
    • Github Copilot
    • Other - Please Specify
  • This PR is related to
    • Feature
    • Defect fix
    • Tech Debt
    • Automation

I certified that

  • I have read and followed contributing guidelines
  • I discussed changes with code owners prior to submitting this pull request
  • I have not skipped any automated checks
  • All existing and new tests passed
  • I have updated the documentation accordingly

Make sure to have followed the contributing guidelines before submitting.

@vivekv1504
vivekv1504 requested a review from a team as a code owner July 21, 2026 15:41
@vivekv1504 vivekv1504 added the validated If the pull request is validated for automation. label Jul 21, 2026
@aws-amplify-us-east-2

Copy link
Copy Markdown

This pull request is automatically being deployed by Amplify Hosting (learn more).

Access this pull request here: https://pr-5112.d3m3l2kee0btzx.amplifyapp.com

@github-actions github-actions Bot removed the validated If the pull request is validated for automation. label Jul 22, 2026
@Shreyas281299 Shreyas281299 added the validated If the pull request is validated for automation. label Jul 22, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

validated If the pull request is validated for automation.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants