Erik Sundell
29d4f6a217
Datasource: Change query filtering ( #84656 )
...
* call filterQuery from queryrunner
* test query hide filtering
* fix more broken tests
* lint errrors
* remove redundant filterQuery call
* skip filter in variable queries
* fix broken cypress test
* change tooltip text
* fix translations
* fix comments
* do not execute query is targets are empty
* add more tests
* remove unsued import
* update translations
* revert id change
* change header text
* update comment for hide prop
* rename hide query prop
* change tooltip and introduce different toggle state text
* update tests
* update comment and regenerate types
* run extract again
* fix broken e2e test
* track event
* fix build issues
* revert changes in wire file
2024-03-21 13:39:39 +01:00
Ashley Harrison
d8e99e2bb5
Chore: Remove more stuff from the e2e
object ( #75513 )
...
* cut down the e2e object more :)
* undo changes in grafana-e2e
* couple more things to undo in grafana-e2e
2023-09-27 11:33:00 +01:00
Ashley Harrison
ba7f77f25d
Chore: remove scenario wrapping in cypress tests ( #74674 )
...
* remove scenario wrapping in cypress tests
* remove more hardcoded logins
* don't forget the various suite!
* make sure we log in for every test
* fix afterAll revert
* stability
2023-09-13 13:24:20 +01:00
Ashley Harrison
247d91be2b
Chore: remove wrapping of cy
in the e2e
object ( #74650 )
...
* remove cy. wrapping as e2e().
* make trace-view-scrolling more stable and remove waits
* improve stability more
2023-09-11 11:20:54 +01:00
Ashley Harrison
0f2f25c5d9
Chore: Move to Cypress 12 and decouple cypress from @grafana/e2e
( #74084 )
...
* update drone to use cypress 12 image
* upgrade cypress to 12 in core
* cypress config actually valid
* update @grafana/e2e imports and add lint rule
* ignore grafana-e2e from betterer now it's deprecated
* fix remaining type errors
* fix failing tests
* remove unnecessary tsconfig
* remove unnecessary comment
* update enterprise suite commands to work
* add cypress config to CODEOWNERS
* export setTimeRange in utils
* remove @grafana/e2e from core deps
* try running the command through yarn
* move CMD to scripts
* Update cloud-data-sources e2e image
* Update paths
---------
Co-authored-by: Andreas Christou <andreas.christou@grafana.com>
2023-09-08 16:51:59 +01:00
Giordano Ricci
b99e9668a9
QueryRow: Make toggle actions screen-readers accessible ( #67998 )
2023-05-10 11:57:08 +01:00
Ashley Harrison
53186c14a4
Chore: Improve some types ( #64675 )
...
* some type fixes
* few more
* more type fixes
* fix the majority of (window as any) calls
* don't make new variable for event
* few more
* MOAR
2023-03-14 09:51:44 +00:00
Ashley Harrison
7005b7bf8a
Navigation: Update e2e tests to work with topnav ( #60910 )
...
* turn on topnav toggle in e2e tests
* fix variable e2e tests
* fix remaining tests + remove some hardcoded waits
* speculative fixes
* wait for error to disappear
* use new selector, turn toggle back off
2023-01-04 14:59:53 +00:00
Ashley Harrison
6fcb2cd307
remove exported test globals from test/lib/common ( #50256 )
2022-06-06 15:38:37 +01:00
Josh Hunt
3c6e0e8ef8
Chore: ESlint import order ( #44959 )
...
* Add and configure eslint-plugin-import
* Fix the lint:ts npm command
* Autofix + prettier all the files
* Manually fix remaining files
* Move jquery code in jest-setup to external file to safely reorder imports
* Resolve issue caused by circular dependencies within Prometheus
* Update .betterer.results
* Fix missing // @ts-ignore
* ignore iconBundle.ts
* Fix missing // @ts-ignore
2022-04-22 14:33:13 +01:00
Torkel Ödegaard
0f6ae272e9
E2E: Fix running any suite locally ( #42210 )
...
* e2e: Fix running any suite locally
* Fixed issue with testFiles filter when specifying suite name
* unrelated
* fixed import paths to shared
* Moving dashboards to root
2021-11-24 15:16:51 +01:00