Skip to content

Conversation

@rev-doshi
Copy link
Owner

Proposed changes

Types of changes

  • Bugfix (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 not work as expected)
  • Documentation update

Checklist

  • I have read the CONTRIBUTING doc
  • I have added tests that prove my fix is effective or that my feature works
  • I have added necessary documentation (if appropriate)
  • I have added proper type definitions for new commands (if appropriate)

Further comments

Reviewers: @webdriverio/project-committers

rev-doshi and others added 30 commits February 13, 2024 10:51
* (internal): drop support for Node.js 16

update engines of package.json files

* (internal): drop support for Node.js 16

update CONTRIBUTING.md with Node.js 20 as recommendation

* (internal): drop support for Node.js 16

update github workflows

* (internal): drop support for Node.js 16

update external packages that dropped the support already

* (internal): drop support for Node.js 16

resolve PR feedback

* Update packages/webdriver/package.json

* Update packages/wdio-cucumber-framework/package.json

* Update package.json

---------

Co-authored-by: Christian Bromann <git@bromann.dev>
…iverio#11857)

* (webdriverio): merge isDisplayed and isDisplayedWithinViewport

* allow to specify withinViewport check in waitForDisplayed
fix type issues

fix unit tests
* V9 drop support for Node.js 16 (webdriverio#11493)

* (internal): drop support for Node.js 16

update engines of package.json files

* (internal): drop support for Node.js 16

update CONTRIBUTING.md with Node.js 20 as recommendation

* (internal): drop support for Node.js 16

update github workflows

* (internal): drop support for Node.js 16

update external packages that dropped the support already

* (internal): drop support for Node.js 16

resolve PR feedback

* Update packages/webdriver/package.json

* Update packages/wdio-cucumber-framework/package.json

* Update package.json

---------

Co-authored-by: Christian Bromann <git@bromann.dev>

* (webdriverio): merge isDisplayed and isDisplayedWithinViewport (webdriverio#11857)

* (webdriverio): merge isDisplayed and isDisplayedWithinViewport

* allow to specify withinViewport check in waitForDisplayed

* V9 drop support for Node.js 16 (webdriverio#11493)

* (internal): drop support for Node.js 16

update engines of package.json files

* (internal): drop support for Node.js 16

update CONTRIBUTING.md with Node.js 20 as recommendation

* (internal): drop support for Node.js 16

update github workflows

* (internal): drop support for Node.js 16

update external packages that dropped the support already

* (internal): drop support for Node.js 16

resolve PR feedback

* Update packages/webdriver/package.json

* Update packages/wdio-cucumber-framework/package.json

* Update package.json

---------

Co-authored-by: Christian Bromann <git@bromann.dev>

* (webdriverio): merge isDisplayed and isDisplayedWithinViewport (webdriverio#11857)

* (webdriverio): merge isDisplayed and isDisplayedWithinViewport

* allow to specify withinViewport check in waitForDisplayed

* V9 remove jsonWireProtocol

* V9 drop support for Node.js 16 (webdriverio#11493)

* (internal): drop support for Node.js 16

update engines of package.json files

* (internal): drop support for Node.js 16

update CONTRIBUTING.md with Node.js 20 as recommendation

* (internal): drop support for Node.js 16

update github workflows

* (internal): drop support for Node.js 16

update external packages that dropped the support already

* (internal): drop support for Node.js 16

resolve PR feedback

* Update packages/webdriver/package.json

* Update packages/wdio-cucumber-framework/package.json

* Update package.json

---------

Co-authored-by: Christian Bromann <git@bromann.dev>

* (webdriverio): merge isDisplayed and isDisplayedWithinViewport (webdriverio#11857)

* (webdriverio): merge isDisplayed and isDisplayedWithinViewport

* allow to specify withinViewport check in waitForDisplayed

* (internal): update some dependencies that couldn't be updated due to support for Node.js v16

closes webdriverio#11938
fixes webdriverio#11858

* (webdriverio): make puppeteer a peer dependency (webdriverio#12103)

* (webdriverio): make puppeteer a peer dependency

* fix type issues

* fix unit tests

---------

Co-authored-by: Erwin Heitzman <15839059+erwinheitzman@users.noreply.github.com>
Co-authored-by: Christian Bromann <git@bromann.dev>
* V9 drop support for Node.js 16 (webdriverio#11493)

* (internal): drop support for Node.js 16

update engines of package.json files

* (internal): drop support for Node.js 16

update CONTRIBUTING.md with Node.js 20 as recommendation

* (internal): drop support for Node.js 16

update github workflows

* (internal): drop support for Node.js 16

update external packages that dropped the support already

* (internal): drop support for Node.js 16

resolve PR feedback

* Update packages/webdriver/package.json

* Update packages/wdio-cucumber-framework/package.json

* Update package.json

---------

Co-authored-by: Christian Bromann <git@bromann.dev>

* (webdriverio): merge isDisplayed and isDisplayedWithinViewport (webdriverio#11857)

* (webdriverio): merge isDisplayed and isDisplayedWithinViewport

* allow to specify withinViewport check in waitForDisplayed

* V9 drop support for Node.js 16 (webdriverio#11493)

* (internal): drop support for Node.js 16

update engines of package.json files

* (internal): drop support for Node.js 16

update CONTRIBUTING.md with Node.js 20 as recommendation

* (internal): drop support for Node.js 16

update github workflows

* (internal): drop support for Node.js 16

update external packages that dropped the support already

* (internal): drop support for Node.js 16

resolve PR feedback

* Update packages/webdriver/package.json

* Update packages/wdio-cucumber-framework/package.json

* Update package.json

---------

Co-authored-by: Christian Bromann <git@bromann.dev>

* (webdriverio): merge isDisplayed and isDisplayedWithinViewport (webdriverio#11857)

* (webdriverio): merge isDisplayed and isDisplayedWithinViewport

* allow to specify withinViewport check in waitForDisplayed

* Migrating from got to fetch

* Migrate got to fetch in packages

* migrate got to fetch & update unit test

* doc update for proxy setup

* rebase and migrate got to fetch in browserstack

* Migrate hostname from 0.0.0.0 to localhost

* fix unit test by removing headers in safari driver

* fix smoke test: update nock to beta

* fix launch test for firefox

* fix unit test for startGeckodriver

* fix firefox executions in node 18

* Incorporating review comments

* fix component tests

* cleaning up RequestLibOptions

* Removing RequestLibOptions & incorporating other review comments

* use process from globalThis

---------

Co-authored-by: Erwin Heitzman <15839059+erwinheitzman@users.noreply.github.com>
Co-authored-by: Christian Bromann <git@bromann.dev>
Bumps [tmp](https://github.com/raszi/node-tmp) from 0.0.33 to 0.2.1.
- [Changelog](https://github.com/raszi/node-tmp/blob/master/CHANGELOG.md)
- [Commits](raszi/node-tmp@v0.0.33...v0.2.1)

---
updated-dependencies:
- dependency-name: tmp
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [split2](https://github.com/mcollina/split2) from 3.2.2 to 4.2.0.
- [Release notes](https://github.com/mcollina/split2/releases)
- [Commits](mcollina/split2@v3.2.2...v4.2.0)

---
updated-dependencies:
- dependency-name: split2
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [yauzl](https://github.com/thejoshwolfe/yauzl) from 2.10.0 to 3.0.0.
- [Commits](thejoshwolfe/yauzl@2.10.0...3.0.0)

---
updated-dependencies:
- dependency-name: yauzl
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [change-case](https://github.com/blakeembrey/change-case) from 4.1.2 to 5.4.3.
- [Release notes](https://github.com/blakeembrey/change-case/releases)
- [Commits](https://github.com/blakeembrey/change-case/compare/change-case@4.1.2...change-case@5.4.3)

---
updated-dependencies:
- dependency-name: change-case
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Updating capabilities for Lamdatest & Browserstack

* fix bootstrap & component test
amaanbs and others added 3 commits February 20, 2024 05:18
…riverio#12318)

* docs: Updated Contributing guide to mention PNPM instead of NPM

* docs: Corrected pnpm commands
if (this._accessibility) {
if (Array.isArray(accessibilityScripts.commandsToWrap)) {
const that = this
accessibilityScripts.commandsToWrap.forEach(async function (command) {

Choose a reason for hiding this comment

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

can use arrow function [optional]

const that = this
accessibilityScripts.commandsToWrap.forEach(async function (command) {
if (command.name && command.class) {
await (that._browser as WebdriverIO.Browser).overwriteCommand(command.name, async function (origFunction: Function, ...args: any[]) {

Choose a reason for hiding this comment

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

ca use arrow function [optional]

interface Browser {
getAccessibilityResultsSummary: () => Promise<{ [key: string]: any; }>,
getAccessibilityResults: () => Promise<Array<{ [key: string]: any; }>>
performScan: () => Promise<unknown>

Choose a reason for hiding this comment

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

change type

(
!command.name.includes('execute') ||
!AccessibilityHandler.isBrowserstackScript(args.length ? args[0] : null)
)

Choose a reason for hiding this comment

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

args?[0]

const isPageOpened = await this.checkIfPageOpened(this._browser, testIdentifier, shouldScanTest)

if (this._sessionId) {
/* For case with multiple tests under onw browser, before hook of 2nd test should change this map value */

Choose a reason for hiding this comment

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

spell

const isPageOpened = await this.checkIfPageOpened(this._browser, uniqueId, shouldScanScenario)

if (this._sessionId) {
/* For case with multiple tests under onw browser, before hook of 2nd test should change this map value */

Choose a reason for hiding this comment

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

spell

…owserstack-accessibility-stability-changes"

This reverts commit 13c0588, reversing
changes made to 5bf738a.
@amaanbs amaanbs changed the base branch from main to v8 March 1, 2024 00:00
@amaanbs amaanbs changed the base branch from v8 to main March 1, 2024 00:05
@amaanbs amaanbs changed the base branch from main to v8 March 1, 2024 00:05
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.

9 participants