chronograf/ui/cypress/support/index.ts

23 lines
726 B
TypeScript
Raw Normal View History

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 08:27:29 +00:00
// ***********************************************************
// This example support/index.ts is processed and
// loaded automatically before your test files.
//
// This is a great place to put global configuration and
// behavior that modifies Cypress.
//
// You can change the location of this file or turn off
// automatically serving support files with the
// 'supportFile' configuration option.
//
// You can read more here:
// https://on.cypress.io/configuration
// ***********************************************************
// Import commands.js using ES2015 syntax:
import './commands'
// import 'cypress-pipe'
// import 'cypress-plugin-tab'
// Alternatively you can use CommonJS syntax:
// require('./commands')