Improve test runner, rewrite testing docs, add a way to test browser events (#5834)
* Ask from user before quitting when using test-integrated-watch * Add helpful logging to the runner script, refactor file hierarchy * Add a way to dispatch browser events in tests * Update test command names and rewrite the frontend testing docs * Fix test failures
Showing
- bin/ci 2 additions, 1 deletionbin/ci
- docs/developers-guide.md 90 additions, 15 deletionsdocs/developers-guide.md
- frontend/src/metabase/admin/datamodel/containers/FieldApp.jsx 1 addition, 1 deletion...tend/src/metabase/admin/datamodel/containers/FieldApp.jsx
- frontend/src/metabase/components/Popover.jsx 15 additions, 13 deletionsfrontend/src/metabase/components/Popover.jsx
- frontend/test/__runner__/backend.js 54 additions, 4 deletionsfrontend/test/__runner__/backend.js
- frontend/test/__runner__/run_integrated_tests.js 58 additions, 9 deletionsfrontend/test/__runner__/run_integrated_tests.js
- frontend/test/__runner__/test_db_fixture.db.h2.db 0 additions, 0 deletionsfrontend/test/__runner__/test_db_fixture.db.h2.db
- frontend/test/__support__/enzyme_utils.js 15 additions, 0 deletionsfrontend/test/__support__/enzyme_utils.js
- frontend/test/__support__/mocks.js 16 additions, 0 deletionsfrontend/test/__support__/mocks.js
- frontend/test/admin/datamodel/FieldApp.integ.spec.js 43 additions, 2 deletionsfrontend/test/admin/datamodel/FieldApp.integ.spec.js
- frontend/test/e2e-with-persistent-browser.js 0 additions, 57 deletionsfrontend/test/e2e-with-persistent-browser.js
- frontend/test/legacy-selenium/.eslintrc 0 additions, 11 deletionsfrontend/test/legacy-selenium/.eslintrc
- frontend/test/legacy-selenium/auth/login.spec.js 1 addition, 0 deletionsfrontend/test/legacy-selenium/auth/login.spec.js
- frontend/test/legacy-selenium/dashboard/dashboard.utils.js 0 additions, 5 deletionsfrontend/test/legacy-selenium/dashboard/dashboard.utils.js
- frontend/test/legacy-selenium/dashboards/dashboards.spec.js 3 additions, 2 deletionsfrontend/test/legacy-selenium/dashboards/dashboards.spec.js
- frontend/test/legacy-selenium/dashboards/dashboards.utils.js 7 additions, 0 deletionsfrontend/test/legacy-selenium/dashboards/dashboards.utils.js
- frontend/test/legacy-selenium/query_builder/tutorial.spec.js 6 additions, 0 deletionsfrontend/test/legacy-selenium/query_builder/tutorial.spec.js
- frontend/test/legacy-selenium/support/jasmine.js 0 additions, 32 deletionsfrontend/test/legacy-selenium/support/jasmine.js
- frontend/test/legacy-selenium/support/jasmine.json 0 additions, 13 deletionsfrontend/test/legacy-selenium/support/jasmine.json
- frontend/test/legacy-selenium/support/metabase.js 0 additions, 43 deletionsfrontend/test/legacy-selenium/support/metabase.js
Loading
Please register or sign in to comment