Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

👷 [RUMF-1156] update wdio to latest version #1405

Merged
merged 8 commits into from
Mar 21, 2022
Merged

Conversation

BenoitZugmeyer
Copy link
Member

@BenoitZugmeyer BenoitZugmeyer commented Mar 14, 2022

Motivation

Keep packages up to date

Note: there is an issue observed with this new version, see webdriverio/webdriverio#8126 . Since it happens only when the spec fails in the first place, it shouldn't block us from upgrading

Changes

  • Update @wdio/* and webdriver packages
  • Work around stricter type checks
  • Improve browserstack capabilities configuration in both e2e and unit tests

Testing

  • Local
  • Staging
  • Unit
  • End to end

I have gone over the contributing documentation.

@BenoitZugmeyer BenoitZugmeyer requested a review from a team as a code owner March 14, 2022 16:35
@BenoitZugmeyer BenoitZugmeyer added the dependencies Pull requests that update a dependency file label Mar 14, 2022
@BenoitZugmeyer BenoitZugmeyer force-pushed the benoit/update-wdio branch 3 times, most recently from b59b3d9 to e749efe Compare March 15, 2022 17:04
Apparently, with new wdio packages, the browser is reading more data
from request bodies at once (maybe because of a bigger buffer
somewhere), and the margin used to check that the body is not read
entirely was not enough. Still lower than the whole response, so the
test is still ensuring that the whole response is not read.
The previous browsers configuration was not
working because the new wdio packages are validating it (both with
typechecking and runtime checks).

With this commit, I try to improve how we define and pass browser
configuration to both karma and e2e tests. I also made sure that we are
running on the latest appium and selenium versions, to keep things up to
date.
`capabilities.platformName` is never defined with our setup, so let's
remove it to simplify the function.
@BenoitZugmeyer BenoitZugmeyer merged commit d9f7799 into main Mar 21, 2022
@BenoitZugmeyer BenoitZugmeyer deleted the benoit/update-wdio branch March 21, 2022 15:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants