mirror of
https://github.com/appium/appium.git
synced 2026-10-29 04:36:39 +08:00
Update eslint-config-appium to the latest version 🚀 (#11952)
* chore(package): update eslint-config-appium to version 4.0.1 * chore: fix linting * chore: rebase and done
This commit is contained in:
committed by
Isaac A. Murchie
parent
97f324a58b
commit
10753839a9
@@ -1,8 +1,8 @@
|
||||
const webdriverio = require("webdriverio");
|
||||
const androidOptions = require("../../helpers/caps").androidWebOptions;
|
||||
const assert = require("chai").assert;
|
||||
const webdriverio = require('webdriverio');
|
||||
const androidOptions = require('../../helpers/caps').androidWebOptions;
|
||||
const assert = require('chai').assert;
|
||||
|
||||
describe("Create Chrome web session", function () {
|
||||
describe('Create Chrome web session', function () {
|
||||
let client;
|
||||
|
||||
before(async function () {
|
||||
@@ -13,12 +13,12 @@ describe("Create Chrome web session", function () {
|
||||
return await client.deleteSession();
|
||||
});
|
||||
|
||||
it("should create and destroy Android browser session", async function () {
|
||||
it('should create and destroy Android browser session', async function () {
|
||||
// Navigate to google.com
|
||||
const client = await webdriverio.remote(androidOptions);
|
||||
await client.url("https://www.google.com");
|
||||
await client.url('https://www.google.com');
|
||||
|
||||
const title = await client.getTitle();
|
||||
assert.equal(title, "Google");
|
||||
assert.equal(title, 'Google');
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user