Commit Graph

57 Commits

Author SHA1 Message Date
thaisym1912
08d9c34735 Stabilize automation tests. (#504)
* Combine commits

* share-logs.spectron (replaced by electronProductionLogging)

* notificationPosition.spectron (replaced by toastNotification)

* Remove reload
2018-09-19 11:06:40 +05:30
Tran Duc Anh
220797dbbd fix and review 2018-09-12 10:09:57 +07:00
Tran Duc Anh
29a0780d65 commit code 2018-09-10 18:00:51 +07:00
thaisym1912
87d6c20ad9 AVT-1145 [Spectron] Review and update the existing tests in closePopOutsOnReload.spectron (#498)
* Updated AVT-1145
2018-09-10 12:47:49 +05:30
Thai Pham
82e65d9e9f Updated 2018-09-10 13:59:17 +07:00
Truong.Pham
6a6cbece83 Updated 2018-09-10 13:48:30 +07:00
Truong.Pham
9c7c73b616 Updated AVT-1146 2018-09-10 13:47:47 +07:00
Tran Duc Anh
39d0ce0015 resolve conflict 2018-09-10 11:28:35 +07:00
Tran Duc Anh
d056c153f5 resole conflict 1 2018-09-10 11:22:31 +07:00
Truong.Pham
80422c59a1 Updated AVT-1155 2018-09-07 15:49:24 +07:00
thaisym1912
f4f99b1c0c Updated Timeout constants (#495) 2018-09-06 16:26:35 +05:30
Vishwas Shashidhar
18b1cf154b Merge branch 'master' of github.com:symphonyoss/SymphonyElectron 2018-09-06 11:45:17 +05:30
Vishwas Shashidhar
a28fd90b09 refactoring
- move the jest configuration files to the root directory
- remove squirrel installer startup check
- increase coverage for protocol handler
- update package.json as per the above
2018-09-06 11:45:07 +05:30
thaisym1912
ce5b6a8409 Updated (#493) 2018-09-06 10:21:05 +05:30
thaisym1912
9dba7521fc AVT-1082 [Spectron][Windows] Pop-in popped-out chat (#463)
* Add test

* Updated
2018-08-16 13:24:58 +05:30
thaisym1912
146db038f0 AVT-1026 [Spectron][Windows] Configure alert position at top/bottom left/right (#466)
* Add test

* Updated
2018-08-16 13:03:13 +05:30
tranducanh
66d1a9f8e7 Fix to run all test on jenkins (#467)
* Fix issue

* fix run all test and is not hang on jenkin

* fix space

* remove npm run rebuild
2018-08-16 11:54:46 +05:30
tranducanh
42335eb446 AVT-1107:Open ACP inside Electron when clicking on the 'Go to AC portal' (#461)
* AVT-1107

* update code
2018-08-16 11:49:10 +05:30
tranducanh
6629d5c67c AVT-1083: Verify Flash notification in taskbar option when multiple applications are opened (#459)
* AVT-1083 add new test

* update code

* remove check isMac
2018-08-16 11:48:44 +05:30
thaisym1912
21b79f7714 AVT-1081 [Spectron][Windows] pop-out chat, inbox (#460) 2018-08-14 10:20:16 +05:30
Truong Pham
a0968d1752 [AVT-1095] - [Spectron][MAC] Show 1 in tray icon when unread message = 1 (#458)
- Support new test on MAC
- Support Badge Count test on MAC
- Use let instead of var
2018-08-13 14:24:55 +05:30
Truong Pham
d92a123f32 Support on MAC (#456) 2018-08-13 14:24:04 +05:30
tranducanh
2624e706c5 AVT-1031 AND AVT-1032: Verify toast notification for IMs, Signal,Room (#448) 2018-08-08 13:00:44 +05:30
tranducanh
d3f77685dd AVT-1025: Verify toast notification when Persist Notification is ON (#447) 2018-08-07 18:19:42 +05:30
thaisym1912
6746fb294c AVT-1024 Add test "Pop-up alert play depends on setting" (#454) 2018-08-07 15:19:01 +05:30
thaisym1912
e441deeb1d AVT-1029 Add test "Verify the production logs exists when clicking on "Show logs in Explorer"" (#445) 2018-08-02 15:53:46 +05:30
thaisym1912
33b3e0840b Add test (#443) 2018-08-01 20:20:48 +05:30
Kiran Niranjan
75d2e06673 ELECTRON-591 - Add logic to close up child windows whenever parent window is navigated or reloaded (#446) 2018-08-01 14:51:29 +05:30
tranducanh
f893b5658c AVT-937,AVT-938,AVT-939 : [Spectron][Windows] Close window when 'Minimize on Close' is ON (#437) 2018-08-01 14:43:57 +05:30
thaisym1912
7791d5b39a AVT-914 [Spectron][Windows] Add test "Keep size and position of the windows in previous session" (#430) 2018-07-31 22:34:45 +05:30
Keerthi Niranjan
205c08977d SEARCH-840 Updates searchApiVer and AIP (#438)
* SEARCH-840 Migrates SwiftSearch to a different project https://github.com/symphonyoss/SwiftSearch

* SEARCH-840 Changes swift-search require

* SEARCH-840 refactor

* SEARCH-840 Changes swift-search version

* SEARCH-840 Changes warn message

* SEARCH-840 Updates api version and removes unwanted libraries from aip
2018-07-20 14:12:51 +05:30
Kiran Niranjan
a18f3eb64c ELECTRON-485 (Add throttle of 1 sec for activate, bringToFront and setLocale to prevent DoS attacks) (#414)
- Add throttle of 1 sec for activate, bringToFront and setLocale to prevent DoS attacks
- Skip resize Spectron test case for Mac
2018-07-09 13:29:47 +05:30
Keerthi Niranjan
4aaa9ac539 Swift Search to Master (#405)
* SEARCH-627 & SEARCH-628

- Add implementation for memory indexing
- Batch indexing and Real-time indexing

* ELECTRON-426 (#345)

- Changes innerHTML to innerText
- Removes 'replaceStrongTag' and 'replaceHTMLTags' function and changing to innerHTML to innerText

* SEARCH-764

- Rework "deleteIndexFolders" in the Electron Preload Script
- Fixes the Security Vulnerability

* SEARCH-764

- Updates spectron test preload api version

* SEARCH-766

- Rework "readFile" in Electron Preload Script
- Removing this method as this is only for the demo app

* SEARCH-766

- Removes merge method

* SEARCH-767

- Rework "path" in Electron Preload Script
- Removes the constructor to use hardcoded path

* SEARCH-767

- Updates unit test

* SEARCH-775

- Adds search api version to match with the client app

* SEARCH-775

- Spectron test fix

* SEARCH-770 (#391)

- constructor is required which was removed as part of SEARCH-767
2018-06-27 14:12:16 +05:30
Vishwas Shashidhar
9362b5cf3a fix resize spectron test 2018-06-26 14:46:38 +05:30
thaisym1912
aac37db4a3 AVT-768 Add test "Verify whether the main window can be minimized upto 300px" (#402) 2018-06-22 16:28:04 +05:30
Vishwas Shashidhar
77893192bd update documentation and package configuration 2018-06-05 16:32:51 +05:30
Vishwas Shashidhar
10f1e02c20
ELECTRON-451: add "Symphony Help" item in the "Help" menu (#352) 2018-05-02 13:00:36 +05:30
Vishwas Shashidhar
c1e4016e93
Electron 446: Disable setting custom downloads directory (#349)
- remove feature to set custom downloads directory
- fix formatting
- fix formatting
2018-05-01 13:35:57 +05:30
Kiran Niranjan
a24255bf69 Electron-417 (Reposition active notifications whenever the config is updated) (#339)
- Reposition active notifications when the config is updated
- Fix spectron test cases
2018-04-25 16:31:43 +05:30
Vishwas Shashidhar
2e25c97bec
Electron 380: add share logs support (#333)
- add capabilities to generate log files
- change the location of share logs menu item
- add spectron tests
- add menu item text for windows
- fix issue reported on windows archiving other files
- fix failing spectron tests
- pin archiver dependency version
2018-04-06 13:42:41 +05:30
Vishwas Shashidhar
e449ece7bf
ELECTRON-337: remove dev tools menu item and map the behaviour to global shortcut (#331) 2018-03-29 12:43:54 +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
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
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
Kiran Niranjan
173c2c692a Electron-47 - Renamed error message and added some done() callback 2017-08-02 16:19:27 +05:30