Skip to content

Commit

Permalink
update missing awaits
Browse files Browse the repository at this point in the history
  • Loading branch information
smhigley authored and mcking65 committed Mar 9, 2020
1 parent ced9129 commit 553e545
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/tests/combobox_grid-combo.js
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ ariaTest('role "row" exists within grid element', exampleFile, 'row-role', async
await t.context.session.findElement(By.css(ex.comboboxSelector)).sendKeys('a', Key.ARROW_DOWN);

let gridEl = await t.context.session.findElement(By.css(ex.gridSelector));
let rowElements = t.context.queryElements(t, '[role="row"]', gridEl);
let rowElements = await t.context.queryElements(t, '[role="row"]', gridEl);

t.truthy(
await rowElements.length,
Expand All @@ -189,7 +189,7 @@ ariaTest('role "gridcell" exists within row element', exampleFile, 'gridcell-rol
await t.context.session.findElement(By.css(ex.comboboxSelector)).sendKeys('a', Key.ARROW_DOWN);

let rowElement = await t.context.session.findElement(By.css(ex.rowSelector));
let cellElements = t.context.queryElements(t, '[role="gridcell"]', rowElement);
let cellElements = await t.context.queryElements(t, '[role="gridcell"]', rowElement);

t.truthy(
await cellElements.length,
Expand Down

0 comments on commit 553e545

Please sign in to comment.