From 061c0c7b84548ae7c3616599b33bfdd3b980a69a Mon Sep 17 00:00:00 2001 From: Priyansh Garg Date: Mon, 26 Feb 2024 18:00:23 +0530 Subject: [PATCH] Few text fixes. --- lib/api/web-element/commands/isSelected.js | 5 +---- test/src/api/commands/web-element/testIsSelected.js | 2 +- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/lib/api/web-element/commands/isSelected.js b/lib/api/web-element/commands/isSelected.js index 593fe19793..6e9bb605e9 100644 --- a/lib/api/web-element/commands/isSelected.js +++ b/lib/api/web-element/commands/isSelected.js @@ -5,7 +5,6 @@ * * @example * describe('isSelected Demo', function() { - * * it('test isSelected', function(browser) { * browser.element('#search') * .isSelected() @@ -14,10 +13,8 @@ * * it('test async isSelected', async function(browser) { * const result = await browser.element('#search').isSelected(); - * browser.assert.equal(result, true) + * browser.assert.equal(result, true); * }); - * - * after(browser => browser.end()); * }); * * @since 3.5.0 diff --git a/test/src/api/commands/web-element/testIsSelected.js b/test/src/api/commands/web-element/testIsSelected.js index 82f18023cb..c9813f0383 100644 --- a/test/src/api/commands/web-element/testIsSelected.js +++ b/test/src/api/commands/web-element/testIsSelected.js @@ -78,7 +78,7 @@ describe('element().isSelected() command', function() { assert.strictEqual(result, true); }); - it('test .element().find().isSelected() not selected', async function() { + it('test .element.find().isSelected() not selected', async function() { MockServer.addMock({ url: '/session/13521-10219-202/element/0/selected', method: 'GET',