Skip to content

Commit

Permalink
build(deps-dev): bump webdriverio from 8.40.5 to 9.0.9 (#824)
Browse files Browse the repository at this point in the history
* build(deps-dev): bump webdriverio from 8.40.5 to 9.0.9

Bumps [webdriverio](https://github.com/webdriverio/webdriverio/tree/HEAD/packages/webdriverio) from 8.40.5 to 9.0.9.
- [Release notes](https://github.com/webdriverio/webdriverio/releases)
- [Changelog](https://github.com/webdriverio/webdriverio/blob/main/CHANGELOG.md)
- [Commits](https://github.com/webdriverio/webdriverio/commits/v9.0.9/packages/webdriverio)

---
updated-dependencies:
- dependency-name: webdriverio
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

* Update tests

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Mykola Mokhnach <mokhnach@gmail.com>
  • Loading branch information
dependabot[bot] and mykola-mokhnach authored Sep 23, 2024
1 parent bbdae6d commit a3f3236
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 52 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@
"ts-node": "^10.9.1",
"typescript": "^5.4.2",
"unzipper": "^0.x",
"webdriverio": "^8.0.5",
"webdriverio": "^9.0.9",
"xpath": "^0.x"
},
"peerDependencies": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,6 @@ describe('Find - invalid strategy', function () {
});
it('should not accept -ios uiautomation locator strategy', async function () {
await chai.expect(driver.$$('ios=.elements()'))
.to.eventually.be.rejectedWith(/strategy.*is invalid/);
.to.eventually.be.rejected;
});
});
48 changes: 0 additions & 48 deletions test/functional/commands/general/ime-e2e-specs.js

This file was deleted.

4 changes: 2 additions & 2 deletions test/functional/commands/geo-location-e2e-specs.js
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ describe('geo-location -', function () {
const latitude = getRandomInt(-90, 90);
const longitude = getRandomInt(-180, 180);

await driver.setGeoLocation({latitude, longitude});
await driver.executeScript('mobile: setGeolocation', [{latitude, longitude}]);

// wait for the text to change
await retryInterval(10, 1000, async () => {
Expand All @@ -79,7 +79,7 @@ describe('geo-location -', function () {
text.should.include(`Longitude: ${longitude}`);
});

const loc = await driver.getGeoLocation();
const loc = await driver.executeScript('mobile: getGeolocation');
loc.latitude.should.equal(latitude);
loc.longitude.should.equal(longitude);
});
Expand Down

0 comments on commit a3f3236

Please sign in to comment.