Commit Graph

344 Commits (4eab5e5ed2463d51deef40df054080d08a90e09d)

Author SHA1 Message Date
Alex P 0ad9d15bc3 rename singleStatColors to thresholdsListColors 2018-03-14 22:08:26 -07:00
Alex P 8078362856 Rename single stat constants to match thresholds naming scheme 2018-03-14 21:20:22 -07:00
Alex P 7a583b1567 rename singleStatType to thresholdsListType
going for a more generic and future proof naming scheme
2018-03-14 21:13:20 -07:00
Alex P 72b9279336 Use ThresholdsColorToggle in TableOptions 2018-03-14 21:02:13 -07:00
Alex P 47a66d2ae0 Update table options test 2018-03-14 20:57:55 -07:00
Alex P 9201bb1de4 Merge branch 'master' into feature/table-thresholds 2018-03-14 20:38:56 -07:00
Jared Scheib 841ae1e60c Test KapacitorRulesTable tr keys to be UUIDv4 2018-03-14 18:44:51 -07:00
Jared Scheib fd58c0cb5a Add string validator & tests for UUIDv4 2018-03-14 18:31:09 -07:00
Iris Scholten a7e820f038 fix typo in CustomizeColumns test 2018-03-14 18:21:53 -07:00
Iris Scholten 9d9525e821 create component test for GraphOptionsCustomizeColumns 2018-03-14 18:17:32 -07:00
Iris Scholten cc7422ad93 update columnNames in the redux store and connect them to TableGraphs 2018-03-14 17:46:42 -07:00
Andrew Watkins dc8902c62a Add insecureSkipVerify to default kapacitor 2018-03-14 17:23:34 -07:00
Andrew Watkins 608c81b3f5 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 6931f5ece6 WIP 2018-03-14 17:23:34 -07:00
Brandon Farmer 42c03de005 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 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
Iris Scholten 641fc3ce65 Merge branch 'master' into feature/table-graph-series-renaming 2018-03-14 16:00:11 -07:00
Alex Paxton 3613cc52a7
Merge pull request #2910 from influxdata/polish-notifications
Redesign & Refactor Notifications
2018-03-14 15:37:38 -07:00
Iris Scholten 260599dbf8 WIP get queries for columnNames in table optoins 2018-03-14 15:28:53 -07:00
Andrew Watkins 7f04f5c5e6 Change publishNotification to notify 2018-03-14 15:26:09 -07:00
Brandon Farmer 3d472485c3 Make query configs available in table options on visualization tab 2018-03-14 15:14:00 -07:00
Andrew Watkins 466a6e47c6 Cleanup errors 2018-03-14 14:49:01 -07:00
Andrew Watkins cac7180ce3 Cleanup 2018-03-14 12:33:23 -07:00
Alex P 19d2019f73 WIP replace addFlashMessage with publishNotification 2018-03-14 10:31:03 -07:00
Alex P 48b974cac8 Move notifications test to proper directory and rename 2018-03-14 10:31:03 -07:00
Jared Scheib d9290f36a8 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 ae042b46f8 fix typo in import 2018-03-13 17:22:50 -07:00
Iris Scholten 57e1d473ec respond to reviews and add extra test 2018-03-13 16:58:25 -07:00
Iris Scholten 5b62395e65 update GraphOptionsCustomizableColumn to typescript and create component test for it 2018-03-13 16:02:07 -07:00
Iris Scholten 1986186f71 Merge branch 'master' into feature/graph-table-time-format 2018-03-13 11:11:25 -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
Andrew Watkins 68da38c231 Fix ts warnings 2018-03-13 10:11:11 -07:00
Andrew Watkins e5ccbafd90 WIP introduce mocking api requests and testing resultant behavior 2018-03-13 10:11:11 -07:00
Andrew Watkins 531c93d117 Introduce mock api responses 2018-03-13 10:11:11 -07:00
Andrew Watkins 662a6774e3 WIP introduce componentDidMount test 2018-03-13 10:11:11 -07:00
Andrew Watkins f528e74a5e WIP Introduce KapacitorPage test 2018-03-13 10:11:11 -07:00
Iris Scholten b55167e4e8 respond to review 2018-03-12 18:46:21 -07:00
Alex P a63ce9f058 Rename "gaugeColors" constant to "thresholds" and move to shared 2018-03-12 17:17:26 -07:00
Iris Scholten cf2c508c96 update server_test, internal_test, and cells_test with tableOptions 2018-03-12 17:12:20 -07:00
Iris Scholten 9420e206bc update cell editor overlay test with table options 2018-03-12 15:31:46 -07:00
Iris Scholten 4c277b099c update TableOptions component test to use tableOptions instead of options 2018-03-12 15:07:19 -07:00
Iris Scholten 302efab3b9 change options to table options in backend, front end and redux 2018-03-12 15:04:17 -07:00
Iris Scholten 7dac48daa4 create component test for TableOptions 2018-03-12 10:11:05 -07:00
Brandon Farmer 3781ffabf9 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 cfe6ba5d0c create initial tests for ProvidersTableRowNew around bug fix 2018-03-07 16:27:56 -08:00
Iris Scholten cca46ad3f9 change InputclicktoEdit tests to look for html components instead of attributes 2018-03-07 15:13:38 -08:00
Iris Scholten 2ca3ca45a6 create component tests for InputClickToEdit 2018-03-07 14:39:41 -08:00
Iris Scholten 953ddcdfe4 fix error in ConfirmButtons.test 2018-03-07 11:09:37 -08:00
Iris Scholten 90c56f487a create unit tests for ConfirmButtons and refactor confirmButtons 2018-03-06 16:48:08 -08:00
Iris Scholten 08f5c1072f change ConfirmButtons to typescript and refactor; create initial ConfirmButtons tests 2018-03-06 12:22:58 -08:00
Andrew Watkins d2cddc4816 Move old tests over to new jest format 2018-03-05 08:46:23 -08:00
Andrew Watkins ffc976ec69 Add user interaction tests to MeasurementList 2018-03-05 08:46:23 -08:00
Andrew Watkins 2c6d127a9c Add test for TagList.tsx 2018-03-05 08:46:23 -08:00
Andrew Watkins 52fcc8e95f Refactor MeasurementList 2018-03-05 08:46:23 -08:00
Andrew Watkins 5f26de0d96 Convert MeasurementList to TypeScript and add tests 2018-03-05 08:46:23 -08:00
Andrew Watkins fc12deba4a Update DatabaseList test 2018-03-05 08:46:23 -08:00
Andrew Watkins 74865597d5 WIP Add more tests for DatabaseList 2018-03-05 08:46:23 -08:00
Andrew Watkins 543fae9f30 Add test for DatabaseListItem 2018-03-05 08:46:23 -08:00
Andrew Watkins 11c505eb65 Add first successful TypeScript test 2018-03-05 08:46:23 -08:00
Andrew Watkins 6970717f32 WIP first TypeScript test 2018-03-05 08:46:23 -08:00
Andrew Watkins c029c55813 Add more rendering tests 2018-03-05 08:46:23 -08:00
Andrew Watkins 65fbc38ed0 Update test copy 2018-03-05 08:46:23 -08:00
Andrew Watkins c6fc8ef312 Add test for handleFilterKeyPress 2018-03-05 08:46:23 -08:00
Andrew Watkins d35f695815 Introduce handleFilterKeyPress test 2018-03-05 08:46:23 -08:00
Andrew Watkins 3b558fc11b Refine <DropdownInput/> rendering test 2018-03-05 08:46:23 -08:00
Andrew Watkins e84d578229 Have test use mount so they can access refs 2018-03-01 11:42:24 -07:00
Andrew Watkins 7287781135 Cleanup 2018-03-01 11:18:23 -07:00
Andrew Watkins 760c5d3dfc Add test for handleSelection 2018-03-01 11:18:23 -07:00
Andrew Watkins 74b78dd20b Add test for handleClick instance method 2018-03-01 11:18:23 -07:00
Andrew Watkins 2128d5f2e9 Introduce instance method tests 2018-03-01 11:18:23 -07:00
Andrew Watkins 6b85a0b541 Add DropdownInput test 2018-03-01 11:18:23 -07:00
Andrew Watkins 7e90245dba Refactor Dropdown component and specs 2018-03-01 11:18:23 -07:00
Andrew Watkins 1a809b4c81 Add introductory Dropdown component test 2018-03-01 11:17:35 -07:00
Andrew Watkins d3b810a08e Add linter to tests 2018-03-01 11:16:29 -07:00
Andrew Watkins f0726f6d8e Fix prop-types and other warnings 2018-03-01 11:16:29 -07:00
Andrew Watkins 84dac1d6fd Fix moment warnings 2018-03-01 11:16:03 -07:00
Andrew Watkins d586967615 Will pass all tests using jest 2018-03-01 11:16:02 -07:00
Andrew Watkins dc3cf7faf8 WIP Enable jest to resolve all modules 2018-03-01 11:16:02 -07:00
Andrew Watkins 8b304bb312 Rename spec dir to test 2018-03-01 11:16:02 -07:00