2018-02-27 06:08:13 +00:00
|
|
|
module.exports = {
|
2018-02-27 17:55:24 +00:00
|
|
|
projects: [
|
|
|
|
{
|
|
|
|
displayName: 'test',
|
2018-03-03 17:14:40 +00:00
|
|
|
testPathIgnorePatterns: [
|
|
|
|
'build',
|
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
|
|
|
'<rootDir>/cypress/',
|
2018-03-03 17:14:40 +00:00
|
|
|
'<rootDir>/node_modules/(?!(jest-test))',
|
|
|
|
],
|
2021-03-08 18:23:50 +00:00
|
|
|
modulePaths: ['<rootDir>', '<rootDir>/..'],
|
|
|
|
moduleDirectories: ['src', 'node_modules'],
|
2018-03-29 23:44:24 +00:00
|
|
|
setupFiles: ['<rootDir>/test/setup.js'],
|
2018-03-03 03:50:51 +00:00
|
|
|
transform: {
|
|
|
|
'^.+\\.tsx?$': 'ts-jest',
|
|
|
|
'^.+\\.js$': 'babel-jest',
|
|
|
|
},
|
|
|
|
testRegex: '(/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$',
|
|
|
|
moduleFileExtensions: ['ts', 'tsx', 'js', 'jsx', 'json', 'node'],
|
2018-06-27 20:15:06 +00:00
|
|
|
snapshotSerializers: ['enzyme-to-json/serializer'],
|
2018-07-09 22:59:20 +00:00
|
|
|
moduleNameMapper: {
|
|
|
|
'\\.(css|scss)$': 'identity-obj-proxy',
|
|
|
|
},
|
2018-02-27 17:55:24 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
runner: 'jest-runner-eslint',
|
2018-03-21 23:08:03 +00:00
|
|
|
displayName: 'eslint',
|
2018-02-27 17:55:24 +00:00
|
|
|
testMatch: ['<rootDir>/test/**/*.test.js'],
|
|
|
|
},
|
|
|
|
],
|
2018-02-27 06:08:13 +00:00
|
|
|
}
|