Commit graph

137 commits

Author SHA1 Message Date
Yuya Ochiai 197b172a59 Fix eslint errors 2018-02-23 00:37:24 +09:00
Yuya Ochiai a5a5393149
Merge pull request #711 from yuya-oc/upgrade-electron
Upgrade Electron
2018-02-23 00:15:11 +09:00
Jesse Hallam 620c5484e3
invoke yarn fix:js to adopt the updated eslint rules. No other changes are included. 2018-02-21 14:21:16 -05:00
Yuya Ochiai 054b6e2dd8 Fix nested promises 2018-02-14 23:17:08 +09:00
Yuya Ochiai 6dd4754b19 Tweak pause duration of failing test 2018-02-14 22:51:52 +09:00
Yuya Ochiai 54c4cffa9a Use valid URL in test 2018-02-08 21:46:12 +09:00
Yuya Ochiai d5773b138b Wait unselected team disappears in test 2018-02-07 21:33:51 +09:00
Yuya Ochiai d3e43bb8e6 Rewrite tests with non-nested promises 2018-02-07 21:33:50 +09:00
Yuya Ochiai 92f56ce2d3 Fix tests which use AutoSaveIndicator 2018-02-07 21:33:50 +09:00
Yuya Ochiai 88e6dd9de0 Fix tests with proper promise chain 2018-02-07 21:33:50 +09:00
Yuya Ochiai 5eafe2e7fb Show permissions dialog only for untrusted origins 2017-12-05 00:59:54 +09:00
Yuya Ochiai baf0022892 Add test for splitted config files 2017-11-07 21:42:05 +09:00
Yuya Ochiai 65286a6454 Clean up test userData before each test 2017-11-07 21:42:05 +09:00
Yuya Ochiai ef43ec6e3e Add test for PermissionManager 2017-11-07 21:03:36 +09:00
Yuya Ochiai 616465748b Use a Mattermost animation icon when loading a page in the app 2017-11-07 20:48:15 +09:00
Yuya Ochiai 5a8a1e3b3c Extend waitForVisiable timeout for AutoSaveIndicator 2017-10-26 23:54:15 +09:00
Yuya Ochiai ab3bd97a52 Fix an issue where the combination of deepmerge and webpack breaks tests 2017-10-17 00:05:02 +09:00
David Meza 76ced43a68 Changes to have settings tests pass. test/specs/settings_test.js 2017-09-29 11:14:01 -05:00
Yuya Ochiai 98077784ec Extend test timeout to stabilize CI 2017-09-23 15:13:39 +09:00
Yuya Ochiai 1f86fbc18a Fix close button not working when the number of teams is not zero 2017-07-01 23:46:45 +09:00
Yuya Ochiai 2307b3ca6a Fix alignment for 'Add new server' button 2017-05-31 20:33:12 +09:00
Yuya Ochiai c333f7b87b Enable spellchecker as default setting
The language should be determined by user's locale.
If it's not available in spellchecker, en-US is used.
2017-05-03 20:53:33 +09:00
Yuya Ochiai 85bd58dd2e Skip window title tests because they are very unstable 2017-04-28 00:47:39 +09:00
Yuya Ochiai 9f5ee581ab Add small pausing before testing window title to stabilize tests 2017-04-28 00:16:31 +09:00
Yuya Ochiai 256e317402 Add context menu to select spelling language 2017-04-27 20:26:37 +09:00
Yuya Ochiai 84d0ec432a Implement simple spellchecker 2017-04-26 00:12:23 +09:00
Yuya Ochiai 7e12e64c31 Fix tests due to webview indices 2017-04-18 23:52:03 +09:00
Yuya Ochiai 96b5122988 Stop using chai-as-promised due to its license
For #488
2017-03-29 01:03:52 +09:00
Yuya Ochiai f08db8c72b Remove "Display secure content only" option
allowDisplayingInsecureContent is removed in Electron 1.6.
And it's no longer necessary to show http contents in https server.
2017-03-18 21:33:51 +09:00
Yuya Ochiai b1d586e9da Remove nodeIntegration warning of webview in BrowserWindow
nodeintegration attribute is ignored in React because it's unknown.
So fortunately the integration is not working.
New 'will-attach-webview' allows us to set nodeIntegration = false.
2017-03-18 20:58:32 +09:00
Yuya Ochiai f7bcfa04f2 Add test for tray icon theme 2017-03-15 22:45:11 +09:00
Yuya Ochiai 8376ffe4cc Add pause() to stabilize tests 2017-03-03 21:08:14 +09:00
Jason Blais caede34a8c Update settings_test.js 2017-02-22 10:25:14 -05:00
Yuya Ochiai 8acd7b99e7 Show "Saving..." for 0.5 seconds and show error if it occurred 2017-02-17 20:55:43 +09:00
Yuya Ochiai f2e26ec276 Fix tests for auto-saving 2017-02-17 20:50:50 +09:00
Yuya Ochiai e89ecf3120 Fix test assertion 2017-02-17 20:40:54 +09:00
Yuya Ochiai efe95bb72b Add test on cliecking server list item 2017-02-17 20:40:54 +09:00
Yuya Ochiai e4d1ab2938 Merge pull request #428 from yuya-oc/app-options
Improve messages and options in "App Options" section
2017-02-17 19:52:14 +09:00
Yuya Ochiai 9d2efeabdd Show NewServerModal when no servers exist in SettingsPage 2017-02-13 20:23:02 +09:00
Yuya Ochiai 6488270036 Update tests for latest options 2017-02-10 21:14:14 +09:00
Yuya Ochiai f5320197ab Remove options to be deprecated 2017-02-10 21:14:13 +09:00
Yuya Ochiai c76797e68e Merge pull request #415 from jnugh/ux-manage-servers
Ux manage servers
2017-02-10 20:19:27 +09:00
Jonas Schwabe 63fe562349 Animate NewTeamModal close 2017-02-03 22:01:37 +01:00
Yuya Ochiai ca5632342e Re-enable window.eval()
Close #333
2017-02-03 23:32:23 +09:00
Jonas Schwabe c36f7f795d Only validate new team modal input when save has been clicked 2017-01-30 20:45:47 +01:00
Jonas Schwabe 8f3f59392d Add specs for new team modal 2017-01-30 20:26:11 +01:00
Yuya Ochiai 06569df3e3 Add tests for RemoveServerModal 2017-01-25 00:06:42 +09:00
Yuya Ochiai ed8205e7e8 Fix test 2016-12-27 23:29:52 +09:00
Yuya Ochiai 0e6ba99e36 Add test for #378 and #386 2016-12-27 22:10:53 +09:00
Yuya Ochiai 1752cec20d Use latest react-bootstrap 2016-11-23 21:11:04 +09:00
Jonas Schwabe b715637136 Update settings specs to check for the webpreferences attribute 2016-11-22 21:19:44 +01:00
Yuya Ochiai 16788b5a6f Fix eslint errors 2016-10-28 00:49:52 +09:00
Yuya Ochiai 1a7ff7c88f Update tests to stablize on local machines
makeSingleInstance test:
  On Windows, the test often fails, so skipped.

