Commit Graph

153 Commits

Author SHA1 Message Date
Keerthi Niranjan
6a8592694e ELECTRON-371 (#327)
- Fix FreeDiskSpace.exe path
2018-03-20 15:01:50 +05:30
Kiran Niranjan
ecb0f88660 Electron-336 (Update bring to front logic on Windows) (#325)
- Added an arg which prevents window from getting focus when it is set to false
- Update bring to front logic
- Rename "Bring to Front on Notifications" to Flash Notification in Taskbar for Windows
- Update Spectron test cases
2018-03-16 12:26:07 +05:30
Kiran Niranjan
dc7079e0d7 Electron-325 (Removed restriction from opening a popup from another popup window) (#318)
- Updated the event `new-window` by removing the restriction to open new windows in pop-outs
- Added Spectron test cases for pop-outs
- Fix PR concerns
2018-03-15 17:18:06 +05:30
Keerthi Niranjan
c3b82a0869 SEARCH-598 and SEARCH-611 (Deleting data folder on Electron Crash) (#307)
- Deleting the data folder on crash and unexpected shutdown
- Created script for clearing the index data on start up
- Working in dev env
- Added path to package
- Windows path file change
- Working on production build
- Completed implementation
- Few changes to callback
- Few changes to callback
- Updated package
- Fixed windows bug
- Fixed windows bug
- Fixed windows bug
- Added exe for task
- Added exe for task
- Fixed exe file
- Code refactoring
- Updated api file
- Added uuid for the task name
- Updated exe for the uuid
- Updated API file
- AIP version
- Fixes all the scenarios for mac
- Updated the boot file to clear data file on login
- Fixed data folder deleting on application is open
- Windows launch agent
- Working on all the scenario
- Added a launch script and starting the register
- Updated search-win-task.exe file
- Updating the aip file
- Updating the aip file
- Removed randomString lib
- Requested changes (PR)
- Included the library from new repo electron-uitls
- Updated AIP file
- Updated AIP
- Bumped up electron-utils version
- Added missing quotes
- Bumped up electron-utils version
- Added missing quotes
- Bumped utils version
- Bumped utils version
- Update AIP
2018-03-15 16:37:50 +05:30
Keerthi Niranjan
55e75cf5e5 ELECTRON-357 (#321)
- Skipping npm rebuild every time and only running it once.
- Changed the time-out to 60000ms
- Moved the require to global
- Added done fail in all the catch functions
- Removed unwanted require
2018-03-13 15:50:31 +05:30
Kiran Niranjan
191ca0c05e Electron-318 (Included build number in the client version info) (#314)
1. Included build number in getVersionInfo method
2. Update the demo page version info to table view
3. Changed let to var to make it consistent across the file
4. Add Spectron test cases for getVersionInfo
2018-03-12 17:05:25 +05:30
Kiran Niranjan
a06e17a12a Electron-308 Removed messages from constants and hardcoded it as per PR review 2018-02-27 09:24:40 +05:30
Kiran Niranjan
fc13e706be Electron-308 - Rebased and squash commits 2018-02-20 20:41:04 +05:30
Keerthi Niranjan
70f37644e9 Merge remote-tracking branch 'upstream/master' into SEARCH-605-new
# Conflicts:
#	js/search/searchConfig.js
2018-02-16 15:34:29 +05:30
Keerthi Niranjan
6449393c7f SEARCH-605
- Changed the check
2018-02-16 13:44:52 +05:30
Keerthi Niranjan
5c1674070a SEARCH-622
- Updated tests
2018-02-16 12:43:54 +05:30
Keerthi Niranjan
0ee004ccf1 SEARCH-605
- Updated unit tests
2018-02-15 12:20:52 +05:30
Keerthi Niranjan
253aee2ac6 SEARCH-569
- Updated indexVersion
2018-01-12 17:31:59 +05:30
Keerthi Niranjan
27cab1ab93 SEARCH-569
- Fixed tests for Windows
2018-01-12 16:32:18 +05:30
Keerthi Niranjan
fdad87b22a SEARCH-569
- Fixed tests for Windows
2018-01-12 14:09:19 +05:30
Keerthi Niranjan
68f65248d7 SEARCH-569
- Fixed tests for Windows
2018-01-12 12:23:34 +05:30
Keerthi Niranjan
df277cd4e4 Merge remote-tracking branch 'upstream/master' into SEARCH-569
# Conflicts:
#	js/cryptoLib/index.js
2018-01-10 10:36:22 +05:30
Keerthi Niranjan
e9a89ff429 SEARCH-569
- Fixed tests
2018-01-10 10:15:03 +05:30
Keerthi Niranjan
603d74c5b9 SEARCH-569
- Removing the version information from user index folder
2018-01-09 16:16:59 +05:30
Keerthi Niranjan
b32c7784ea SEARCH-563
- Fixed unit tests
2018-01-09 14:20:29 +05:30
Keerthi Niranjan
252047891e SEARCH-538
- Review comments
2018-01-08 16:57:18 +05:30
Keerthi Niranjan
4322615e6b SEARCH-538
- Included two new tests
2018-01-02 10:12:14 +05:30
Keerthi Niranjan
988439b780 SEARCH-538
- User config unit tests
2017-12-29 17:36:40 +05:30
Keerthi Niranjan
d1e7604895 SEARCH-538
- Removed comment
2017-12-29 12:06:19 +05:30
Keerthi Niranjan
c48bb2225e SEARCH-538
- Test for search limit
2017-12-29 12:04:40 +05:30
Keerthi Niranjan
3a3eb4bb15 Merge remote-tracking branch 'upstream/master' into SEARCH-538 2017-12-29 09:38:44 +05:30
Keerthi Niranjan
fbf051b3a3 Fixed tests 2017-12-28 15:29:37 +05:30
Vikas Shashidhar
6c15d14fa8
Merge pull request #256 from VishwasShashidhar/electron-205
electron-205: fixed file overwrite issues when a custom download folder is set by the user
2017-12-27 17:10:01 +05:30
Keerthi Niranjan
81f14b4916 Merge remote-tracking branch 'upstream/master' into SEARCH-538 2017-12-27 15:56:39 +05:30
Keerthi Niranjan
d7b5c28e0f SEARCH-538
- Completed Unit tests for search.js
2017-12-27 14:04:04 +05:30
Keerthi Niranjan
52c2078e96 Completed search.js tests 2017-12-27 11:57:49 +05:30
Keerthi Niranjan
316744acaf Working on unit tests 2017-12-26 17:34:18 +05:30
Keerthi Niranjan
a7e838fe0c SEARCH-538
- Working on electron unit tests
2017-12-22 15:46:10 +05:30
Kiran Niranjan
78c466516c Electron-217
Updated the PR as per the review comments
2017-12-21 13:52:05 +05:30
Vishwas Shashidhar
24bfa852e1 electron-205: fixed failing download manager tests 2017-12-13 20:34:00 +05:30
Kiran Niranjan
d7f62a38b0 Electron-217
* Wrote some unit tests for isWhiteList
* Fixed some validation issues
2017-12-12 13:00:32 +05:30
Vikas Shashidhar
08a14ae66c Fixed failing tests with Download Manager. 2017-10-09 20:00:53 +05:30
Vishwas Shashidhar
d566e38b6a electron-97: removed console log statements in the spectron tests 2017-08-24 16:31:09 +05:30
Vishwas Shashidhar
28bd9399aa electron-97: refactored the code as per the ticket (points 2 & 6 covered) 2017-08-24 13:21:02 +05:30
Vishwas Shashidhar
7ab0f75e2e electron-97: completed point 1 in refactoring 2017-08-23 22:08:33 +05:30
Kiran Niranjan
173c2c692a Electron-47 - Renamed error message and added some done() callback 2017-08-02 16:19:27 +05:30
Kiran Niranjan
1ef82d2204 Electron-47
1. Handled spellchecker issue for pop outs
2. Wrote spectron test for spellchecker
2017-07-26 15:34:26 +05:30
Kiran Niranjan
aa2561a035 Electron-101 - Updated to a generic url for both mac and windows 2017-07-20 20:35:06 +05:30
Kiran Niranjan
992bc6649e Electron build issues
1. Moved spectron test to a different directory
2. Added a npm command to run spectron test separately
2017-07-20 17:27:48 +05:30
Kiran Niranjan
d869496b7e Electron-90 - throws error if rebuild fails 2017-07-18 17:46:29 +05:30
Kiran Niranjan
55253c96d3 Merge remote-tracking branch 'upstream/master' into ELECTRON-90 2017-07-18 12:19:16 +05:30
Kiran Niranjan
7031238279 Electron-90 - Fixed notification position test issue 2017-07-18 12:19:03 +05:30
Vikas Shashidhar
3c3d84f251 Merge pull request #160 from VikasShashidhar/electron-84
Electron 84: Spectron Tests for Full Screen
2017-07-17 15:36:09 +05:30
Vikas Shashidhar
43b7bc0bc6 Merge pull request #159 from VikasShashidhar/electron-83
Electron-83: Spectron Tests for Zoom in and Zoom out
2017-07-17 15:35:41 +05:30
Vikas Shashidhar
8e2c85a2e3 Merge pull request #157 from VikasShashidhar/electron-85
Electron-85: Spectron Tests for close
2017-07-17 15:35:27 +05:30
Vikas Shashidhar
9a89b959ec Merge pull request #161 from VikasShashidhar/electron-82
Electron 82: Spectron Tests for Minimize on Close
2017-07-17 15:34:42 +05:30
Vikas Shashidhar
3a047ed408 Electron-83: Integrated RobotJS test and implemented it for Windows as well 2017-07-11 20:21:47 +05:30
Kiran Niranjan
1f6219a3f6 Electron-93
1. Fixed always on top tests for windows
2. Moved ncp from CLI to Programmatic usage
2017-07-11 20:05:58 +05:30
Vikas Shashidhar
fb3c016a93 Electron-84: Implemented RobotJS test for Windows 2017-07-11 19:43:17 +05:30
Vikas Shashidhar
717567d2ed Electron-82: Implemented RobotJS test for Windows 2017-07-11 18:59:45 +05:30
Kiran Niranjan
8d0f9423a9 Electron-93
1. Implemented Robotjs for windows
2. Implemented a method to copy config for both windows and mac
3. Removed a conflict in config file
2017-07-10 20:30:24 +05:30
Vikas Shashidhar
37e9a08900 Electron-84: integrated RobotJS into the test 2017-07-07 18:38:12 +05:30
Kiran Niranjan
3c37591de9 Electron-93 - Implemented robotjs for always on top test 2017-07-07 18:18:09 +05:30
Vikas Shashidhar
8c6798b645 Electron-82: Integrated RobotJS into the solution 2017-07-07 18:08:52 +05:30
Vikas Shashidhar
a3598f9731 Electron-85: Wrote tests for full screen 2017-07-06 19:23:09 +05:30
Vikas Shashidhar
834ea33011 Electron-85: Wrote tests for close 2017-07-06 18:46:37 +05:30
Kiran Niranjan
080d6534e7 Refactored spectron tests 2017-07-06 17:35:21 +05:30
Kiran Niranjan
763d27aa8d Refactored spectron tests 2017-07-06 17:06:16 +05:30
Kiran Niranjan
d220b6ada6 Refactored spectron tests 2017-07-06 15:09:50 +05:30
Vikas Shashidhar
c4fb2ff12d Merge pull request #152 from KiranNiranjan/ELECTRON-88
Electron-88 (Electron Clipboard)
2017-07-05 16:29:19 +05:30
Vikas Shashidhar
8b6f0835f0 Merge pull request #151 from KiranNiranjan/ELECTRON-93
Electron-93 (Always on top)
2017-07-05 16:28:48 +05:30
Vikas Shashidhar
2361f00897 Merge pull request #150 from KiranNiranjan/ELECTRON-87
Electron-87 (Bring to front)
2017-07-05 16:28:23 +05:30
Kiran Niranjan
0d592f2c22 Electron-90 fixed a typo 2017-07-05 15:30:11 +05:30
Kiran Niranjan
5c462a490d Electron-88 Moved the Clipboard test to Jest from mocha 2017-07-05 14:52:06 +05:30
Kiran Niranjan
c69610ecbe Merge remote-tracking branch 'upstream/master' into ELECTRON-93 2017-07-05 14:42:30 +05:30
Kiran Niranjan
6db3cc2c3d Electron-93 Moved the Always on top test to Jest from mocha 2017-07-05 14:42:21 +05:30
Kiran Niranjan
fdbd2fef02 Merge remote-tracking branch 'upstream/master' into ELECTRON-87 2017-07-05 14:23:49 +05:30
Kiran Niranjan
4977b19d80 Electron-87 Moved the Bring to front test to Jest from mocha 2017-07-05 14:23:39 +05:30
Kiran Niranjan
9ee4b76d37 Electron-90 Moved the Notification test to Jest from mocha 2017-07-05 14:03:52 +05:30
Symphony
2b77c4e642 1. Fixed download manager test issues.
2. Removed usage of jQuery for tests.
2017-07-02 18:23:34 +05:30
Vikas Shashidhar
299e75eca3 Electron 44 File Download Experience (#116)
* Implemented File Download Experience

1. Initiate download manager when a file download is initiated.
2. Add items to download manager when new items are downloaded.
3. Allow user to open file in default OS app.
4. Allow user to show file in finder/explorer.
5. Allow user to close download bar.

* 1. Removed underscore
2. Added safety checks
3. Added support for popouts
4. Creating most elements of download manager if electron

* 1. Moved download manager logic to a separate file

* 1. Added styles to help pushing up the content of the app when the download manager is being shown.

* 1. Added tests for Download Manager.

* Removed unnecessary code.

* Made adjustments to handle positioning of the download manager through the flexbox model rather than the fixed positioning way.

* Removed data attributes being added to body to handle download manager.
2017-06-27 08:08:58 -07:00
Lynn
d152a735a2 cache config files when read from disk (#139)
* cache config files when read from disk

* config updates from code review
2017-06-13 11:18:29 -07:00
Lynn
c253741450 fix activity detection tests and build process (#133) 2017-06-08 09:10:37 -07:00
Kiran Niranjan
05cde10299 ELECTRON-66 (Unit Tests) (#129)
* ELECTRON-66 - Fixed activity detection unit test and added dynamic target version

* ELECTRON-66 - Fixed activity detection unit test
2017-06-07 09:11:32 -07:00
Lynn
4abe5c87d8 hide readResult method (#131) 2017-06-07 09:05:25 -07:00
Lynn
421f04d8e0 remove target to fix activity detection tests (#128) 2017-06-05 14:21:27 -07:00
Kiran Niranjan
42b09b6894 Electron-66 (Unit Tests) (#125)
* ELECTRON-66 - Fixed the target version

* ELECTRON-66 - Fixed activity detection and config unit tests
2017-06-05 09:55:34 -07:00
Kiran Niranjan
532ac475ec ELECTRON-66 - Fixed the target version (#124) 2017-06-02 11:30:12 -07:00
Kiran Niranjan
a839c86d83 Electron-66 (Unit tests) (#120)
* Electron-66 - Added more unit tests for config, getRegistry & throttle

* Electron-66 - Added some more unit tests and enabled activity detection unit test
2017-06-02 09:29:31 -07:00
Lynn
f97a13c382 add logging and unit tests (#117)
* add logging and unit tests

* fix logging msg spell for notification
2017-05-31 21:39:08 -07:00
Vishwas Shashidhar
93645b40bf electron-66: increased the branch coverage for the protocol handler methods (#118) 2017-05-31 10:44:19 -07:00
Lynn
013b02e04f throttle should check for valid args (#113) 2017-05-27 08:14:39 -07:00
Vishwas Shashidhar
cda34b1d70 Electron 24 - protocol handler (#85)
* added idea and coverage directories under gitignore

* electron-24: implemented handlers to process protocol actions

* electron-17: implemented use case for opening app if it is not open and handle the protocol url

* electron-24: added code and documentation comments

* electron-24: added unit tests for the protocol handler

* added npm-debug log to gitignore

* electron-24: added protocol handler support for windows

* electron-24: made changes as per comments on the PR

* electron-16: added more comments and further refactoring
2017-05-13 11:23:44 -07:00
Lynn
c09246b9e2 skip failing test - must fix (#87) 2017-05-10 20:40:03 -07:00
Kiran Niranjan
d6031dd440 ELECTRON-32 Added unit test cases for activity detection (#84) 2017-05-10 09:12:00 -07:00
Lynn
8d199e3599 fix config test for windows (#72) 2017-04-28 17:13:06 -07:00
Lynn
5d3377ec02 add unit test for isInDisplayBounds and config.js (#66)
* add unit test for util: isInDisplayBounds

* add tests for config.js
2017-04-26 09:46:15 -07:00
Lynn
439f283916 saved layout (#62)
* saved layout

* fix fieldName check
2017-04-20 11:54:11 -07:00
Lynn
4c7a547f26 skip some tests (for now) on windows (#57) 2017-04-11 15:17:15 -07:00
Lynn
6b99dc541e Screen snippet (#55)
* adds screen snippet feature

* update return api

* udpate unit tests
2017-04-11 11:58:35 -07:00
Lynn
662fa1d864 upgrade electron 1.6.5 (#51) 2017-04-03 16:50:35 -07:00
Lynn
7ee0418c82 clean up event listeners in proxy (#50) 2017-03-30 16:20:51 -07:00
Lynn
1f149d62c2 fix test failures for newer ver of node (#42) 2017-03-24 16:18:09 -07:00
Lynn
2ded38c542 Proxy unit tests (#40)
* add unit test for proxy

* more unit tests for proxy
2017-03-23 16:19:59 -07:00
Lynn
939d083653 update to badget count interface (#32) 2017-03-09 10:12:28 -08:00