Commit graph

23 commits

Author SHA1 Message Date
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 596f3a8721 Fix failing tests
Setting filename to window.location is no longer working.
2019-02-05 00:08:03 +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 8432a1ec16 Fix tests 2018-04-10 22:00:31 +09:00
Yuya Ochiai 0be402be81 Rewrite tests with async/await 2018-03-14 21:55:20 +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 d3e43bb8e6 Rewrite tests with non-nested promises 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 65286a6454 Clean up test userData before each test 2017-11-07 21:42:05 +09:00
Yuya Ochiai 98077784ec Extend test timeout to stabilize CI 2017-09-23 15:13:39 +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 9d2efeabdd Show NewServerModal when no servers exist in SettingsPage 2017-02-13 20:23:02 +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 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
Julian Gisser 8f633cb734 merge with make-single-app-instance branch 2016-08-21 09:49:14 +02:00
Yuya Ochiai e9f8140594 Rewrite tests with chai-as-promised 2016-06-06 21:18:25 +09:00
Yuya Ochiai b52dfa5348 Use Spectron to execute test 2016-05-21 18:08:53 +09:00
Yuya Ochiai 47486d8b8e Rearrange test directory 2016-05-02 22:45:56 +09:00