Skip to content

Commit

Permalink
Few text fixes.
Browse files Browse the repository at this point in the history
  • Loading branch information
garg3133 committed Feb 26, 2024
1 parent 38e4723 commit 061c0c7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
5 changes: 1 addition & 4 deletions lib/api/web-element/commands/isSelected.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
*
* @example
* describe('isSelected Demo', function() {
*
* it('test isSelected', function(browser) {
* browser.element('#search')
* .isSelected()
Expand All @@ -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
Expand Down
2 changes: 1 addition & 1 deletion test/src/api/commands/web-element/testIsSelected.js
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down

0 comments on commit 061c0c7

Please sign in to comment.