Skip to content

Commit

Permalink
Use Key.META for text area all text selection for OS agnostic testing…
Browse files Browse the repository at this point in the history
… toolbar_toolbar
  • Loading branch information
stalgiag committed Sep 16, 2024
1 parent af8f4c1 commit efaa27c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/tests/toolbar_toolbar.js
Original file line number Diff line number Diff line change
Expand Up @@ -1115,7 +1115,7 @@ ariaTest(
'toolbar-button-enter-or-space',
async (t) => {
let textarea = await t.context.session.findElement(By.css('textarea'));
await textarea.sendKeys(Key.chord(Key.CONTROL, 'a'));
await textarea.sendKeys(Key.chord(Key.META, 'a'));
let originalText = await textarea.getAttribute('value');

const buttons = await t.context.queryElements(
Expand Down Expand Up @@ -1206,7 +1206,7 @@ ariaTest(
'toolbar-button-enter-or-space',
async (t) => {
let textarea = await t.context.session.findElement(By.css('textarea'));
await textarea.sendKeys(Key.chord(Key.CONTROL, 'a'));
await textarea.sendKeys(Key.chord(Key.META, 'a'));
let originalText = await textarea.getAttribute('value');

const buttons = await t.context.queryElements(
Expand Down

0 comments on commit efaa27c

Please sign in to comment.