Iris Scholten
aad5bce052
add test for processing TableGraph data
2018-03-26 12:21:33 -07:00
Iris Scholten
1939c674ac
add tests for timeSeriesToTableGraph function
2018-03-26 11:24:05 -07:00
Iris Scholten
39674cab19
fix prettier errors
2018-03-26 09:54:02 -07:00
Iris Scholten
5789f41b7c
update getters in TableOptions.test
2018-03-23 18:39:45 -07:00
Iris Scholten
3550b21106
update GraphOptionsCustomizeFields.test
2018-03-23 17:56:23 -07:00
Iris Scholten
efccecad72
update GraphOptionsCustomizableField.test
2018-03-23 17:53:34 -07:00
Iris Scholten
32ddfa7c0b
add tests for GraphOptionsFixFirstColumn
2018-03-23 17:42:39 -07:00
Iris Scholten
51fc44d50f
move tooltip for time format link to constants and update time format tests
2018-03-23 17:28:55 -07:00
Iris Scholten
5d62e4a059
update GraphOptionsSortBy.test
2018-03-23 17:13:21 -07:00
Iris Scholten
1723292504
update GraphOptionsTimeFormat.test
2018-03-23 16:10:33 -07:00
Jared Scheib
0bce2598eb
Merge pull request #3006 from influxdata/bugfix/task_enabled_correct_check
...
Fix Kapacitor Rules task enabled checkboxes to only toggle exactly as clicked
2018-03-23 10:48:41 -07:00
Alex P
e2bddbadb3
Implement FancyScrollbar in Customize Fields list
2018-03-22 18:54:16 -07:00
Jared Scheib
385c892f6a
Make tslint happy for tests
2018-03-22 15:51:54 -07:00
Jared Scheib
8d915cebc3
Merge branch 'master' into bugfix/task_enabled_correct_check
2018-03-22 15:12:22 -07:00
Jared Scheib
e4088ce61a
Merge branch 'master' into bugfix/task_enabled_correct_check
2018-03-22 14:08:45 -07:00
Iris Scholten
098e060ecb
fix tslint alphabetizing errors
2018-03-22 13:20:00 -07:00
Jared Scheib
67e3c92077
Test that KapacitorRules renders corresponding rule/task rows with same enabled status
2018-03-22 13:09:57 -07:00
Jared Scheib
c9525b22b0
Refactor KapacitorRules test to share common helpers & schema
2018-03-22 13:01:49 -07:00
Iris Scholten
b58354f144
remove graph options test wrapping from tableoptions test
2018-03-22 12:47:41 -07:00
Iris Scholten
649f221b34
Merge branch 'master' into feature/table-hide-series
2018-03-21 18:31:39 -07:00
Andrew Watkins
bba6cd4012
Prettier fixes
2018-03-21 16:59:15 -07:00
Jared Scheib
5e40cf4e6d
Test that 'change' event on TaskRow calls onChangeRuleStatus on that rule
2018-03-21 16:48:57 -07:00
Jared Scheib
6c76e2b4f4
Refactor TasksTable test to per-test shallow
...
Make dedicated describe block props
2018-03-21 16:43:19 -07:00
Jared Scheib
e3be0cd95f
Test that 'change' event on RuleRow calls onChangeRuleStatus on that rule
2018-03-21 16:42:03 -07:00
Jared Scheib
a95b8543c3
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
25809f53e2
Add tslint to test runner / watcher
2018-03-21 16:12:42 -07:00
Andrew Watkins
7373931257
Fix linting errors
2018-03-21 16:12:42 -07:00
Jared Scheib
90e0aa1a01
Get rows & props for testing of KapacitorRulesTable & TasksTable
2018-03-21 13:14:52 -07:00
Jared Scheib
a411e7d2ba
Test that KapacitorRules renders one corresponding task row for each rule row
2018-03-21 12:29:26 -07:00
Jared Scheib
68bc9df652
WIP Test user interaction toggle of checkboxes
2018-03-20 20:47:49 -07:00
Jared Scheib
06adacdcee
Refactor KapacitorRules.test to use explicit shallow setup
2018-03-20 20:37:05 -07:00
Jared Scheib
25409b232e
Prettier
2018-03-20 18:41:45 -07:00
Jared Scheib
3405aad54c
Add kapacitor rule test resource that has no query
2018-03-20 18:40:44 -07:00
Iris Scholten
4d10b9f6ea
merge master and fix minor bugs
...
Co-authored-by: Deniz Kusefoglu <deniz@influxdata.com>
2018-03-20 18:30:08 -07:00
Iris Scholten
668cf2175f
update tableoptions.test with visible
2018-03-20 17:24:34 -07:00
Iris Scholten
c644c77364
add renamed files from columnNames to fieldName changes
2018-03-20 17:24:34 -07:00
Iris Scholten
d8daddde8f
update columnNames to fieldNames and columns to fields in front end for tablegraphs
2018-03-20 17:24:34 -07:00
Iris Scholten
03e884e2d6
update GraphOptionsCustomizableColumn.test with visible prop and toggling it
2018-03-20 17:08:56 -07:00
Iris Scholten
fede364f88
connect tableOptions field visibility toggle to tableGraph
2018-03-20 17:08:56 -07:00
Alex P
596f7818ea
update FFC test
...
Co-authored-by: Iris Scholten <iris@influxdata.com>
2018-03-20 16:28:23 -07:00
Iris Scholten
50e0cb12ef
update and add tests for fixfirstcolumn logic
2018-03-19 18:20:17 -07:00
Jared Scheib
6002526fd6
Remove unused UUID string validator & test
2018-03-19 17:04:43 -07:00
Jared Scheib
2b026d8660
Find by component rather than component name in enzyme tests
2018-03-19 16:52:06 -07:00
Brandon Farmer
e4105a39b1
Fixes typescript compile type error
2018-03-18 19:31:35 -07:00
Brandon Farmer
09cebf7000
Add test from display value of selected
2018-03-18 18:17:33 -07:00
Jared Scheib
9e9f566996
Merge branch 'master' into bugfix/task_enabled_correct_check
2018-03-16 21:05:01 -07:00
Brandon Farmer
19d7dc35ed
Sort table graphs in cell editor overlay
2018-03-16 17:46:45 -07:00
Jared Scheib
4ed4be638d
Add failing test for KapacitorRules renders both tables rows with unique label FORs
2018-03-16 16:04:04 -07:00
Jared Scheib
eeda415eb7
Add failing test for KapacitorRules renders both tables with unique checkbox IDs
2018-03-16 16:03:20 -07:00
Jared Scheib
9cfac3450c
Add more kapacitor rules test data
2018-03-16 14:37:03 -07:00
Jared Scheib
54266c094a
Revert "Test KapacitorRulesTable tr keys to be UUIDv4"
...
This reverts commit bd6674859c
.
2018-03-16 14:18:57 -07:00
Alex Paxton
e36ed6c17d
Merge pull request #2993 from influxdata/feature/table-thresholds
...
Add Color Thresholds to Table Graphs
2018-03-16 12:44:20 -07:00
Andrew Watkins
49936b0add
Merge pull request #3001 from influxdata/chore/chronograf-admin-ts
...
Conversion of AllUsersPage to TypeScript add initial test
2018-03-16 10:52:02 -07:00
Alex P
ee40e69c09
Merge branch 'master' into feature/table-thresholds
2018-03-16 10:51:14 -07:00
Andrew Watkins
dd9cf88aab
Introduce AllUsersPage test
2018-03-15 16:44:18 -07:00
Iris Scholten
27168d8c14
Merge pull request #2996 from influxdata/feature/table-graph-series-renaming
...
Table Graph Series/Column renaming
2018-03-15 16:27:47 -07:00
Alex P
03a0149fb0
Add new prop to test
2018-03-14 22:26:23 -07:00
Alex P
886d640434
rename singleStatColors to thresholdsListColors
2018-03-14 22:08:26 -07:00
Alex P
b9858a73b9
Rename single stat constants to match thresholds naming scheme
2018-03-14 21:20:22 -07:00
Alex P
72ccbc1d2f
rename singleStatType to thresholdsListType
...
going for a more generic and future proof naming scheme
2018-03-14 21:13:20 -07:00
Alex P
904a9f7ee3
Use ThresholdsColorToggle in TableOptions
2018-03-14 21:02:13 -07:00
Alex P
104b886b2a
Update table options test
2018-03-14 20:57:55 -07:00
Alex P
4405d0801e
Merge branch 'master' into feature/table-thresholds
2018-03-14 20:38:56 -07:00
Jared Scheib
bd6674859c
Test KapacitorRulesTable tr keys to be UUIDv4
2018-03-14 18:44:51 -07:00
Jared Scheib
a81fa3c01e
Add string validator & tests for UUIDv4
2018-03-14 18:31:09 -07:00
Iris Scholten
cab2515d53
fix typo in CustomizeColumns test
2018-03-14 18:21:53 -07:00
Iris Scholten
2c7c1e7c4e
create component test for GraphOptionsCustomizeColumns
2018-03-14 18:17:32 -07:00
Iris Scholten
f767340101
update columnNames in the redux store and connect them to TableGraphs
2018-03-14 17:46:42 -07:00
Andrew Watkins
0e57c8f2eb
Add insecureSkipVerify to default kapacitor
2018-03-14 17:23:34 -07:00
Andrew Watkins
dd05f33ce3
Add test for updateKapacitor
...
Co-authored-by: Andrew Watkins <andrew.watkinz@gmail.com>
Co-authored-by: Brandon Farmer <bthesorceror@gmail.com>
2018-03-14 17:23:34 -07:00
Brandon Farmer
f404eb572c
WIP
2018-03-14 17:23:34 -07:00
Brandon Farmer
3e658bd44f
Send insecure verify skip on kapacitor create
...
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
Brandon Farmer
6fe1f9f5fe
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
a4cf6276f5
Remove unused jest in Kapacitor tests
2018-03-14 17:18:29 -07:00
Jared Scheib
81e2551053
Add initial enzyme test for component KapacitorRulesTable render
2018-03-14 17:17:16 -07:00
Jared Scheib
13da9bec6f
Add initial enzyme test for component TasksTable render
2018-03-14 17:16:11 -07:00
Jared Scheib
7f493204db
Clean up
2018-03-14 16:53:58 -07:00
Jared Scheib
90ac8ad8db
Remove unused jest.mock
2018-03-14 16:51:33 -07:00
Jared Scheib
ab360fa1f8
Remove unused override var
2018-03-14 16:50:24 -07:00
Jared Scheib
beaa186586
Remove unused imports
2018-03-14 16:48:15 -07:00
Jared Scheib
568ca6b5ed
Split KapacitorRules render test into two tests
2018-03-14 16:46:40 -07:00
Jared Scheib
d9002cf557
Test KapacitorRules to render KapacitorRulesTable & TasksTable
2018-03-14 16:32:23 -07:00
Jared Scheib
e0111010c7
Test KapacitorRules to render two tables
2018-03-14 16:17:00 -07:00
Jared Scheib
afa0acb63e
Add initial passing enzyme test for KapacitorRules render
2018-03-14 16:06:34 -07:00
Iris Scholten
c36519910b
Merge branch 'master' into feature/table-graph-series-renaming
2018-03-14 16:00:11 -07:00
Alex Paxton
142f4ec294
Merge pull request #2910 from influxdata/polish-notifications
...
Redesign & Refactor Notifications
2018-03-14 15:37:38 -07:00
Iris Scholten
755f48c14b
WIP get queries for columnNames in table optoins
2018-03-14 15:28:53 -07:00
Andrew Watkins
a7859951dd
Change publishNotification to notify
2018-03-14 15:26:09 -07:00
Brandon Farmer
88ff078342
Make query configs available in table options on visualization tab
2018-03-14 15:14:00 -07:00
Andrew Watkins
36e69a47f6
Cleanup errors
2018-03-14 14:49:01 -07:00
Andrew Watkins
7d96d2baaf
Cleanup
2018-03-14 12:33:23 -07:00
Alex P
ef7f95f306
WIP replace addFlashMessage with publishNotification
2018-03-14 10:31:03 -07:00
Alex P
40bdd63778
Move notifications test to proper directory and rename
2018-03-14 10:31:03 -07:00
Jared Scheib
c6da352204
Add dummy data for KapacitorRules component test
...
Signed-off-by: Deniz Kusefoglu <denizk@gmail.com>
2018-03-13 18:34:34 -07:00
Iris Scholten
48116784b9
fix typo in import
2018-03-13 17:22:50 -07:00
Iris Scholten
7237bb65b8
respond to reviews and add extra test
2018-03-13 16:58:25 -07:00
Iris Scholten
169dd09c6c
update GraphOptionsCustomizableColumn to typescript and create component test for it
2018-03-13 16:02:07 -07:00
Iris Scholten
56fa226df7
Merge branch 'master' into feature/graph-table-time-format
2018-03-13 11:11:25 -07:00
Andrew Watkins
eeff79daa8
Add test for resetting KapacitorForm
2018-03-13 10:13:04 -07:00
Andrew Watkins
3c09e16d49
Cleanup
2018-03-13 10:13:04 -07:00
Andrew Watkins
43cd07500c
Add more tests
2018-03-13 10:13:04 -07:00
Andrew Watkins
a6c7c3a37d
Make breath
2018-03-13 10:11:11 -07:00
Andrew Watkins
77c35b0eeb
WIP refactor of KapacitorForm
2018-03-13 10:11:11 -07:00
Andrew Watkins
53037b224b
Fix ts warnings
2018-03-13 10:11:11 -07:00
Andrew Watkins
43170b140a
WIP introduce mocking api requests and testing resultant behavior
2018-03-13 10:11:11 -07:00
Andrew Watkins
6922f3a2ef
Introduce mock api responses
2018-03-13 10:11:11 -07:00
Andrew Watkins
9d5b6ca378
WIP introduce componentDidMount test
2018-03-13 10:11:11 -07:00
Andrew Watkins
45a1dd4b20
WIP Introduce KapacitorPage test
2018-03-13 10:11:11 -07:00
Iris Scholten
114669408a
respond to review
2018-03-12 18:46:21 -07:00
Alex P
bae3b331bb
Rename "gaugeColors" constant to "thresholds" and move to shared
2018-03-12 17:17:26 -07:00
Iris Scholten
4eecba905b
update server_test, internal_test, and cells_test with tableOptions
2018-03-12 17:12:20 -07:00
Iris Scholten
2ad3a85fdc
update cell editor overlay test with table options
2018-03-12 15:31:46 -07:00
Iris Scholten
6ec57840a9
update TableOptions component test to use tableOptions instead of options
2018-03-12 15:07:19 -07:00
Iris Scholten
7edf714ba2
change options to table options in backend, front end and redux
2018-03-12 15:04:17 -07:00
Iris Scholten
ccdf7384e8
create component test for TableOptions
2018-03-12 10:11:05 -07:00
Brandon Farmer
95f3b8182f
Add tests for GraphOptionsTimeFormat component
...
Co-authored-by: Brandon Farmer <bthesorceror@gmail.com>
Co-authored-by: Iris Scholten <ischolten.is@gmail.com>
2018-03-09 17:15:03 -08:00
Iris Scholten
1c09aa2655
create initial tests for ProvidersTableRowNew around bug fix
2018-03-07 16:27:56 -08:00
Iris Scholten
bd2047af2c
change InputclicktoEdit tests to look for html components instead of attributes
2018-03-07 15:13:38 -08:00
Iris Scholten
0948afe252
create component tests for InputClickToEdit
2018-03-07 14:39:41 -08:00
Iris Scholten
c5da577f34
fix error in ConfirmButtons.test
2018-03-07 11:09:37 -08:00
Iris Scholten
92fd9f231f
create unit tests for ConfirmButtons and refactor confirmButtons
2018-03-06 16:48:08 -08:00
Iris Scholten
db8d291f9e
change ConfirmButtons to typescript and refactor; create initial ConfirmButtons tests
2018-03-06 12:22:58 -08:00
Andrew Watkins
9d33133d40
Move old tests over to new jest format
2018-03-05 08:46:23 -08:00
Andrew Watkins
0651d5b222
Add user interaction tests to MeasurementList
2018-03-05 08:46:23 -08:00
Andrew Watkins
ffec233410
Add test for TagList.tsx
2018-03-05 08:46:23 -08:00
Andrew Watkins
9e4a1a254c
Refactor MeasurementList
2018-03-05 08:46:23 -08:00
Andrew Watkins
f4eca0a228
Convert MeasurementList to TypeScript and add tests
2018-03-05 08:46:23 -08:00
Andrew Watkins
e6ebc4ccd0
Update DatabaseList test
2018-03-05 08:46:23 -08:00
Andrew Watkins
c3b241b774
WIP Add more tests for DatabaseList
2018-03-05 08:46:23 -08:00
Andrew Watkins
ce7ca56727
Add test for DatabaseListItem
2018-03-05 08:46:23 -08:00
Andrew Watkins
80e34cf6d6
Add first successful TypeScript test
2018-03-05 08:46:23 -08:00
Andrew Watkins
30a0ea216c
WIP first TypeScript test
2018-03-05 08:46:23 -08:00
Andrew Watkins
780875abbf
Add more rendering tests
2018-03-05 08:46:23 -08:00
Andrew Watkins
9bd26e06f6
Update test copy
2018-03-05 08:46:23 -08:00
Andrew Watkins
1f830b25bb
Add test for handleFilterKeyPress
2018-03-05 08:46:23 -08:00
Andrew Watkins
7fcd5f2383
Introduce handleFilterKeyPress test
2018-03-05 08:46:23 -08:00
Andrew Watkins
525106df47
Refine <DropdownInput/> rendering test
2018-03-05 08:46:23 -08:00
Andrew Watkins
9287ef521b
Have test use mount so they can access refs
2018-03-01 11:42:24 -07:00
Andrew Watkins
f198e2d8a9
Cleanup
2018-03-01 11:18:23 -07:00
Andrew Watkins
6712a9af4b
Add test for handleSelection
2018-03-01 11:18:23 -07:00
Andrew Watkins
3334f432b7
Add test for handleClick instance method
2018-03-01 11:18:23 -07:00
Andrew Watkins
e2b25f720b
Introduce instance method tests
2018-03-01 11:18:23 -07:00
Andrew Watkins
f49ebb468b
Add DropdownInput test
2018-03-01 11:18:23 -07:00
Andrew Watkins
bcf42ed331
Refactor Dropdown component and specs
2018-03-01 11:18:23 -07:00
Andrew Watkins
78c8771b65
Add introductory Dropdown component test
2018-03-01 11:17:35 -07:00
Andrew Watkins
452e8b909f
Add linter to tests
2018-03-01 11:16:29 -07:00
Andrew Watkins
980df66b16
Fix prop-types and other warnings
2018-03-01 11:16:29 -07:00
Andrew Watkins
110195babc
Fix moment warnings
2018-03-01 11:16:03 -07:00
Andrew Watkins
b58af4ced0
Will pass all tests using jest
2018-03-01 11:16:02 -07:00
Andrew Watkins
64eedc0348
WIP Enable jest to resolve all modules
2018-03-01 11:16:02 -07:00