Skip to content

Commit

Permalink
test(update): update keys for custom keybind with 4 chars
Browse files Browse the repository at this point in the history
  • Loading branch information
luisecm committed Feb 12, 2024
1 parent 7efa06a commit 22cd7ad
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/specs/18-settings-keybinds.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -155,15 +155,15 @@ export default async function settingsKeybindsTests() {
// Now, change Hide/Focus Uplink Keybind by typing Ctrl + Shift + U
await sendCustomKeybinds(4, 7, 65);
await settingsKeybinds.editKeybind("hide-focus-uplink");
// Type Ctrl + Alt + Shift + P
await sendCustomKeybinds(4, 3, 7, 60);
// Type Alt + Ctrl + Shift + P
await sendCustomKeybinds(3, 4, 7, 60);

// Validate change was applied correctly to Hide/Focus Uplink Keybind
const hideFocusUplinkKeybind =
await settingsKeybinds.getKeybinds("hide-focus-uplink");
await expect(hideFocusUplinkKeybind).toEqual([
"CONTROL",
"ALT",
"CONTROL",
"SHIFT",
"P",
]);
Expand Down

0 comments on commit 22cd7ad

Please sign in to comment.