Electron 446: Disable setting custom downloads directory (#349)

- remove feature to set custom downloads directory
- fix formatting
- fix formatting
This commit is contained in:
Vishwas Shashidhar
2018-05-01 13:35:57 +05:30
committed by GitHub
parent 4d15f03492
commit c1e4016e93
6 changed files with 43 additions and 116 deletions

View File

@@ -138,9 +138,9 @@ describe('Tests for Always on top', () => {
robot.setMouseDelay(200);
robot.moveMouse(190, 0);
robot.mouseClick();
// Key tap 8 times as "Always on Top" is in the
// 8th position under view menu item
for (let i = 0; i < 8; i++) {
// Key tap 7 times as "Always on Top" is in the
// 7th position under view menu item
for (let i = 0; i < 7; i++) {
robot.keyTap('down');
}
robot.keyTap('enter');

View File

@@ -105,9 +105,9 @@ describe('Tests for Full screen', () => {
robot.mouseClick();
robot.setKeyboardDelay(100);
// Key tap 6 times as "Enter Full Screen" is in the
// 6th position under view menu item
for (let i = 0; i < 6; i++) {
// Key tap 5 times as "Enter Full Screen" is in the
// 5th position under view menu item
for (let i = 0; i < 5; i++) {
robot.keyTap('down');
}
robot.keyTap('enter');

View File

@@ -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 8 times as "Minimize on Close" is in the
// 8th position under view menu item
for (let i = 0; i < 8; i++) {
robot.keyTap('down');
}
robot.keyTap('enter');