Skip to content

Commit a3f3236

Browse files
build(deps-dev): bump webdriverio from 8.40.5 to 9.0.9 (#824)
* 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] <[email protected]> * Update tests --------- Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Mykola Mokhnach <[email protected]>
1 parent bbdae6d commit a3f3236

File tree

4 files changed

+4
-52
lines changed

4 files changed

+4
-52
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@
103103
"ts-node": "^10.9.1",
104104
"typescript": "^5.4.2",
105105
"unzipper": "^0.x",
106-
"webdriverio": "^8.0.5",
106+
"webdriverio": "^9.0.9",
107107
"xpath": "^0.x"
108108
},
109109
"peerDependencies": {

test/functional/commands/find/invalid-strategy-e2e-specs.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,6 @@ describe('Find - invalid strategy', function () {
2020
});
2121
it('should not accept -ios uiautomation locator strategy', async function () {
2222
await chai.expect(driver.$$('ios=.elements()'))
23-
.to.eventually.be.rejectedWith(/strategy.*is invalid/);
23+
.to.eventually.be.rejected;
2424
});
2525
});

test/functional/commands/general/ime-e2e-specs.js

Lines changed: 0 additions & 48 deletions
This file was deleted.

test/functional/commands/geo-location-e2e-specs.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ describe('geo-location -', function () {
6060
const latitude = getRandomInt(-90, 90);
6161
const longitude = getRandomInt(-180, 180);
6262

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

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

82-
const loc = await driver.getGeoLocation();
82+
const loc = await driver.executeScript('mobile: getGeolocation');
8383
loc.latitude.should.equal(latitude);
8484
loc.longitude.should.equal(longitude);
8585
});

0 commit comments

Comments
 (0)