Hugo Häggmark
044bea0935
Chore: Fixes various strict null errors ( #21763 )
...
* Chore: Removes strict null checks in ReducerTester
* Chore: Fixes strict null errors in ConfigureStore
* Chore: Fixes strict null errors in reducer tests
* Chore: Fixes strict null errors in reducers tests
* Chore: Fixes strict null errors in reducers tests
* Chore: Fixes strict null errors in toggleLogActionsMiddleware
* Chore: Fixes strict null errors in navModelReducer
* Core: Fixes strict null errors in public/app/features/admin/state
* Chore: Fixes strict null errors in public/app/features/dashboard/state/reducers.test.ts
* Chore: Fixes strict null errors in public/app/features/explore/state/reducers.test.ts
* Chore: Fixes strict null errors in public/app/features/datasources/state/reducers.test.ts
* Chore: Fixes strict null errors in public/e2e-test/scenarios/templating/templatevariables-crud.test.ts
* Chore: Fixes strict null errors in public/app/features/dashboard/containers/DashboardPage.test.tsx
2020-01-28 09:13:56 +01:00
Hugo Häggmark
a538e67d4d
Tests: Skipping Template Variable tests for now ( #20707 )
2019-11-27 16:01:39 +01:00
Hugo Häggmark
2c2ed8371d
E2E: Adds tests for QueryVariable CRUD ( #20448 )
...
* WIP: Adds basic template variables CRUD start
* e2eTests: Adds aria-labels in VariableEditorCtrl
* Refactor: Simplifies a bit
* e2eTests: Adds first Template Variable CRUD for QueryVariable
* Tests: Adds ArrayPageOjbectType
* Tests: Adds createQueryVariable method
* Tests: Refactor CRUD test
* Tests: Adds datasource and dashboard to scenario
* Refactor: Fixes type errors
* Refactor: Move pages to toolkit
2019-11-25 07:29:01 +01:00
Hugo Häggmark
7ebc4a1568
Tests: We should not click on default button when there is only one ds ( #20266 )
2019-11-08 10:51:42 +01:00
Hugo Häggmark
85c4311c9f
e2eTests: Adds cleanup of created datasource and dashboard ( #20244 )
...
* e2eTests: Adds cleanup of created datasource and dashboard
* Chore: Fixes Prettier error
* Tests: Updates snapshots
2019-11-08 09:48:33 +01:00
Dominik Prokop
1b5e7ceee7
grafana/toolkit: Remove hack to expose plugin/e2e exports & types ( #19467 )
2019-09-27 08:07:20 -07:00
Ryan McKinley
9f415e84b4
Refactor: move end-to-end test infrastructure to @grafana/toolkit ( #18012 )
2019-07-19 08:13:12 -07:00
David
fb21492eae
E2E: saving a dashboard should wait for success ( #18171 )
...
- navigating right away triggered the unsaved warning on slower machines
- this change makes sure we see a success message first
2019-07-18 15:36:03 +02:00
Hugo Häggmark
a4d287d2e1
Tests: Adds end-to-end tests skeleton and basic smoke test scenario ( #16901 )
...
* Chore: Adds neccessary packages
* Wip: Initial dummy test in place
* Feature: Downloads Chromium if needed
* Fix: Adds global config object
* Refactor: Adds basic e2eScenario
* Build: Adds end to end tests to config
* Build: Changes end to end job
* Build: Adds browsers to image
* Build: Adds failing test
* Refactor: Adds first e2e-test scenario
* Fix: Ignores test output in gitignore
* Refactor: Adds compare screenshots ability
* Refactor: Removes unnecessary code
* Build: Removes jest-puppeteer
* Fix: Replaces test snapshots
* Refactor: Creates output dir if missing
* Refactor: Changes aria-labels to be more consistent
* Docs: Adds section about end to end tests
* Fix: Fixes snapshots
* Docs: Adds information about ENV variables
2019-05-08 16:50:21 +02:00