Window title test:
  Extend pause duration to wait updating title.
2016-09-29 19:42:55 +09:00
Yuya Ochiai 7cc495130f Fix typo 2016-09-14 00:35:19 +09:00
Yuya Ochiai 8870863955 Fix the test can't click input elements
Needed to scroll to the element when it's not visible in the view.
2016-09-13 23:53:07 +09:00
Yuya Ochiai c6ebf4ff36 Prettify codes 2016-09-13 01:02:11 +09:00
Asaad Mahmood 71ab644aeb UI Improvements for settings page 2016-09-12 20:53:45 +05:00
Yuya Ochiai 5d9c74e8bd Merge pull request #247 from jgis/master
Force single app instance

Close #236
2016-08-22 00:17:29 +09:00
Julian Gisser 8f633cb734 merge with make-single-app-instance branch 2016-08-21 09:49:14 +02:00
Yuya Ochiai 6fe23cb136 Add tests for window title 2016-08-20 22:45:30 +02:00
Yuya Ochiai eac17decf6 Merge branch 'security-improvements'
For #220
2016-08-09 01:11:06 +09:00
Yuya Ochiai ce6cf485f6 Implementation and further tests for #220 2016-08-09 00:04:36 +09:00
Kolja Lampe 51d828aa1a Make unread badge configurable 2016-07-28 18:00:15 +02:00
Kolja Lampe 54849d6859 Added two security improvements as mentioned at http://electron.atom.io/docs/all/#checklist 2016-07-24 22:44:38 +02:00
Jonas Schwabe 028d0ac7f8 implements #122, urgent hint on linux 2016-07-23 14:03:53 +02:00
Yuya Ochiai ad7f63127f Add feature to hide window into system tray in Linux 2016-07-06 22:31:35 +09:00
Martin Gondermann 2b4ee5f0bc Readded the Option to hide the window on close for OSX 2016-07-03 16:12:04 +02:00
Martin Gondermann 2919b1af5f Removed option to minimize to tray, this is now the default behaviour 2016-07-03 14:58:48 +02:00
Martin Gondermann 865b08105a OSX: Added Option to hide Window from dock on close 2016-06-30 22:17:31 +02:00
Martin Gondermann 3daaabca65 Add test for toggle setting 2016-06-28 15:09:05 +02:00
Martin Gondermann d6de73458c MinimizeToTray-Setting is only shown on Windows 2016-06-27 09:36:22 +02:00
Yuya Ochiai f5e28e2739 Execute testing js code directly with webdriverio API 2016-06-25 22:46:14 +09:00
Yuya Ochiai 9e6d6fcfdb Wait until a new window is opened 2016-06-25 22:09:37 +09:00
Yuya Ochiai 98b6ce8760 Extend pause 2016-06-25 21:42:03 +09:00
Yuya Ochiai b6e975aa21 Add assertion to confirm Node.js is disabled in rederer by executing require() 2016-06-25 21:21:10 +09:00
Yuya Ochiai 7fc963125a Add test to confirm Node.js is disabled in a new window 2016-06-25 18:46:23 +09:00
Yuya Ochiai b22c1eb2aa Add test to confirm Node.js API is disabled in webview 2016-06-25 18:04:33 +09:00
Yuya Ochiai 08aca0f235 Improve the way to skip tests on specific condition 2016-06-25 17:05:56 +09:00
Yuya Ochiai 580bebdc66 Combine save/load tests 2016-06-23 21:02:08 +09:00
Yuya Ochiai 4fca00ec9d Add tests for settings 2016-06-23 00:03:04 +09:00
Yuya Ochiai f432846a28 Modify test-code style for 'Hide Manu Bar' 2016-06-22 00:35:04 +09:00
Yuya Ochiai 2347d5e299 Add tests for disablewebsecurity (Allow mixed contents) 2016-06-22 00:33:14 +09:00
Yuya Ochiai e9f8140594 Rewrite tests with chai-as-promised 2016-06-06 21:18:25 +09:00
Yuya Ochiai 05bcda5eab Test actual behavior for Hide Menu Bar 2016-05-21 20:57:59 +09:00
Yuya Ochiai b52dfa5348 Use Spectron to execute test 2016-05-21 18:08:53 +09:00
Yuya Ochiai a199f09216 Add tests for hideMenuBar 2016-05-03 00:42:13 +09:00
Yuya Ochiai 47486d8b8e Rearrange test directory 2016-05-02 22:45:56 +09:00