Josh Hunt
3e2ca29c8d
BrowseDashboards: Enable new browse dashboards UI by default ( #75822 )
...
* BrowseDashboards: Enable new browse dashboards UI by default
* update docs
* enable new e2e tests
2023-10-05 13:14:10 +03:00
Kyle Cunningham
d673862853
Transformations: Rename "Transform" tab to "Transform data" ( #75757 )
...
* Rename transform tab to transform data
2023-10-04 14:24:21 -05:00
Josh Hunt
40a41113aa
BrowseDashboards: Add (skipped) basic e2e tests to prepare for GA ( #75917 )
...
Add e2e tests for new Browse Dashboards UI
2023-10-04 09:08:43 +00:00
Zoltán Bedi
75beeeed27
E2E: Move mysql test to various suite ( #75221 )
...
* E2E: Move mysql test to various suite
* Decide command key based on platform
2023-09-29 17:14:00 +02:00
Ashley Harrison
0b77db0b74
Chore: Improve sandbox e2e test stability ( #75663 )
...
make sure the input isn't disabled
2023-09-28 18:21:15 +03: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
Esteban Beltran
5983bcec86
Sandbox: Add additional e2e tests for panel editor ( #75447 )
...
* Sandbox: Add e2e test to validate panel editors reaching out of their render space
* remove props
2023-09-27 11:34:23 +02:00
Esteban Beltran
95889b2e25
Tests: Add basic e2e tests for frontend plugin sandbox ( #70759 )
...
* Add initial e2e tests for sandboxing
* Add tests for sandbox on
* Add additional sandbox tests
* Move sandbox into various suite
* Test drone setup
* Move variable
* Update drone
* Update plugins path for e2e
* Revert drone changes
* use drone from main
* Use lib.star from main
* Move sandbox test to its own suite
* Expand methods to inject iframes
* Restore e2e script
* Add back change to script
* Update tests for trusted types
* Integrate custom plugins into grafana-server
* Echo for deubging
* add debugging message
* Expand message
* Add extra for ci
* fix path
* Improve start-server logic
* Remove duplicated logic
* Restore file deleted by mistake
* Restore file to main
p
* restore file
* Restore start script
* Update e2e/panels-suite/frontend-sandbox-panel.spec.ts
Co-authored-by: Levente Balogh <balogh.levente.hu@gmail.com >
---------
Co-authored-by: Levente Balogh <balogh.levente.hu@gmail.com >
2023-09-26 10:58:47 +02:00
Ashley Harrison
ff0642bf6e
Chore: Type improvements 🧹 ( #75271 )
...
* fix some e2e flows types
* some type fixes
* must... fix... more...
* MOAR
* MOREMOREMORE
* 1 more
2023-09-22 15:06:49 +01:00
Adela Almasan
158c669d1a
Geomap: Move tests to panels-suite ( #75023 )
2023-09-21 14:06:56 -05:00
Ashley Harrison
04775ec940
Chore: remove the e2e-flow-suite ( #75011 )
...
remove the e2e-flow-suite
2023-09-20 09:34:44 +01:00
Ashley Harrison
6b14183706
Cypress dashboard-time-zone: break chain to prevent flakiness ( #75001 )
...
break chain to prevent flakiness
2023-09-18 12:02:32 +01:00
Ashley Harrison
3fdf96d241
Chore: consolidate e2e scripts in package.json ( #74906 )
...
consolidate e2e scripts in package.json + almost fix benchmarking tests
2023-09-14 15:00:29 +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
fcdae0ca0b
Chore: move to cypress 13.1 ( #74718 )
...
* move to cypress 13.1
* update cloud-data-sources docker image
Co-authored-by: Ashley Harrison <ashley.harrison@grafana.com >
2023-09-13 11:08:43 +01:00
Brendan O'Handley
a2e2ba695e
Prometheus: Turn new auth component feature toggle on by default ( #74405 )
...
* turn auth feature toggle on by default
* fix e2e test
* fix e2e test
* fix e2e test
2023-09-11 13:12:21 -04: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
Torkel Ödegaard
97d568e60a
DashbboardScene: RowRepeaterBehavior ( #74505 )
...
* Repeating rows start
* working
* Progress
* Progress
* Update
* up scenes lib
* Update
* Progress
* restore url sync
* Progress
* Fixes and tests
* Update
* Adds tests and code to remove repeats from save model
* Update
* Fix test
2023-09-11 12:02:04 +02: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
Ashley Harrison
e2724f39d9
Time Range: Using relative time takes timezone into account ( #74013 )
...
* account for timezone when using relative times
Co-authored-by: eledobleefe <laura.fernandez@grafana.com >
Co-authored-by: Joao Silva <joao.silva@grafana.com >
Co-authored-by: L-M-K-B <48948963+L-M-K-B@users.noreply.github.com >
Co-authored-by: joshhunt <josh@trtr.co >
Co-authored-by: tskarhed <1438972+tskarhed@users.noreply.github.com >
* keep as it was originally for now
* add e2e test for relative time zone overrides
* empty commit to add coauthors
Co-authored-by: eledobleefe <laura.fernandez@grafana.com >
Co-authored-by: Joao Silva <joao.silva@grafana.com >
Co-authored-by: L-M-K-B <48948963+L-M-K-B@users.noreply.github.com >
Co-authored-by: joshhunt <josh@trtr.co >
Co-authored-by: tskarhed <1438972+tskarhed@users.noreply.github.com >
* fix types
* switch to using table panel in e2e test
* use regex for partial text match
* actually go to the dashboard...
* use include.text
* check for visibility first
* try waiting on backend request to complete
* CI driven development is fun
* make sure we're waiting for both data query calls
* open dashboard instead
* kick drone
* Revert "open dashboard instead"
This reverts commit bab9c77c4d .
* check timezone second
* refactor to avoid detached elements
---------
Co-authored-by: eledobleefe <laura.fernandez@grafana.com >
Co-authored-by: Joao Silva <joao.silva@grafana.com >
Co-authored-by: L-M-K-B <48948963+L-M-K-B@users.noreply.github.com >
Co-authored-by: joshhunt <josh@trtr.co >
Co-authored-by: tskarhed <1438972+tskarhed@users.noreply.github.com >
2023-09-04 10:38:35 +01:00
Torkel Ödegaard
74d453f056
DashboardSchema: Remove old unused legacy props style and timepicker.enable ( #73879 )
...
* DashboardScheam: Remove old unused legacy props style and timepicker.enable
* Update
* fix test
2023-08-28 12:18:17 +02:00
Ashley Harrison
45ff0b5cf6
DatePicker: Fix calendar not showing correct selected range when changing time zones ( #73273 )
...
* user essentials mob! 🔱
* user essentials mob! 🔱
lastFile:packages/grafana-ui/src/components/DateTimePickers/TimeRangePicker/CalendarBody.tsx
* user essentials mob! 🔱
lastFile:packages/grafana-ui/src/components/DateTimePickers/TimeRangePicker/CalendarBody.tsx
* user essentials mob! 🔱
* user essentials mob! 🔱
lastFile:e2e/dashboards-suite/dashboard-timepicker.spec.ts
* user essentials mob! 🔱
lastFile:e2e/dashboards-suite/dashboard-timepicker.spec.ts
* user essentials mob! 🔱
* user essentials mob! 🔱
* restore custom.ini
* run betterer + prettier
---------
Co-authored-by: joshhunt <josh@trtr.co >
Co-authored-by: Roxana Turc <anamaria-roxana.turc@grafana.com >
Co-authored-by: Tobias Skarhed <tobias.skarhed@gmail.com >
Co-authored-by: eledobleefe <laura.fernandez@grafana.com >
2023-08-23 12:57:32 +00: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
Ashley Harrison
6194d8fd8b
Nested folders: Add e2e test for new browse page ( #72590 )
...
* scaffold nested folder structure
* update structure slightly
* update comments
* Added basic scafold for Cypress test
* fix selector name, add table body selector, improve expand aria label
* skip test for now
* undo changes to cypress custom.ini
---------
Co-authored-by: Roxana Turc <anamaria-roxana.turc@grafana.com >
2023-08-02 11:28:13 +01:00
Andrej Ocenas
09c7190bfe
Flamegraph: Add nice empty state for dashboard panel ( #72583 )
2023-08-01 10:49:52 +02:00
Ivan Ortega Alba
8415dd40d7
DSPicker: Use new DS picker everywhere in Grafana ( #70609 )
2023-07-26 18:40:51 +02:00
Adam Simpson
51b199e986
AzureMonitor: revert Variable Editor region changes ( #72306 )
...
* Revert "remove regions/locations from variable editor"
This reverts commit 41dc6a8bfb .
* Revert "remove region pieces from e2e"
This reverts commit 6b1f82f14a .
* e2e: open resource picker correctly
2023-07-26 14:04:18 +00:00
Adam Simpson
722f787eaa
AzureMonitor: Fix ResourcePicker hanging ( #71886 )
...
* AzureMonitor: Fix ResourcePicker hanging
Removed location fetching for every subscription.
Fixes #70523
* fix region for multi metricnames
* fix tests
* fix e2e
* remove regions/locations from variable editor
* remove region pieces from e2e
2023-07-25 14:18:03 +00:00
Polina Boneva
1110cb4d44
Public Dashboard: Redesign modal (v2) ( #71151 )
...
* Update public/app/features/dashboard/components/ShareModal/SharePublicDashboard/ConfigPublicDashboard/SettingsBar.tsx
Co-authored-by: Juan Cabanas <juan.cabanas@grafana.com >
* revert modal styling and add specific styling to Sharing
* Update public/app/features/dashboard/components/ShareModal/SharePublicDashboard/ConfigPublicDashboard/SettingsBar.tsx
Co-authored-by: Juan Cabanas <juan.cabanas@grafana.com >
* functions > const
* put a gat between all items in email config, instead of margins for each item
* fix html semantic elements
* ad theme to class component ShareModal
* add labels
* fix failing tests; now Settings has a summary and has to be opened to be able to see the On/Off toggles
* fix dashboard-public-create test with settings dropdown
2023-07-25 13:17:39 +03:00
Ashley Harrison
9852b24d61
Chore: Upgrade prettier to v3 ( #71764 )
...
* Update dependency prettier to v3 (#71586 )
* Update dependency prettier to v3
* run prettier
* ignore prettier update in legacy select scss
* update command line arg
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Ashley Harrison <ashley.harrison@grafana.com >
* unplug prettier
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-07-17 15:58:22 +01:00
Ashley Harrison
5ca382c88a
Revert "Update dependency prettier to v3 ( #71586 )" ( #71755 )
...
This reverts commit 2e8cd1c021 .
2023-07-17 14:46:15 +01:00
renovate[bot]
2e8cd1c021
Update dependency prettier to v3 ( #71586 )
...
* Update dependency prettier to v3
* run prettier
* ignore prettier update in legacy select scss
* update command line arg
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Ashley Harrison <ashley.harrison@grafana.com >
2023-07-17 09:19:27 +01:00
Ludovic Viaud
9b143a5043
Fix e2e ( #71594 )
2023-07-13 19:58:22 +02:00
Ludovic Viaud
a762f94b87
Fix e2e ( #71562 )
...
Fix e2e
2023-07-13 15:23:59 +02:00
Esteban Beltran
7237766b69
Revert "Chore: Wrap custom configuration in development environment check" ( #70831 )
2023-06-28 15:23:45 +03:00
Esteban Beltran
8e6ec665c1
Chore: Wrap custom configuration in development environment check ( #70731 )
2023-06-28 13:41:32 +02:00
Giordano Ricci
d3450d75a4
Explore: URL migrations & improved state management ( #69692 )
...
Co-authored-by: Piotr Jamróz <pm.jamroz@gmail.com >
2023-06-21 10:06:28 +01:00
Darren Janeczek
d61af3adde
Dashboards: Data source template variable options now specify a current value using uid. ( #69259 )
...
* feat: template data source option current by uid
* fix: e2e with explicit uid for "slow-prometheus"
* revert: unrelated change
* revert: unreverted the actually related change
* chore: e2e support for testing ${variable:text}
* fix: use `:raw` instead of `:value` in e2e dashboard
2023-06-12 01:05:50 -07:00
Polina Boneva
4db6679460
[Chore] Dashboard: Tests for dashboard's add content buttons and menu ( #66233 )
...
* add tests for empty dashboard page
* add tests for AddPanelButton
* export default components
* test +Add menu in dashboard page
* use userEvent instead of firing an event on the DOM itself
* fix test to match new analytic events
2023-06-08 11:16:08 +01:00
Giordano Ricci
067bbcbe56
Explore: Refactor & centralize URL/state sync ( #66286 )
...
Co-authored-by: Piotr Jamróz <pm.jamroz@gmail.com >
2023-06-06 15:31:39 +01: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
Juan Cabanas
9890ff7c92
PublicDashboards: Audit table redesign ( #68137 )
2023-05-29 12:59:29 -03:00
Giordano Ricci
b99e9668a9
QueryRow: Make toggle actions screen-readers accessible ( #67998 )
2023-05-10 11:57:08 +01:00
Andreas Christou
0d3a78d86d
AzureMonitor: Bump credential wait time ( #68120 )
...
Bump credential wait time as 15s seems too short
2023-05-10 04:35:56 +03:00
Victor Marin
5416ec4768
Datagrid: Refactor header column delete/clear ( #67842 )
...
* refactor header column delete/clear
* fix tests, add clear option on header dropdown
* fix e2e tests
2023-05-08 19:02:20 +03:00
Torkel Ödegaard
ae1a85b5ad
Drawer: Position under nav & minor redesign ( #67824 )
...
* Drawer: Redesign WIP
* Fix double margin
* Teak pos
* align paddings
* Hide toolbar actions when drawer is open
* deprecate expandable
* Updated test
* remove expandable var
* Added clickaway
2023-05-05 17:00:33 +02:00
Andreas Christou
140f9620f5
AzureMonitor: Update Azure E2E test ( #67646 )
...
Update Azure E2E test
- Update resource names
- Update timeouts
- Add traces E2E test
2023-05-03 20:13:29 +01:00