Skip to content

Commit

Permalink
fix key names
Browse files Browse the repository at this point in the history
  • Loading branch information
mykola-mokhnach committed Oct 18, 2024
1 parent 62d0910 commit d0bd3c3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion test/functional/basic/basic-e2e-specs.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ describe('XCUITestDriver - basics -', function () {
});

it('should return status immediately if another operation is in progress', async function () {
await driver.setTimeout({ 'implicit': 10000 });
await driver.setTimeout({ implicit: 10000 });
const findElementPromise = driver.$('#WrongLocator');
const status = await driver.status();
status.build.version.should.exist;
Expand Down
4 changes: 2 additions & 2 deletions test/functional/basic/find-e2e-specs.js
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ describe('XCUITestDriver - find -', function () {
// we will have the previous elements, so the get command will be fulfilled.
await B.delay(1000);

await driver.setTimeout({ 'implicit': 5000 });
await driver.setTimeout({ implicit: 5000 });
table = await driver.$('XCUIElementTypeTable');
let el2 = await driver.$('XCUIElementTypeStaticText');
let el2Name = await el2.getAttribute('name');
Expand Down Expand Up @@ -157,7 +157,7 @@ describe('XCUITestDriver - find -', function () {
});

it('should respect implicit wait', async function () {
await driver.setTimeout({ 'implicit': 5000 });
await driver.setTimeout({ implicit: 5000 });

let begin = Date.now();
const el = await driver.$('//something_not_there');
Expand Down

0 comments on commit d0bd3c3

Please sign in to comment.