Łukasz Mierzwa
|
e1bb3d6548
|
refactor(ui): store suggestion fetch result so we can use it in tests
|
2018-08-30 21:09:43 +01:00 |
|
Łukasz Mierzwa
|
13130f187a
|
fix(ui): override styles used by new react-autosuggest
|
2018-08-30 21:09:10 +01:00 |
|
Łukasz Mierzwa
|
268a5bbcc1
|
fix(ui): drop useless check
This check doesn't seem to get trigger, can't simulate 'enter' method in any way
|
2018-08-30 20:15:19 +01:00 |
|
Łukasz Mierzwa
|
c0131758d2
|
fix(ui): drop check for storedIndex since we check for filter mismatch before reaching there
Add a check to validate that filters are marked as applied after fetch
|
2018-08-30 20:09:43 +01:00 |
|
Łukasz Mierzwa
|
c0edb03bb4
|
Revert "fix(ui): remove dead code"
This reverts commit e795cbf3e9.
This code updates filters, so it's needed, it's just the final check that's not.
|
2018-08-30 20:03:22 +01:00 |
|
Łukasz Mierzwa
|
24097ce041
|
fix(ui): always require a label
All code using Duration component is passing label prop, no need to make it optional
|
2018-08-29 23:52:43 +01:00 |
|
Łukasz Mierzwa
|
c6acd70f0d
|
feat(tests): add tests covering special minute value adjustement logic
|
2018-08-29 23:38:40 +01:00 |
|
Łukasz Mierzwa
|
ec16a1cbce
|
fix(ui): fix duration minute decrease handling
Negative adjustment needs a different logic than positive one
|
2018-08-29 23:38:14 +01:00 |
|
Łukasz Mierzwa
|
e7b17f5326
|
feat(tests): add more tests for DateTimeSelect
|
2018-08-29 23:07:31 +01:00 |
|
Łukasz Mierzwa
|
3b680d9217
|
feat(tests): export internal components so we can unit test them directly
|
2018-08-29 22:32:14 +01:00 |
|
Łukasz Mierzwa
|
edba052ecd
|
feat(tests): add basic tests for DateTimeSelect
|
2018-08-29 21:17:31 +01:00 |
|
Łukasz Mierzwa
|
241cd2fa08
|
feat(tests): add test coverage for AlertManagerInput
|
2018-08-29 21:17:31 +01:00 |
|
Łukasz Mierzwa
|
dcff54f1ae
|
feat(tests): add tests for SilenceSubmitProgress
|
2018-08-29 21:17:31 +01:00 |
|
Łukasz Mierzwa
|
fdb01d39f1
|
fix(ui): fix typos and make code more testable
|
2018-08-29 21:17:31 +01:00 |
|
Łukasz Mierzwa
|
d8496418fc
|
feat(tests): add test coverage for SilenceMatch
|
2018-08-27 17:28:21 +01:00 |
|
Łukasz Mierzwa
|
65aa0ac30b
|
feat(tests): add tests for SilenceSubmitController
|
2018-08-27 17:14:54 +01:00 |
|
Łukasz Mierzwa
|
1d5c33b686
|
fix(ui): remove debug logs
|
2018-08-27 17:14:37 +01:00 |
|
Łukasz Mierzwa
|
ba4a38e87e
|
feat(tests): test coverage for label inputs
|
2018-08-27 17:06:15 +01:00 |
|
Łukasz Mierzwa
|
1492d48278
|
fix(ui): remove duplicated code and export functions for testing
|
2018-08-27 17:05:59 +01:00 |
|
Łukasz Mierzwa
|
b2a0e27cbe
|
fix(tests): add tests for matcher delete button visibility
|
2018-08-27 15:19:36 +01:00 |
|
Łukasz Mierzwa
|
fcfb4d805a
|
feat(tests): more test coverage for SilenceModal
|
2018-08-27 15:19:36 +01:00 |
|
Łukasz Mierzwa
|
5432fee94b
|
fix(tests): add coverage for empty string rendering
|
2018-08-27 15:19:36 +01:00 |
|
Łukasz Mierzwa
|
dac3637f87
|
feat(tests): more test coverage for SilenceFormStore
|
2018-08-27 15:19:36 +01:00 |
|
Łukasz Mierzwa
|
a65c812669
|
fix(ui): remove duplicated actions
|
2018-08-27 15:19:36 +01:00 |
|
Łukasz Mierzwa
|
dced537adb
|
feat(tests): add missing navbar test for resize events
|
2018-08-27 15:19:36 +01:00 |
|
Łukasz Mierzwa
|
10f841c7de
|
refactor(tests): missing test coverage
|
2018-08-27 15:19:36 +01:00 |
|
Łukasz Mierzwa
|
2f04d61abe
|
refactor(tests): migrate tests to enzyme
|
2018-08-27 15:19:36 +01:00 |
|
Łukasz Mierzwa
|
a99b453337
|
feat(tests): add tests for SilencePreview
|
2018-08-27 15:19:36 +01:00 |
|
Łukasz Mierzwa
|
3dfeb7e360
|
feat(tests): add tests for the root SilenceModal component
|
2018-08-27 15:19:36 +01:00 |
|
Łukasz Mierzwa
|
1860394743
|
feat(tests): add missing tests for main modal
|
2018-08-27 15:19:36 +01:00 |
|
Łukasz Mierzwa
|
af65a988b5
|
feat(tests): add silenceFormStore tests
|
2018-08-25 18:27:49 +01:00 |
|
Łukasz Mierzwa
|
e946b54c1a
|
fix(tests): remove duplicated helper, add missing test
|
2018-08-25 17:36:13 +01:00 |
|
Łukasz Mierzwa
|
e795cbf3e9
|
fix(ui): remove dead code
We check if filters match just before this loop
|
2018-08-25 17:35:51 +01:00 |
|
Łukasz Mierzwa
|
e886939bcb
|
feat(tests): move early code to AppBoot, add tests for it
|
2018-08-25 17:26:41 +01:00 |
|
Łukasz Mierzwa
|
621ea0745f
|
feat(tests): add App component tests
|
2018-08-25 17:26:41 +01:00 |
|
Łukasz Mierzwa
|
26fac070b2
|
feat(tests): filter input tests
|
2018-08-24 18:44:54 +01:00 |
|
Łukasz Mierzwa
|
13b364a0d4
|
feat(tests): test handleClickOutside() behaviour
|
2018-08-24 17:04:30 +01:00 |
|
Łukasz Mierzwa
|
d7088b5093
|
feat(tests): add history menu item click test
|
2018-08-24 09:48:03 +01:00 |
|
Łukasz Mierzwa
|
713ff7f779
|
feat(tests): add history action buttons tests
|
2018-08-24 09:40:15 +01:00 |
|
Łukasz Mierzwa
|
648a85ef28
|
feat(tests): add history dropdown menu tests
|
2018-08-23 23:59:54 +01:00 |
|
Łukasz Mierzwa
|
5b253c2adc
|
fix(ui): labels in the history menu should render with whatever matcher was used for the filter
|
2018-08-23 23:59:32 +01:00 |
|
Łukasz Mierzwa
|
29847a97d4
|
feat(tests): add history dropdown visibility test
|
2018-08-23 21:46:43 +01:00 |
|
Łukasz Mierzwa
|
464e92e76d
|
refactor(tests): switch to enzyme
enzyme does everything skin-deep does and more, should cover more use cases
|
2018-08-23 20:52:39 +01:00 |
|
Łukasz Mierzwa
|
3713703331
|
feat(tests): more test coverage for the history dropdown
|
2018-08-23 19:19:20 +01:00 |
|
Łukasz Mierzwa
|
39f0fd3708
|
feat(tests): more test coverage for the main modal
|
2018-08-23 15:12:59 +01:00 |
|
Łukasz Mierzwa
|
bd99ef8b51
|
feat(tests): add test coverage for the main modal
|
2018-08-23 14:32:23 +01:00 |
|
Łukasz Mierzwa
|
35d95b46e6
|
feat(tests): navbar shallow render tests using skin-deep
|
2018-08-23 08:20:20 +01:00 |
|
Łukasz Mierzwa
|
74662aed86
|
refactor(ui): change multi select background color to 'dark'
|
2018-08-22 21:04:36 +01:00 |
|
Łukasz Mierzwa
|
b4cbb0d8d5
|
feat(tests): all label classes are now tested
|
2018-08-22 19:32:05 +01:00 |
|
Łukasz Mierzwa
|
7d5e957453
|
refactor(tests): dedup some code, add more label test coverage
|
2018-08-22 16:22:07 +01:00 |
|