Iris Scholten
268a6df500
Add test for tasktable sorting
2018-05-16 14:38:23 -07:00
Andrew Watkins
db98e429a6
Update tests and bugfix
2018-04-10 14:26:21 -07:00
Andrew Watkins
c15fa1afe1
Add test for bug
2018-04-10 13:56:53 -07:00
Andrew Watkins
a1a755016f
Move TickscriptSave button to own file
2018-04-09 11:59:00 -07:00
Andrew Watkins
9f4faf6fb5
Disables saveing tickscript if no databases are selected
2018-04-06 17:56:02 -07:00
Andrew Watkins
09ccd3b152
Add test resources
2018-04-06 17:56:02 -07:00
Andrew Watkins
21754a10f9
Convert TickscriptEditor to TypesScript and add initial test
2018-04-06 17:56:02 -07:00
ebb-tide
d2b70acdb0
Implement suggestions from PR review
2018-04-03 12:00:53 -07:00
ebb-tide
fb37c548e2
Add some tests
2018-04-02 17:16:45 -07:00
Jared Scheib
504e6f938e
Make tslint happy for tests
2018-03-22 15:51:54 -07:00
Jared Scheib
2419890f7d
Merge branch 'master' into bugfix/task_enabled_correct_check
2018-03-22 14:08:45 -07:00
Jared Scheib
a741a3f04c
Test that KapacitorRules renders corresponding rule/task rows with same enabled status
2018-03-22 13:09:57 -07:00
Jared Scheib
7f4779b9ba
Refactor KapacitorRules test to share common helpers & schema
2018-03-22 13:01:49 -07:00
Jared Scheib
5e7cbede07
Test that 'change' event on TaskRow calls onChangeRuleStatus on that rule
2018-03-21 16:48:57 -07:00
Jared Scheib
04bfbbfa09
Refactor TasksTable test to per-test shallow
...
Make dedicated describe block props
2018-03-21 16:43:19 -07:00
Jared Scheib
dd46e6e43d
Test that 'change' event on RuleRow calls onChangeRuleStatus on that rule
2018-03-21 16:42:03 -07:00
Jared Scheib
82910d0a19
Remove improper user interaction work-in-progress
...
Enzyme is not intended to test toggling a checkbox.
See https://github.com/airbnb/enzyme/issues/952 .
Test initial render RuleRow.
Make query an optional property in AlertRule definition.
2018-03-21 16:14:20 -07:00
Andrew Watkins
16dfa23477
Add tslint to test runner / watcher
2018-03-21 16:12:42 -07:00
Andrew Watkins
9c1799c50d
Fix linting errors
2018-03-21 16:12:42 -07:00
Jared Scheib
366cf0c7c4
Get rows & props for testing of KapacitorRulesTable & TasksTable
2018-03-21 13:14:52 -07:00
Jared Scheib
8e0ad0432b
Test that KapacitorRules renders one corresponding task row for each rule row
2018-03-21 12:29:26 -07:00
Jared Scheib
317bfd5bfe
WIP Test user interaction toggle of checkboxes
2018-03-20 20:47:49 -07:00
Jared Scheib
b9c7f16cc4
Refactor KapacitorRules.test to use explicit shallow setup
2018-03-20 20:37:05 -07:00
Jared Scheib
2a77a3b776
Prettier
2018-03-20 18:41:45 -07:00
Jared Scheib
2358cce513
Find by component rather than component name in enzyme tests
2018-03-19 16:52:06 -07:00
Jared Scheib
6feb258c64
Merge branch 'master' into bugfix/task_enabled_correct_check
2018-03-16 21:05:01 -07:00
Jared Scheib
a1a40ddc01
Add failing test for KapacitorRules renders both tables rows with unique label FORs
2018-03-16 16:04:04 -07:00
Jared Scheib
4080c31e93
Add failing test for KapacitorRules renders both tables with unique checkbox IDs
2018-03-16 16:03:20 -07:00
Jared Scheib
60897b8bc2
Revert "Test KapacitorRulesTable tr keys to be UUIDv4"
...
This reverts commit 841ae1e60c
.
2018-03-16 14:18:57 -07:00
Jared Scheib
841ae1e60c
Test KapacitorRulesTable tr keys to be UUIDv4
2018-03-14 18:44:51 -07:00
Brandon Farmer
2d08ed0f94
Allow users to use insecure skip verify on kapacitor
...
Co-authored-by: Brandon Farmer<bthesorceror@gmail.com>
Co-authored-by: Andrew Watkins<andrew.watkinz@gmail.com>
2018-03-14 17:23:34 -07:00
Jared Scheib
b71faa7a37
Remove unused jest in Kapacitor tests
2018-03-14 17:18:29 -07:00
Jared Scheib
2d13bc23c3
Add initial enzyme test for component KapacitorRulesTable render
2018-03-14 17:17:16 -07:00
Jared Scheib
fc4b58be89
Add initial enzyme test for component TasksTable render
2018-03-14 17:16:11 -07:00
Jared Scheib
7b729697ad
Clean up
2018-03-14 16:53:58 -07:00
Jared Scheib
9f1a7963f4
Remove unused jest.mock
2018-03-14 16:51:33 -07:00
Jared Scheib
d42852f8b9
Remove unused override var
2018-03-14 16:50:24 -07:00
Jared Scheib
311a196afe
Remove unused imports
2018-03-14 16:48:15 -07:00
Jared Scheib
4986159c87
Split KapacitorRules render test into two tests
2018-03-14 16:46:40 -07:00
Jared Scheib
ebd33f0a5d
Test KapacitorRules to render KapacitorRulesTable & TasksTable
2018-03-14 16:32:23 -07:00
Jared Scheib
7fccddfcb4
Test KapacitorRules to render two tables
2018-03-14 16:17:00 -07:00
Jared Scheib
6f6e5136d5
Add initial passing enzyme test for KapacitorRules render
2018-03-14 16:06:34 -07:00
Andrew Watkins
7f04f5c5e6
Change publishNotification to notify
2018-03-14 15:26:09 -07:00
Andrew Watkins
466a6e47c6
Cleanup errors
2018-03-14 14:49:01 -07:00
Alex P
19d2019f73
WIP replace addFlashMessage with publishNotification
2018-03-14 10:31:03 -07:00
Andrew Watkins
fae3766952
Add test for resetting KapacitorForm
2018-03-13 10:13:04 -07:00
Andrew Watkins
376556201b
Cleanup
2018-03-13 10:13:04 -07:00
Andrew Watkins
3f69abb9af
Add more tests
2018-03-13 10:13:04 -07:00
Andrew Watkins
e46690ce09
Make breath
2018-03-13 10:11:11 -07:00
Andrew Watkins
0a36ecb15e
WIP refactor of KapacitorForm
2018-03-13 10:11:11 -07:00