Skip to content

fix failing functional/smoke tests#140

Merged
adrmachado-public merged 7 commits intomainfrom
DTBTWEB-850-update-wdio
Dec 17, 2025
Merged

fix failing functional/smoke tests#140
adrmachado-public merged 7 commits intomainfrom
DTBTWEB-850-update-wdio

Conversation

@adrmachado-public
Copy link
Contributor

Summary of changes

Fix failing functional/smoke tests

Checklist

  • Added a changelog entry
  • Relevant test coverage
  • Tested and confirmed flows affected by this change are functioning as expected

Reviewers

@braintree/team-sdk-js

Co-authored-by: Adriana Machado <adrmachado@paypal.com>
@adrmachado-public adrmachado-public requested a review from a team as a code owner December 16, 2025 14:31
@github-actions
Copy link

github-actions bot commented Dec 16, 2025

Dependency Review

The following issues were found:
  • ✅ 0 vulnerable package(s)
See the Details below.

Scanned Files

  • package-lock.json

"@wdio/mocha-framework": "^7.25.2",
"@wdio/spec-reporter": "^7.25.1",
"@wdio/sync": "^7.25.2",
"@wdio/cli": "^9.21.1",
Copy link
Contributor Author

@adrmachado-public adrmachado-public Dec 16, 2025

Choose a reason for hiding this comment

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

for future reference, since all the @wdio libraries are so closely tied, it's better to upgrade them in one go rather than trying to upgrade them independently. so it's recommended to run
npm install @wdio/cli@latest @wdio/local-runner@latest @wdio/mocha-framework@latest @wdio/spec-reporter@latest even though it's annoying to type out

"async": "^3.2.5",
"browserify": "^17.0.0",
"chromedriver": "^133.0.1",
"chromedriver": "^143.0.1",
Copy link
Contributor Author

Choose a reason for hiding this comment

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

the error causing the pipeline builds to fail was Request failed with status 500 due to session not created: This version of ChromeDriver only supports Chrome version 133.

upgrading chromedriver as well as the @wdio packages fixed that problem.

browser.switchWindow("localhost:3099");

browser.switchToFrame(2);
browser.switchFrame(2);
Copy link
Contributor Author

@adrmachado-public adrmachado-public Dec 16, 2025

Choose a reason for hiding this comment

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

this is just paperwork -- the function name was deprecated and renamed

Co-authored-by: Adriana Machado <adrmachado@paypal.com>
adrmachado-public and others added 3 commits December 16, 2025 15:30
Co-authored-by: Adriana Machado <adrmachado@paypal.com>
…onfig.json to have typing information for wdio. Ran Prettier.
Co-authored-by: Adriana Machado <adrmachado@paypal.com>
Co-authored-by: Adriana Machado <adrmachado@paypal.com>
"@wdio/local-runner": "^7.25.2",
"@wdio/mocha-framework": "^7.25.2",
"@wdio/spec-reporter": "^7.25.1",
"@wdio/sync": "^7.25.2",
Copy link
Contributor Author

Choose a reason for hiding this comment

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

we ended up removing @wdio/sync since it it not supported by > node 18. this means that we had to modify our tests to be explicitly asynchronous, but it'll be better in the long run

Co-authored-by: Zachary Nelson <nelsonz2021@gmail.com>
@adrmachado-public adrmachado-public merged commit 52be58b into main Dec 17, 2025
6 checks passed
@adrmachado-public adrmachado-public deleted the DTBTWEB-850-update-wdio branch December 17, 2025 19:37
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.

4 participants