Dean Whillier
e12d47ea62
Mm 16694 master validate urls ( #1000 )
...
* validate urls before deeplink or link click
* tests for isValidURL utility function
* review change - invert condition
* add validation for loaded files
bounds-info.json, app-state.json, config.json
* further validation and tweaks
certificate.json, permission.json
* add 2 more files for validation
* parse and validate deeplinks
- includes fix for windows deeplink when app is open
* disable auto-updator when in dev
* Squirrel is not used anymore
* fix validating allowedProtocols
* discard any args following a deeplink url
* tweaks
* update test
* support scheme’s with and without slashes
* stop after finding the first occurance of a deep link
* test updates
* updates to run tests successfully
* port updates to validation from 4.2
* url validation updates
changed validation package to better support internal domains and punycode domains
2019-09-09 12:38:31 -04:00
Dean Whillier
4137d0ea23
[MM-14740] Consolidate configuration to support integration of MSI/GPO ( #959 )
...
* config logic consolidation
* filter out duplicate servers
* build default teams and GPO teams are not editable
* tweaks
* tweak config architecture to support tests
- config needs to load in each process (main and renderer) and then synchronize with each other
- finished saving ui functionality
* add esdoc comments to new config module
* remove old config-related files
* revert eslint comment
* don’t filter teams, duplicates are allowed
* some code review tweaks
* Remove unecessary deepCopy
* tweak for tests
* Skip test for now
Can’t seem to get this test to work, even though what is being tested works fine in the actual app.
* fix for failing test
click of ‘light’ option wasn’t triggering an update as it is selected by default, so flipped the order to first select ‘dark’ and then ‘light’
2019-04-11 13:58:30 +02:00
Yuya Ochiai
de03d513d0
Tweak timeout to fix failing test
2019-01-07 23:17:43 +09:00
Yuya Ochiai
70b3aa0531
Fix or skip broken tests
...
When there is navigation with #btnClose, all APIs would fail.
So such tests are marked as "skipped".
2018-11-13 22:51:00 +09:00
Yuya Ochiai
37b71476d2
Fix ESLint header/header error
2018-05-31 00:30:24 +09:00
Yuya Ochiai
1c9c531826
Tweak pausing in NewServerModal test
2018-05-26 00:23:28 +09:00
Yuya Ochiai
6b7dd6616a
Resize test window to click target element
2018-05-25 21:10:16 +09:00
Yuya Ochiai
0a673bc0cd
Resize the window to click the center of body in test
2018-05-24 01:40:53 +09:00
Yuya Ochiai
11b5bc16c2
Manually calculate scroll offset in test
2018-05-24 01:40:53 +09:00
Yuya Ochiai
fd801b0f25
Tweak waiting for animation in test
2018-05-24 01:38:28 +09:00
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
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
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
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
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
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
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
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