Alex Khomenko
7f1b2ef205
Select: Add data-testid to Input ( #87105 )
...
* Select: Add custom input component
* Forward data-testid
* Add input selector
* Props check
2024-04-30 14:04:58 +03:00
Matias Chomicki
c9593531ef
Loki query builder: force click in e2e test ( #82051 )
2024-02-09 20:48:10 +02:00
Brendan O'Handley
a9f4ffab5d
Prometheus: Migrate from aria-label to data-testid for selectors ( #78554 )
...
* migrate from aria-label to data-testid for selectors
* fix e2e tests with shared components
* fix e2e tests with more shared components
* pass data-testid to SelectBase component
* pass data-testid to value container and traverse the dom to access the input in e2e
2023-12-26 13:43:06 -06:00
Laura Fernández
e422a92eae
RadioButton: Make description appear in a Tooltip component ( #78010 )
2023-11-27 13:54:07 +01:00
Ashley Harrison
e82e1593d8
Chore: Remove some hardcoded waits from e2e tests ( #75515 )
...
remove some hardcoded waits
2023-09-27 14:25:04 +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
Sven Grossmann
a403027608
Loki: Add backend healthcheck ( #74330 )
...
* add loki healthcheck
* remove `testDatasource` call
* remove unused error check
* change success message
* improve error messages
2023-09-05 08:59:13 +02:00
Matias Chomicki
7c098c59fd
Loki: Migrate HTTP settings to new components ( #72831 )
...
* Loki: migrate data source http settings
* Remove unused export
* Update e2e tests
* Update unit test
2023-08-14 14:42:14 +02:00
Ivana Huckova
7bb0ff7055
Loki: Introduce $__auto
range variable for metric queries ( #72690 )
...
* Loki: Add interpolation to backend
* Loki: Replace default variable with in frontend
* Loki: Update docs in query builder fro __auto
* Loki: Update test for change default __auto
* Loki: Remove and from suggestions as should be used
* Update docs
* Update pkg/tsdb/loki/parse_query.go
* Fix backend lint
* Fix lint and test
* Update
* Update docs/sources/datasources/loki/template-variables/index.md
Co-authored-by: lwandz13 <126723338+lwandz13@users.noreply.github.com>
* Update public/app/plugins/datasource/loki/querybuilder/operationUtils.ts
Co-authored-by: Matias Chomicki <matyax@gmail.com>
---------
Co-authored-by: lwandz13 <126723338+lwandz13@users.noreply.github.com>
Co-authored-by: Matias Chomicki <matyax@gmail.com>
2023-08-03 16:27:23 +02:00
Sven Grossmann
b11c264df3
Loki: Fix e2e flakiness ( #69441 )
...
fix loki e2e test flakiness by waiting for requests to finish
2023-06-02 12:35:11 +02:00
Matias Chomicki
d3a1faad1a
Loki Config: Add missing section header + minor improvements ( #66216 )
...
* Loki config: add missing section title to max lines
* Loki config: minor improvements to datasource test messages
* Chore: remove new line
* Loki: further improve error messages
* Alerting Settings: Add missing tooltip
* Update packages/grafana-ui/src/components/DataSourceSettings/AlertingSettings.tsx
* Update alerting label and tooltip
* Update packages/grafana-ui/src/components/DataSourceSettings/AlertingSettings.tsx
Co-authored-by: brendamuir <100768211+brendamuir@users.noreply.github.com>
* Alerting settings: Increase label width
* Loki config: update success message
---------
Co-authored-by: brendamuir <100768211+brendamuir@users.noreply.github.com>
2023-04-14 12:39:54 +03:00
Gareth Dawson
94372f5f23
Loki: Remove raw query toggle ( #59125 )
...
* set default query expression
* always show raw query
* remove raw query title
* remove test for raw query toggle
* remove raw query toggle
* remove default expression
* hide raw query preview if empty
* remove e2e test for raw query toggle
* update test name
2022-11-23 16:07:59 +00:00
Gareth Dawson
2338660a62
Loki: Add more assertions to loki-query-builder.spec.ts ( #56044 )
...
* Add more assertions to loki-query-builder.spec.ts
* Update assertions in loki-query-builder.spec.ts
2022-09-30 14:27:48 +01:00
Ivana Huckova
c0ecdf6783
Loki: Redesign and improve query patterns ( #55097 )
...
* WIP
* WIP
* Query patterns: Redesign and improve feature
* Remove duplicated pattern
* Remove empty line
* Refactor
* Add tests
* Update docs and e2e test
* Update public/app/plugins/datasource/loki/querybuilder/LokiQueryModeller.ts
Co-authored-by: Matias Chomicki <matyax@gmail.com>
* Update public/app/plugins/datasource/loki/querybuilder/LokiQueryModeller.ts
Co-authored-by: Matias Chomicki <matyax@gmail.com>
* Update public/app/plugins/datasource/loki/querybuilder/LokiQueryModeller.ts
Co-authored-by: Matias Chomicki <matyax@gmail.com>
* Use capitalize
* Refactor to use QueryPatternsCard component
* Update public/app/plugins/datasource/loki/querybuilder/LokiQueryModeller.ts
Co-authored-by: Matias Chomicki <matyax@gmail.com>
* Update feature tracking for v2
* QueryPatternsCard: Remove unnecessary key
* Update naming for card
* Mock reportInteraction in tests
Co-authored-by: Matias Chomicki <matyax@gmail.com>
2022-09-26 14:03:13 +02:00
Ivana Huckova
8813cbfb62
Loki: Update copy for missing label filter error message ( #53449 )
...
* Loki: Update copy for missing label filter
* Update
2022-08-11 17:57:10 +02:00
Ivana Huckova
60454192b7
Loki: Add e2e test for query builder ( #51314 )
...
* Loki: Add e2e test for query builder
* Update
* Update test
* Update test
* Update test
* Update test
* Add more checks in test
* Update betterer
* Update betterer
2022-06-29 11:04:27 +02:00