Commit Graph

9649 Commits (91ea61e7532fcf9287d76d0044897751e87f78fd)

Author SHA1 Message Date
Pavel Zavora 16e75df472 feat(ui): add user admin dropdown 2022-05-10 07:27:34 +02:00
k3yi0 f0990dd44b chore: update test:e2e and oauth-mock targets in package.json 2022-05-09 17:00:41 +02:00
k3yi0 b8ebd52532 chore: update githubActions cypress config 2022-05-09 15:55:38 +02:00
k3yi0 b913c7d6c2 chore: change attribute name dataTest to testId 2022-05-09 15:55:38 +02:00
k3yi0 cf83ee3b4b chore: use fetch API instead of xhttprequest 2022-05-09 15:55:38 +02:00
k3yi0 89219fdfcf chore: adjust scripts for Cypress testing inside package.json 2022-05-09 15:55:38 +02:00
k3yi0 10b3a9243e chore: create a cypress config for Github Actions 2022-05-09 15:55:38 +02:00
k3yi0 7aabee9fed chore: run prettier in Cypress folder 2022-05-09 15:55:38 +02:00
k3yi0 de484a7b5d chore: change dashboardLink attribute value 2022-05-09 15:55:38 +02:00
k3yi0 ab37ff2f7c chore: yarn eslint --fix 2022-05-09 15:55:38 +02:00
k3yi0 7f5e8c09f7 chore: format data-attribute and adjust test accordinly 2022-05-09 15:55:38 +02:00
k3yi0 4918aba9d9 chore: update Jest Snapshots 2022-05-09 15:55:38 +02:00
k3yi0 23f0dc75e7 chore: start OAuth2 mock before running cypress tests locally, add gitignore entry for OAuth2 mock log 2022-05-09 15:55:38 +02:00
k3yi0 3b1e1d0a10 chore: take Oauth2 Server URL from env. table 2022-05-09 15:55:38 +02:00
k3yi0 e8ea919baf chore: change Test user back to test 2022-05-09 15:55:38 +02:00
k3yi0 e9d0b899bb chore: put OAuth2 Server full address 2022-05-09 15:55:38 +02:00
k3yi0 595bc348cd chore: ping OAuth2 Server and log the outcome, change user test to Test 2022-05-09 15:55:38 +02:00
Kevin Grossmann 7c92062609 Update cypress.json 2022-05-09 15:55:38 +02:00
k3yi0 89a8f0d466 chore: update OAuth2 Server IP Address 2022-05-09 15:55:38 +02:00
k3yi0 554d3a11e4 chore: add oauth2 server mock logging 2022-05-09 15:55:38 +02:00
k3yi0 d7fc0569d5 chore: turn off recording, force log out 2022-05-09 15:55:38 +02:00
k3yi0 ee50ee472b chore: test redirect delay 2022-05-09 15:55:38 +02:00
k3yi0 39e53012b7 chore: remove wait, increase redirect delay, add additional logout 2022-05-09 15:55:38 +02:00
k3yi0 ffe22330e3 chore: adjust redirect delay 2022-05-09 15:55:38 +02:00
k3yi0 751843fa09 chore: test flakiness 2022-05-09 15:55:38 +02:00
k3yi0 beef7d7f5a chore: test flakiness 2022-05-09 15:55:38 +02:00
k3yi0 faacc445b5 chore: add wait after login to test flakiness 2022-05-09 15:55:38 +02:00
k3yi0 a61bcd8f3b chore: adjust welcome test 2022-05-09 15:55:38 +02:00
k3yi0 f80113c58d test(cypress): add basic Admin Chronograf tab test 2022-05-09 15:55:38 +02:00
k3yi0 9afa26a29e chore: create dashboard after creating source connection 2022-05-09 15:55:37 +02:00
k3yi0 e1ae573e9f chore: add oauth2 login auto-redirect and adjust tests according to it 2022-05-09 15:55:37 +02:00
k3yi0 5e48694a24 chore: auth2login test visit login page 2022-05-09 15:55:37 +02:00
k3yi0 2f87e33fd0 chore: test oauth2 mock server connection and video performance 2022-05-09 15:55:37 +02:00
k3yi0 d58164cd04 chore: remove unnecessary methods used and adjust the dashboard test 2022-05-09 15:55:37 +02:00
k3yi0 aedc82aa26 chore: add a data-test attribute to a Skip and a Switch buttons 2022-05-09 15:55:37 +02:00
k3yi0 bc330241a4 chore: record tests and upload them as artifact 2022-05-09 15:55:37 +02:00
k3yi0 c0b41859ad chore: add data-test attribute to Skip and Switch buttons 2022-05-09 15:55:37 +02:00
k3yi0 03173b3146 chore: log out at the beggining of each test 2022-05-09 15:55:37 +02:00
Kevin Grossmann 69f2110d49 chore: change input selector 2022-05-09 15:55:37 +02:00
k3yi0 639a30b31a chore: adjust welcome test 2022-05-09 15:55:37 +02:00
k3yi0 f0edb61f83 test(cypress): add dashboards reader test 2022-05-09 15:55:37 +02:00
k3yi0 ce9ce5b3ab chore: add data-test attributes 2022-05-09 15:55:37 +02:00
Pavel Zavora e76bb97715 fix(ci): make test InfluxDB enterprise meta service accessible 2022-05-06 10:31:09 +02:00
Pavel Zavora ba061b3552 chore(ui): simplify oauth2 landing page 2022-04-27 05:34:48 +02:00
Pavel Zavora 3909411dae fix(ui): defer file close 2022-04-26 19:56:54 +02:00
Pavel Zavora a47845a390 fix(ui): generate different ETag on file change 2022-04-26 18:58:47 +02:00
Pavel Zavora 211512da30 fix(ui): fix annotation edit 2022-04-26 06:48:41 +02:00
Pavel Zavora 8dac3ca0ed fix(ui): repair landing redirect 2022-04-22 09:56:16 +02:00
Pavel Zavora c5bdbb5be1 chore(ui/cypress): skip unsafe SSL for http 2022-04-21 22:41:00 +02:00
Pavel Zavora f416ca1db4 chore: exclude cypress results and screenshots from git 2022-04-21 22:41:00 +02:00
Pavel Zavora bf817f9b25 chore: remove unused property 2022-04-21 22:41:00 +02:00
Pavel Zavora cb6a7664a8 chore(ui): refactor LandingPage 2022-04-21 22:41:00 +02:00
Pavel Zavora 28eda688d9 feat(ui): store original UI path to restore it after authentication 2022-04-21 22:41:00 +02:00
Pavel Zavora 73165b3797 feat(ui): allow to edit annotation for a viewer role 2022-04-21 22:41:00 +02:00
Pavel Zavora b8cee76923 feat(ui): allow to save annotation for a viewer role 2022-04-21 22:41:00 +02:00
Pavel Zavora 28951f8b17 chore(ui/roles): move role names to a separate file 2022-04-21 22:41:00 +02:00
Pavel Zavora 23162d8cf1 feat(ui): add user menu to DashboardPage when reader 2022-04-21 22:41:00 +02:00
Pavel Zavora 260c31105a feat(ui): add user menu to DashboardsPage when reader 2022-04-21 22:41:00 +02:00
Pavel Zavora f06af1f233 feat(ui): allow user nav block in page header 2022-04-21 22:41:00 +02:00
Pavel Zavora 1ace6a76b1 feat(ui): allow reader role to login on purgatory page 2022-04-21 22:41:00 +02:00
Pavel Zavora 21aee156cb feat(ui): keep reader role in dashboard pages 2022-04-21 22:41:00 +02:00
Pavel Zavora 03bba463ca feat(ui): hide sidenav for reader role 2022-04-21 22:41:00 +02:00
Pavel Zavora 6046e8eb4b feat(ui): check reader role authorized 2022-04-21 22:41:00 +02:00
Pavel Zavora 5dcaadbf14 feat(ui): allow to assign reader role to a user or an org 2022-04-21 22:41:00 +02:00
Pavel Závora d698c2b9ae
Merge pull request #5897 from influxdata/chore/go_1.18
chore: upgrade golang to 1.18
2022-04-21 16:33:47 +02:00
k3yi0 6f87f50434 fix: fix data-test attribute 2022-04-11 13:01:32 +02:00
k3yi0 a7d87560a5 chore: unify data-testid and data-test attributes 2022-04-11 12:42:49 +02:00
dependabot[bot] 4b958f90e0
chore(deps): bump moment from 2.29.1 to 2.29.2
Bumps [moment](https://github.com/moment/moment) from 2.29.1 to 2.29.2.
- [Release notes](https://github.com/moment/moment/releases)
- [Changelog](https://github.com/moment/moment/blob/develop/CHANGELOG.md)
- [Commits](https://github.com/moment/moment/compare/2.29.1...2.29.2)

---
updated-dependencies:
- dependency-name: moment
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-04-09 09:40:13 +00:00
Pavel Zavora 993f4357c4 fix(dist): load UI resources using embed 2022-04-05 12:54:02 +02:00
Pavel Zavora d6fb94af88 fix(ui): render table cell as number only for numbers 2022-04-04 18:25:50 +02:00
Pavel Zavora 8528bb368f fix(ui/flux): parse number columns as numbers 2022-04-04 18:25:50 +02:00
Pavel Zavora 177e5c5f25 fix(ui/flux): repair time column conversion 2022-04-04 18:25:50 +02:00
Pavel Zavora 17c2d5d2b0 chore(ui): remove useless file 2022-04-01 11:22:14 +02:00
Pavel Zavora aa917eb952 fix(ui): repair typedef to accept thunk action 2022-04-01 11:22:14 +02:00
Pavel Zavora 11c28f5ebc chore(ui): improve type definitions 2022-04-01 11:22:14 +02:00
Pavel Zavora 913974239c fix(ui): repair type definitions 2022-04-01 11:22:14 +02:00
Pavel Zavora a632ee3832 fix(ui): repair type definitions 2022-04-01 11:22:14 +02:00
Pavel Zavora a9f5dfb699 fix(ui): repair type definitions 2022-04-01 11:22:14 +02:00
Pavel Zavora 9c2d2ec15a fix(ui): repair typescript definitions 2022-04-01 11:22:14 +02:00
Pavel Zavora 9199310bb7 fix(ui): repair typescript definitions 2022-04-01 11:22:14 +02:00
Pavel Zavora 3ae21ba007 fix(ui): repair typescript definitions 2022-04-01 11:22:14 +02:00
Pavel Zavora 0f2f97fcc0 fix(ui): repair typescript definitions 2022-04-01 11:22:14 +02:00
Pavel Zavora 405f5db2df fix(ui): repair typescript definitions 2022-04-01 11:22:14 +02:00
Pavel Zavora 5d7679a442 fix(ui): repair typescript definitions 2022-04-01 11:22:14 +02:00
Pavel Zavora ebd0c32785 fix(ui): repair typescript definitions 2022-04-01 11:22:14 +02:00
Pavel Zavora 4b79189ef7 fix(ui): repair typescript definitions after upgrade to typescript 4.6.3 2022-04-01 11:22:14 +02:00
Pavel Zavora a46a20311b fix(ui): repair typescript definitions 2022-04-01 11:22:14 +02:00
Pavel Zavora 3378180b5a fix(ui): repair typescript definitions 2022-04-01 11:22:14 +02:00
Pavel Zavora 83cc473d64 fix(ui): repair typescript definitions 2022-04-01 11:22:14 +02:00
Pavel Zavora b6374561a8 fix(ui): repair typescript definitions 2022-04-01 11:22:14 +02:00
Pavel Zavora ee32e3d758 fix(ui): repair typescript definitions 2022-04-01 11:22:14 +02:00
Pavel Zavora d79f41dc55 fix(ui): repair typescript definitions 2022-04-01 11:22:14 +02:00
Pavel Zavora c7e5e0cd76 fix(ui): repair typescript definitions 2022-04-01 11:22:14 +02:00
Pavel Zavora 1ba23f9dda fix(ui): repair typescript definitions 2022-04-01 11:22:14 +02:00
Pavel Zavora eae87768c2 fix(ui): repair typescript definitions 2022-04-01 11:22:14 +02:00
Pavel Zavora 3ac79fd22f chore(ui): improve typescript definitions 2022-04-01 11:22:14 +02:00
Pavel Zavora 78be030f78 chore(ui): appease prettier 2022-04-01 11:22:14 +02:00
Pavel Zavora 3317aa3a2d chore(ui): upgrade eslint-plugin-babel to @babel/eslint-plugin 2022-04-01 11:22:14 +02:00
Pavel Zavora d07d11ead8 fix(i): repair @typescript-eslint/no-loss-of-precision error 2022-04-01 11:22:14 +02:00
Pavel Zavora 54a87da0bc chore(ui): appease prettier 2022-04-01 11:22:14 +02:00
Pavel Zavora 780f4ea6f4 chore(ui): stick to prettier 2.2.1 2022-04-01 11:22:14 +02:00
Pavel Zavora ae3f251893 chore(ui): configure eslint after library upgrade 2022-04-01 11:22:14 +02:00
Pavel Zavora 8ee396b0ce chore(ui): disable typescript-eslint for js files 2022-04-01 11:22:14 +02:00
Pavel Zavora 777a123c51 chore(ui): upgrade @typescript-eslint to support the newest typescript 2022-04-01 11:22:14 +02:00
Pavel Zavora a4cfe24b10 chore(ui): fix code after upgrade to a newer typescript 2022-04-01 11:22:14 +02:00
Pavel Zavora e146023f4a chore(ui): fix type to match v1.x reality 2022-04-01 11:22:14 +02:00
Pavel Zavora 0fa57113a4 chore(ui): appease linter 2022-04-01 11:22:14 +02:00
k3yi0 3b480acb5c fix: aggregate function no error pop up 2022-03-28 14:47:44 +02:00
tomklapka 08743e4a19
Cypress tests and e2e github action flow (#5896)
* test: welcome test, dashboard test, explore browser test

* test: snapshot testing

* feat: adding testing snapshots

* chore: update unmet peer dependency

* fix: name of dropdown toggle

* test: connecting to influxdb

* fix: remove unnecessary influxdb-onboarding.sh script.

* chore: updated go 1.17.1 for cypress tests

* refactor: remove unnecessary influxdb-onboarding command from Makefile

* refactor: remove unnecessary influxdb-onboarding command from circleci config

* test: initialising database by using environment properties (in Makefile)

* chore: fixing cypress tests

* test: deleting connection to influxd1

* tests: optimize build, reuse workspace

* tests: optimize build

* test: remove unused code

* fix:  remove unuse dashboard

* chore(e2e-pipeline): add pipeline for chrono cypress tests

* chore: run action on push

* chore: fix e2e pipeline

* chore: add yarn install

* chore: add log upload

* chore: show logs to see what is going on with chronograf

* chore: fix log cats

* chore: add sleep

* fix: chronograf run command

* chore(ui): regenerate yarn.lock after rebase

* test: welcome test, dashboard test, explore browser test

* test: snapshot testing

* feat: adding testing snapshots

* chore(e2e): local script for influxdb enterprise deployment

* chore(e2e): update cert-manager in actions pipeline

* chore: fix coredns issue

* chore: fix certmanager deployment

* test: welcome test, dashboard test, explore browser test

* test: snapshot testing

* feat: adding testing snapshots

* chore: update unmet peer dependency

* test(cypress): add cypress env, and commands

* test(cypress): add basic InfluxDB setup connection test

* fix: temporary commented out the file as it uses non existing functions

* test(cypress): add dashboard create, rename and delelete test

* test(cypress): add routes

* chore: regenerate yarn.lock

* chore: remove unused file

* chore: comment out code

* chore: comment out code

* fix: remove calling non-existent function

* fix: createConnection uses  unsafe SSL

* turns on flux

* test(cypress): rewritten Query Builder tests using _internal.monitor

* chore: yarn prettier

* fix: add missing custom window period

* fix: remove it.only

* Add flux-enable to a workflow file

* fix: github actions workflow file flux-enabled

* fix: force restart by deleing pod

* fix: restart a container to apply a new configmap

* fix: restart container

* chore: flux-enabled is now true by default

* fix: selecting correct elements

* chore: update e2e pipeline

* chore: add scheduled action run once a working day

* chore: remove commented code

* chore:  change file extenction to .ts and adjust code accordingly

* chore: pipeline fixes

* chore: clean up e2e:influxdb2 references

* fix: yarn installation, no risky changes in make clean

* chore: update changelog

Co-authored-by: Iszy-Ami <huyiktran@gmail.com>
Co-authored-by: Iszy-Ami <56554624+Iszy-Ami@users.noreply.github.com>
Co-authored-by: Robert Hajek <robert.hajek@gmail.com>
Co-authored-by: Pavel Zavora <pavel.zavora@bonitoo.io>
Co-authored-by: k3yi0 <definitelynotkeyio@gmail.com>
Co-authored-by: k3yi0 <97002262+k3yi0@users.noreply.github.com>
2022-03-25 09:27:29 +01:00
Ivan Kudibal 85a3969e76 chore: prepare for 1.9.4 release 2022-03-22 20:36:56 +01:00
Pavel Zavora 0323d09cdf feat(ui/flux): add caret to query builder overwrite confirmation 2022-03-21 15:47:38 +01:00
Pavel Zavora 2ef7965695 chore(ui/flux): improve tooltips 2022-03-21 14:52:45 +01:00
Pavel Zavora df3b840d42 feat(ui/flux): confirm script overwrite only when necessary 2022-03-21 13:26:44 +01:00
Pavel Zavora f067d3d5ab feat(ui/flux): add builder confirmation popup 2022-03-21 13:26:44 +01:00
Pavel Zavora 526d70583e feat(ui/flux): add FluxQueryBuilderSubmit component 2022-03-21 13:26:44 +01:00
Pavel Zavora d5b0b92437 feat(ui/flux): detect custom script 2022-03-21 13:26:44 +01:00
Pavel Zavora ef2c7bfbf0 feat(ui/flux): autocomplete builtin 'v' object in Flux editor 2022-03-21 13:24:27 +01:00
Pavel Závora 4d7c772c67
Merge pull request #5893 from influxdata/5889/aggregation_fn_optional
feat(ui): make aggregation function optional in Flux Query Builder
2022-03-21 13:23:36 +01:00
Pavel Zavora 9b5a6f0e40 feat(ui): make aggregation function optional in Flux Query Builder 2022-03-19 19:03:09 +01:00
Pavel Zavora 4792931254 fix(ui): reorder Alerting menu 2022-03-19 18:51:28 +01:00
Pavel Zavora 6f938ea64d fix(ui): show failure reason on queries page 2022-03-18 12:43:24 +01:00
Pavel Zavora 6bd5cefb25 fix(ui/host): repair time zone selector 2022-03-17 06:22:44 +01:00
Pavel Zavora 44c8d56637 feat(ui/kapacitor): improve rule reducer test 2022-03-15 09:15:08 +01:00
mmdoogie d806ba8f5f fix(kapacitor): fix sometimes-removed parameters 2022-03-15 08:31:47 +01:00
mmdoogie 8d9b68c93f fix(kapacitor): rearrange new alert options ui for clarity 2022-03-15 08:31:47 +01:00
mmdoogie b284862c99 fix(kapacitor): make new stateChangesOnly UI option consistent with past usage 2022-03-15 08:31:47 +01:00
mmdoogie e751f1adcd fix(kapacitor): linting fixes 2022-03-15 08:31:47 +01:00
mmdoogie 19a57487a7 feat(kapacitor): also expose stateChangesOnly option 2022-03-15 08:31:47 +01:00
mmdoogie 89b33b947b fix(kapacitor): refine formatting 2022-03-15 08:31:47 +01:00
mmdoogie 9e1add4cb9 test(kapacitor): add reducers test 2022-03-15 08:31:47 +01:00
mmdoogie 9fb627c3b5 test(kapacitor): fix existing test 2022-03-15 08:31:47 +01:00
mmdoogie 77a75a2415 feat(kapacitor): add option to set noRecoveries on alerts 2022-03-15 08:31:47 +01:00
Pavel Zavora cdb46bbfc7 chore(ui): improve hightlightDropdown 2022-03-14 18:55:41 +01:00
Pavel Zavora b9673ae0d8 feat(ui/flux): use default cursor over non-clickable area 2022-03-14 18:55:41 +01:00
Pavel Zavora ad954708b1 feat(ui): better highlight TimeRange dropdown 2022-03-14 18:55:41 +01:00
Pavel Zavora aec7442829 feat(ui/flux): add title to 'time range' links 2022-03-14 18:55:41 +01:00
Pavel Zavora e39dea6b30 feat(ui/flux): improve no keys/values message to hightlight time range dropdown 2022-03-14 18:55:41 +01:00
Pavel Zavora fa6cb28533 feat(ui): export function that computes time range label 2022-03-14 18:55:41 +01:00
Pavel Zavora ea10bdc934 feat(ui): add helper that temporarily highlights time range dropdown 2022-03-14 18:55:41 +01:00
Pavel Zavora 3e0a7a9d85 fix(ui/kapacitor): remove tests for TICKscript on Alert Rules page 2022-03-12 06:26:56 +01:00
Pavel Zavora 8ed746a3ce feat(ui/kapacitor): change Alerting main page to TICKscripts 2022-03-12 06:26:56 +01:00
Pavel Zavora 5c7c07e2e8 chore(ui/kapacitor): simplify code 2022-03-12 06:26:56 +01:00
Pavel Zavora 424b48d847 feat(ui): rename Manage Tasks to Alert Rules in sidenav 2022-03-12 06:26:56 +01:00
Pavel Zavora 90c9142546 feat(ui/kapacitor): exit only to tickscripts page from a tickscript page 2022-03-12 06:26:56 +01:00
Pavel Zavora bc5c68ec7d feat(ui/kapacitor): remove tickscripts from alert rules page 2022-03-12 06:26:56 +01:00
Pavel Zavora 453249fe1a feat(ui/kapacitor): change page header to Manage Alert Rules 2022-03-12 06:26:56 +01:00
Pavel Závora 69ba32e5b4
Merge pull request #5878 from influxdata/fix/flux_query_to_script
fix(ui/flux): rename Query Editor to Script Editor, Query Builder to Script Builder
2022-03-12 06:24:33 +01:00
Pavel Závora a99d362a07
Merge pull request #5877 from influxdata/fix/range_param_number
fix(ui): allow to parse flux range parameter as a number
2022-03-12 06:01:26 +01:00
Pavel Zavora c1d36d87b2 fix(ui/flux): rename Query Builder to Script Builder 2022-03-12 05:57:07 +01:00
Pavel Zavora dfa39d0c6c fix(ui/flux): rename Query Editor to Flux Editor 2022-03-11 09:00:16 +01:00