Skip to content

Commit

Permalink
Lint fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
dpgraham committed Jan 21, 2019
1 parent c62c122 commit a6095cd
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion test/functional/commands/mobile-e2e-specs.js
Original file line number Diff line number Diff line change
Expand Up @@ -163,10 +163,14 @@ describe('mobile', function () {
it('should be able to find and take action on uiObject with given index', async function () {
const text = await driver.execute('mobile: uiautomator', {strategy: 'textContains', locator: 'Views', index: 0, action: 'getText'});
text.should.eql(['Views']);
});
});
describe('mobile: clickAction', function () {
it('should click on an element', async function () {
let el = await driver.elementByAccessibilityId('Views');
await driver.execute('mobile: clickAction', {element: el, tapper: "lOnG", coordinatesProvider: "bOtToM_rIgHt", precisionDescriber: "THUMB", inputDevice: 0, buttonState: 0});
await driver.execute('mobile: clickAction', {element: el, tapper: 'lOnG', coordinatesProvider: 'bOtToM_rIgHt', precisionDescriber: 'THUMB', inputDevice: 0, buttonState: 0});
});
});
describe('mobile: clickAction', function () {
let viewEl;
beforeEach(async function () {
Expand Down

0 comments on commit a6095cd

Please sign in to comment.