Skip to content

feat(cc-widgets): outdial widget e2e tests#640

Draft
eigengravy wants to merge 21 commits intowebex:nextfrom
eigengravy:outdial-e2e-tests
Draft

feat(cc-widgets): outdial widget e2e tests#640
eigengravy wants to merge 21 commits intowebex:nextfrom
eigengravy:outdial-e2e-tests

Conversation

@eigengravy
Copy link
Contributor

COMPLETES CAI-7682

This pull request addresses

Adding end-to-end Playwright tests for the outdial call workflow across all three agent login modes (Desktop, Extension, and Dial Number).

by making the following changes

< DESCRIBE YOUR CHANGES >

  • Added playwright/tests/outdial-call-test.spec.ts — new E2E test suite with three describe blocks covering the full outdial lifecycle (enter number, dial, connect, verify call controls, end call, wrapup) for:
    • Desktop mode — auto-connect first leg, no manual accept
    • Extension mode — first leg rings on Webex Calling extension, agent must answer before customer is dialed
    • Dial Number mode — auto-connect like Desktop
    • Updated playwright/test-manager.ts — added a DIAL_NUMBER login-mode branch to TestManager.setup() so outdial tests can provision an agent logged in via dial number
    • Updated playwright/suites/station-login-user-state-tests.spec.ts — wired the new createOutdialCallTests into the existing suite entrypoint
    • Updated OutdialCall/ARCHITECTURE.md — documented the post-dial flow by login mode with Mermaid sequence diagrams explaining auto-connect (Desktop/DN) vs manual-answer (Extension) behavior
    • Updated playwright/ai-docs/ — minor updates to AGENTS.md and ARCHITECTURE.md to reflect the new outdial test coverage

The following scenarios were tested

  • yarn test:e2e --project=SET_3 --grep "Outdial"

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
    • Claude Code
  • This PR is related to
    • Feature
    • Defect fix
    • Tech Debt
    • Automation

rsarika and others added 21 commits February 10, 2026 09:15
…nto multi-party-conference-e2e-tests

# Conflicts:
#	playwright/ai-docs/AGENTS.md
@aws-amplify-us-east-2
Copy link

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

Access this pull request here: https://pr-640.d1b38q61t1z947.amplifyapp.com

@eigengravy eigengravy changed the title OutDial Widget e2e tests feat(cc-widgets): outdial widget e2e tests Mar 5, 2026
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