Skip to content

fix(tooling): remove wdio & upgrade meeting widget to playwright#628

Open
Riteshfyi wants to merge 15 commits intowebex:nextfrom
Riteshfyi:pw
Open

fix(tooling): remove wdio & upgrade meeting widget to playwright#628
Riteshfyi wants to merge 15 commits intowebex:nextfrom
Riteshfyi:pw

Conversation

@Riteshfyi
Copy link
Contributor

COMPLETES #https://jira-eng-gpk2.cisco.com/jira/browse/SPARK-772628

This pull request addresses

Removes Wdio E2E Tests & moves to playwright for meetings widget.

by making the following changes

converting previous tests to typescrip & updating them for palywright

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

  • verified locally, will run e2e test as well

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

Checklist before merging

  • I have not skipped any automated checks
  • All existing and new tests passed
  • I have updated the testing document
  • I have tested the functionality with amplify link

Make sure to have followed the contributing guidelines before submitting.

@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-628.d1b38q61t1z947.amplifyapp.com

@Riteshfyi Riteshfyi changed the title fix(tooling) : Remove Wdio & Upgrade to Meeting Widget to Playwright fix(tooling) : Remove Wdio & Upgrade Meeting Widget to Playwright Feb 19, 2026
@akulakum akulakum added validated Indicates that the PR is ready for actions run_e2e Add this label to run E2E test for meeting and CC widgets and removed validated Indicates that the PR is ready for actions labels Feb 19, 2026
@Riteshfyi Riteshfyi changed the title fix(tooling) : Remove Wdio & Upgrade Meeting Widget to Playwright fix(tooling): Remove Wdio & Upgrade Meeting Widget to Playwright Feb 19, 2026
@Shreyas281299
Copy link
Contributor

@codex review

Copy link

@chatgpt-codex-connector chatgpt-codex-connector bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 52c36927e5

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

"release:dry-run": "semantic-release --dry-run",
"start": "npm run demo:serve",
"test:e2e": "npm run demo:build && wdio wdio.conf.js",
"test:e2e": "npm run demo:build && yarn playwright test --project='Meetings Setup' --project='Meetings Widget Test'",

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Badge Use the configured setup project name in test:e2e

test:e2e invokes Playwright with --project='Meetings Setup', but the setup project defined in playwright.config.ts is named OAuth: Get Meeting Access Token (line 76). Since Playwright resolves --project by exact project name, this command fails before tests run, which means the e2e_test_meetings workflow path (.github/workflows/pull-request.yml, Test E2E) cannot execute the migrated meetings suite.

Useful? React with 👍 / 👎.

this.unmuteAudioBtn = this.controls.getByRole('button', {name: 'Unmute'});
this.muteVideoBtn = this.controls.getByRole('button', {name: 'Stop video'});
this.unmuteVideoBtn = this.controls.getByRole('button', {name: 'Start video'});
this.joinMeetingBtn = this.controls.getByRole('button', {name: /^(Muted, video off|Unmuted, video on)$/});

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Badge Match the join button’s actual accessible name

The new locator only matches a button named /^(Muted, video off|Unmuted, video on)$/, but the meeting widget code still identifies the pre-join control as button[aria-label="Join meeting"] (packages/@webex/widgets/src/widgets/WebexMeetings/WebexMeetings.jsx), and the prior E2E test also targeted “Join meeting”; in that pre-join state joinMeetingBtn.click() in both suites cannot resolve an element, so the tests fail before joining.

Useful? React with 👍 / 👎.

@rarajes2 rarajes2 changed the title fix(tooling): Remove Wdio & Upgrade Meeting Widget to Playwright fix(tooling): remove wdio & upgrade meeting widget to playwright Feb 20, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

run_e2e Add this label to run E2E test for meeting and CC widgets validated Indicates that the PR is ready for actions

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

Comments