mirror of
https://github.com/appium/appium.git
synced 2026-01-14 22:30:14 -06: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,23 +1,23 @@
|
||||
const webdriverio = require("webdriverio");
|
||||
const androidOptions = require("../../helpers/caps").androidOptions;
|
||||
const app = require("../../helpers/apps").androidApiDemos;
|
||||
const assert = require("chai").assert;
|
||||
const webdriverio = require('webdriverio');
|
||||
const androidOptions = require('../../helpers/caps').androidOptions;
|
||||
const app = require('../../helpers/apps').androidApiDemos;
|
||||
const assert = require('chai').assert;
|
||||
|
||||
androidOptions.capabilities.app = app;
|
||||
|
||||
describe("Create Android session", function () {
|
||||
describe('Create Android session', function () {
|
||||
let client;
|
||||
|
||||
before(async function () {
|
||||
client = await webdriverio.remote(androidOptions);
|
||||
});
|
||||
|
||||
it("should create and destroy a session", async function () {
|
||||
it('should create and destroy a session', async function () {
|
||||
const res = await client.status();
|
||||
assert.isObject(res.build);
|
||||
|
||||
const current_package = await client.getCurrentPackage();
|
||||
assert.equal(current_package, "io.appium.android.apis");
|
||||
assert.equal(current_package, 'io.appium.android.apis');
|
||||
|
||||
const delete_session = await client.deleteSession();
|
||||
assert.isNull(delete_session);
|
||||
|
||||
Reference in New Issue
Block a user