Andrew Watkins
8145c25104
Remove irrelevant tests
2018-10-30 14:17:18 -07:00
Andrew Watkins
5983ef2dfc
Display kapacitor name and url in header
2018-10-30 13:41:59 -07:00
Deniz Kusefoglu
7e2c7877bb
Add validation to Alert Rule message templates
2018-09-24 10:52:34 -07:00
Christopher Henn
c4684151b0
Fix all existing type errors
2018-07-25 12:37:30 -07:00
Andrew Watkins
5da4cf9e4c
Add test for bug
2018-07-12 09:05:02 -07:00
Alex P
722d75a2a0
Move PageHeader and associated components into reusable UI directory
2018-06-28 10:34:41 -07:00
Alex P
6e220c1672
Provide mock context in test to prevent fail
2018-06-19 15:06:21 -07:00
Alex P
aa4a6461b6
Remove only from test
2018-06-19 13:47:00 -07:00
Alex P
a3c3fc6e1e
fix nesting issue in test
2018-06-19 11:29:56 -07:00
Alex P
913239bf7c
Fix nesting issue in test
2018-06-19 11:29:45 -07:00
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