mirror of
https://github.com/finos/SymphonyElectron.git
synced 2025-02-25 18:55:29 -06:00
ELECTRON-337: remove dev tools menu item and map the behaviour to global shortcut (#331)
This commit is contained in:
committed by
GitHub
parent
923bd3ba1a
commit
e449ece7bf
@@ -138,9 +138,9 @@ describe('Tests for Always on top', () => {
|
||||
robot.setMouseDelay(200);
|
||||
robot.moveMouse(190, 0);
|
||||
robot.mouseClick();
|
||||
// Key tap 10 times as "Always on Top" is in the
|
||||
// 10th position under view menu item
|
||||
for (let i = 0; i < 10; i++) {
|
||||
// Key tap 9 times as "Always on Top" is in the
|
||||
// 9th position under view menu item
|
||||
for (let i = 0; i < 9; i++) {
|
||||
robot.keyTap('down');
|
||||
}
|
||||
robot.keyTap('enter');
|
||||
|
||||
@@ -105,9 +105,9 @@ describe('Tests for Full screen', () => {
|
||||
robot.mouseClick();
|
||||
robot.setKeyboardDelay(100);
|
||||
|
||||
// Key tap 8 times as "Enter Full Screen" is in the
|
||||
// 8th position under view menu item
|
||||
for (let i = 0; i < 8; i++) {
|
||||
// Key tap 7 times as "Enter Full Screen" is in the
|
||||
// 7th position under view menu item
|
||||
for (let i = 0; i < 7; i++) {
|
||||
robot.keyTap('down');
|
||||
}
|
||||
robot.keyTap('enter');
|
||||
|
||||
@@ -119,9 +119,9 @@ describe('Tests for Minimize on Close', () => {
|
||||
robot.mouseClick();
|
||||
robot.setKeyboardDelay(100);
|
||||
|
||||
// Key tap 9 times as "Minimize on Close" is in the
|
||||
// 9th position under view menu item
|
||||
for (let i = 0; i < 9; i++) {
|
||||
// Key tap 10 times as "Minimize on Close" is in the
|
||||
// 10th position under view menu item
|
||||
for (let i = 0; i < 10; i++) {
|
||||
robot.keyTap('down');
|
||||
}
|
||||
robot.keyTap('enter');
|
||||
|
||||
Reference in New Issue
Block a user