Łukasz Mierzwa
9332c5e4b2
feat(tests): add Alert tests
2018-09-01 22:58:15 +01:00
Łukasz Mierzwa
7e2f1fb446
feat(tests): add annotation tests
2018-09-01 21:59:18 +01:00
Łukasz Mierzwa
1e37a2f130
feat(tests): add GroupFoote snapshot test
2018-09-01 21:23:48 +01:00
Łukasz Mierzwa
2dbbef2f3e
fix(ui): UI doesn't need to calculate which annotation is hidden by default, backend provides this information
2018-09-01 21:20:22 +01:00
Łukasz Mierzwa
4dfd044cc3
feat(tests): add Silence component tests
2018-09-01 19:36:01 +01:00
Łukasz Mierzwa
1550025336
fix(ui): don't hardcode matchers
2018-09-01 10:17:38 +01:00
Łukasz Mierzwa
879276e017
feat(tests): add AlertGroup tests
2018-08-31 23:25:05 +01:00
Łukasz Mierzwa
4b9b1556c9
feat(tests): add AlertGrid test coverage
2018-08-31 21:43:06 +01:00
Łukasz Mierzwa
572f58ea04
fix(ui): no need to wrap this
2018-08-31 21:18:51 +01:00
Łukasz Mierzwa
b1a347592d
feat(tests): add tests for Grid component
2018-08-31 21:00:00 +01:00
Łukasz Mierzwa
eac502df49
fix(tests): add missing MultiSelect coverage
2018-08-31 20:16:49 +01:00
Łukasz Mierzwa
9384fdd42b
fix(ui): pass custom elements and classes instead of overriding default styles
...
Highlight component now takes extra props for wrapping matched part of suggestion, pass span with bold text class to mark it as bold instead of overwriting default mark element with highlight class in css
2018-08-30 23:19:44 +01:00
Łukasz Mierzwa
6952650eeb
feat(tests): add test coverage for FaviconBadge
2018-08-30 22:15:42 +01:00
Łukasz Mierzwa
2858e54663
fix(ui): fix favico.js import src/Components/FaviconBadge/index.js
...
It was failed in tests with *, works well without it
2018-08-30 22:11:01 +01:00
Łukasz Mierzwa
a7e900bd63
feat(tests): more test coverage for MultiSelect
2018-08-30 21:58:02 +01:00
Łukasz Mierzwa
d703fb66aa
fix(ui): remove dead code
...
This function isn't used by react-style, it doesn't match any valid function names, there's singleValue but we don't want break-word on that, it default to truncating too long text
2018-08-30 21:58:02 +01:00
Łukasz Mierzwa
2d64feed17
fix(tests): add missing test coverage for FilterInput
2018-08-30 21:23:40 +01:00
Ł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
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
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
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
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