Commit graph

105 commits

Author SHA1 Message Date
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 60429a9622 Disable dev mode in npm start 2017-03-06 23:43:28 +09:00
Yuya Ochiai d8abb4b9c7 Fix tests 2017-03-06 21:31:17 +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 3bf41ca3e5 Add --data-dir to switch userData directory 2016-12-27 21:19:01 +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 f3ee426ef5 Use electron instead of electron-prebuilt
Now electron-prebuilt is deprecated.
https://github.com/electron-userland/electron-prebuilt/tree/v1.4.2#installation
2016-11-08 00:00:56 +09:00
Yuya Ochiai 16788b5a6f Fix eslint errors 2016-10-28 00:49:52 +09:00
Yuya Ochiai 16a18e64e6 Rewrite .eslintrc.json with extends property 2016-10-28 00:47:49 +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