Commit Graph

130 Commits

Author SHA1 Message Date
Yuya Ochiai
15bd3acc0c Scroll to the target element before clicking in test 2018-05-18 00:38:43 +09:00
Yuya Ochiai
8edd57dd0c Fix test assertion due to changed default option 2018-05-15 21:37:09 +09:00
Yuya Ochiai
e8e60beff2 Tweak timeout 2018-04-12 23:01:46 +09:00
Yuya Ochiai
0b150ee60a Tweak timeout 2018-04-12 22:40:38 +09:00
Yuya Ochiai
8432a1ec16 Fix tests 2018-04-10 22:00:31 +09:00
Yuya Ochiai
60e6058869 Use ES6 import/export for modules 2018-04-10 22:00:30 +09:00
Yuya Ochiai
4586704238 Fix test for gpu option 2018-04-03 21:53:37 +09:00
Yuya Ochiai
570b256da9 Stop using scroll in test 2018-03-21 00:02:13 +09:00
Yuya Ochiai
b737e63f68 Add "Enable GPU hardware acceleration" option 2018-03-21 00:02:13 +09:00
Yuya Ochiai
aa5e6563fe Tweak pause of modal tests 2018-03-16 20:17:33 +09:00
Yuya Ochiai
75116e66d8 Merge pull request #731 from yuya-oc/fix-spellchecker
Fix correct spellchecker locale is not selected for non en-US locales
2018-03-16 00:12:31 +09:00
Yuya Ochiai
a0ab0255d6 Make sure SpellCheker.getSpellCheckerLocale() returns correct locale 2018-03-14 23:34:34 +09:00
Yuya Ochiai
0be402be81 Rewrite tests with async/await 2018-03-14 21:55:20 +09:00
Yuya Ochiai
12f240d196 Add showTrayIcon test for Mac and Linux 2018-02-27 20:00:49 +09:00
Yuya Ochiai
75b34927b9 Tweak pause duration of failing test 2018-02-23 20:29:44 +09:00
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
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