Skip to content

Commit 02c276c

Browse files
committed
update tests
1 parent 044a230 commit 02c276c

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

client/modules/IDE/components/Preferences/Preferences.unit.test.jsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -437,10 +437,10 @@ describe('<Preferences />', () => {
437437

438438
// get ahold of the radio buttons for toggling autocompleteHinter
439439
const autocompleteRadioFalse = screen.getByRole('radio', {
440-
name: /autocomplete off/i
440+
name: /autocomplete hinter off/i
441441
});
442442
const autocompleteRadioTrue = screen.getByRole('radio', {
443-
name: /autocomplete on/i
443+
name: /autocomplete hinter on/i
444444
});
445445

446446
testToggle(
@@ -519,10 +519,10 @@ describe('<Preferences />', () => {
519519

520520
// get ahold of the radio buttons for toggling autocompleteHinter
521521
const autocompleteRadioFalse = screen.getByRole('radio', {
522-
name: /autocomplete off/i
522+
name: /autocomplete hinter off/i
523523
});
524524
const autocompleteRadioTrue = screen.getByRole('radio', {
525-
name: /autocomplete on/i
525+
name: /autocomplete hinter on/i
526526
});
527527

528528
testToggle(

0 commit comments

Comments
 (0)