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

build(deps-dev): bump webdriverio from 8.40.5 to 9.0.9 #824

Merged
merged 2 commits into from
Sep 23, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading