Scott Lepper
dff7a79071
Dashboard templating e2e - fix flaky timezone ( #104906 )
...
Dashboard templating e2e - fix flaky timezone
2025-05-06 12:58:56 -04:00
Sergej-Vlasov
4648ba396b
DashboardScenePage: Correct slug in self referencing data links ( #100048 )
...
* switch to useLayoutEffect so queries run after url correction
* add comment
* suparate useEffects to avoid update on slug change
* add url correction for missing slug
* account for slug change during dashboard rename
* simplify fix
* add e2e test for data link without slug
* remove old comment
* remove newly added path from useEffect dependencies
2025-04-11 09:25:21 +01:00
Torkel Ödegaard
927ce79dcf
Dashboard: Variable selection and editing ( #103451 )
...
* Variable selection
* Update
* fix
* Update
* Updates
* update
* Update
2025-04-09 14:27:35 +02:00
Ashley Harrison
38aee2dfa2
Internationalisation: More automatic markup ( #103203 )
...
* easy changes
* couple of tweaks + translations
* update e2e tests
* kick CI
2025-04-02 10:03:12 +01:00
Oscar Kilhed
01b57f412f
Dashboards: WeekStart is now of type WeekStart | undefined instead of string ( #101123 )
...
* change weektype from string to WeekStart | undefined
* Change to WeekStart in more places, fix lint
* change in more places
* More weekstart changes
* fix snapshot, update betterer
* keep weekstart as '' in test dashboards to make sure it doesn't break old dashboards
2025-02-24 11:35:55 +01:00
jackyin
6496705120
Dashboards: Remove default empty string from variable create view ( #98922 )
...
* default empty string
* optimize
2025-02-03 13:55:41 +00:00
Dominik Prokop
51b4ac50aa
Panel inspect: Fix inspect keyboard shortcut when grafana served from subpath ( #99366 )
...
* Panel inspect: Fix inspect keyboard shortcut when grafana served from a subpath
* Add e2e test
2025-01-22 13:25:10 +01:00
Juan Cabanas
c2333e3bc0
ShareDrawer: Enable by default ( #97259 )
2024-12-10 12:52:18 -03:00
renovate[bot]
70c21a2e4d
Update scenes to v5.23.1 ( #95951 )
...
* Update scenes to v5.23.1
* Fix e2e tests
* Fix unit tests
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Bogdan Matei <bogdan.matei@grafana.com >
2024-11-06 19:20:27 +02:00
owensmallwood
97de44b0c2
Dashboard Sharing: Skips flaky e2e test for dashboard sharing ( #94507 )
...
skips flaky e2e test for dashboard sharing
2024-10-10 00:50:54 +03:00
renovate[bot]
1545a58d3c
Update dependency @grafana/scenes to v5.18.2 ( #94321 )
...
* Update dependency @grafana/scenes to v5.18.2
* fix e2e test
* update e2e test
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Ashley Harrison <ashley.harrison@grafana.com >
2024-10-07 16:04:20 +01:00
renovate[bot]
573ba9be18
Update dependency @grafana/scenes to v5.16.2 ( #94082 )
...
* Update dependency @grafana/scenes to v5.16.2
* fix e2e test
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Ashley Harrison <ashley.harrison@grafana.com >
2024-10-02 10:58:24 +01:00
Joao Silva
a45662bf2d
Revert "Restore Dashboards: Add e2e tests (again) ( #93214 )" ( #94003 )
2024-09-30 14:26:16 +01:00
Ivan Ortega Alba
7bca69849f
Dashboards: Enable scenes by default ( #93818 )
...
* Mark Scenes feature toggles as GA
* Move old arch e2e to a new folder
* Run E2E on scenes by default
* Upgrade e2e-selectors to ensure the tests in Playwright works
2024-09-30 10:49:02 +01:00
Joao Silva
42f1fcaf2c
Restore Dashboards: Add e2e tests (again) ( #93214 )
2024-09-30 10:44:15 +01:00
Ashley Harrison
a54308138f
Navigation: Remove bodyScrolling toggle and make it default ( #93652 )
...
* remove bodyScrolling toggle and make it default
* fix e2e tests
2024-09-24 13:23:18 +01:00
Joao Silva
20f7e11987
Restore Dashboards: Revert e2e tests ( #93026 )
2024-09-06 11:18:49 +01:00
Joao Silva
b20017cf8c
Restore Dashboards: Add e2e tests ( #92514 )
2024-09-04 15:47:15 +01:00
Torkel Ödegaard
43dba8c3f9
DashboardScene: Support bodyScrolling ( #91888 )
...
* Progress
* Fix dashboards pane
* almost working
* add hook to get scopesDashboardsScene state
* check whether it's enabled when considering opened state
* add height to container
* Update
* revert change
* Make it work when bodyScrolling is disabled
* Last tweaks
* Update scenes
* Updating
* Fix
* fix tests
* fix lint issues
* fix lint issues
---------
Co-authored-by: Ashley Harrison <ashley.harrison@grafana.com >
2024-08-19 15:42:45 +02:00
Ashley Harrison
7d8afd9578
Tab: Improve accessible name ( #89602 )
...
* replace aria-label selector with data-testid
* fix unit tests
* fix e2e selectors
* fix last unit test
* fix e2e tests
* fix casing
* fix e2e test
* fix casing
2024-06-24 17:48:26 +01:00
Ashley Harrison
06c30ee165
Chore: Migrate more SCSS styles ( #88780 )
...
* remove animations mixins
* move drop and drop-element to angular file
* migrate submenu scss
2024-06-10 16:10:54 +01:00
Tobias Skarhed
06304894a1
Dashboard: Keyboard and mouse panel shortcuts improvement ( #87317 )
...
* Add custom attention state to dashboard
* Add attention state to DashboardGrid
* Remove old functionality
* Add attention state to keybindingSrv
* Create PanelAttentionService
* Add PanelAttentionService with scenes support
* Remove unused code
* Use viz panel key instead of VizPanel
* Add type assertion
* Add e2e test
* Update comments
* Use panel id for non-scenes use case
* Support undefined service use case
* Memoize singleton call
* Debounce mouseover
* Set panelAttention with appEvents
* Use AppEvents for Scenes
* Remove panelAttentionSrv
* Wait in e2e to handle debounce
* Move subscription to KeybindingSrv
* Remove imports and reset keyboardShortcuts from main
* Fix on* event handlers
2024-05-29 09:11:23 +02:00
Ashley Harrison
4b5b738646
Time Zones: Fix relative time when using UTC timezone ( #85637 )
...
add UTC case to e2e test + let UTC pass through to moment.tz
2024-04-09 09:54:57 +01:00
Timur Olzhabayev
e9db9106c1
Chore: Disable angular support by default ( #84738 )
...
* Flipping angular support to disabled by default
2024-03-22 17:09:53 +01:00
Zoltán Bedi
a4fe7f39ea
E2E: Rewrite mysql tests to playwright ( #83424 )
...
* E2E: Rewrite mysql tests to playwright
* Fix lint
* Add more selectors and address comments
* Scope locators when locating text
* Don't run it 20 times
* Update new-datasource-variable to assert mysql
2024-03-19 23:07:48 +01:00
Gilles De Mey
8765c48389
Alerting: Remove legacy alerting ( #83671 )
...
Removes legacy alerting, so long and thanks for all the fish! 🐟
---------
Co-authored-by: Matthew Jacobson <matthew.jacobson@grafana.com >
Co-authored-by: Sonia Aguilar <soniaAguilarPeiron@users.noreply.github.com >
Co-authored-by: Armand Grillet <armandgrillet@users.noreply.github.com >
Co-authored-by: William Wernert <rwwiv@users.noreply.github.com >
Co-authored-by: Yuri Tseretyan <yuriy.tseretyan@grafana.com >
2024-03-14 15:36:35 +01:00
Josh Hunt
183aa09eeb
Dashboards: Fix scroll position not being restored when leaving panel edit ( #83787 )
...
* Dashboards: Fix scroll position not being restored when leaving panel edit view
* remove mock from tests
* remove console log
* Remove my debugging stuff, and don't render grid if width is 0
* remove old comment (but retain old, probably unneeded css)
* rename ref
* fix it not actually working anymore!!!
* add e2e tests
* jsonnet, i guess
2024-03-06 13:57:11 +00:00
Ivan Ortega Alba
35e96d6b04
Settings: Consistent footer actions across edit views ( #82048 )
2024-02-08 11:50:53 +02:00
Torkel Ödegaard
e08700c1b5
Dashboard: New EmbeddedDashboard runtime component ( #78916 )
...
* Embedding dashboards exploratino
* Update
* Update
* Added e2e test
* Update
* initial state, and onStateChange, only explore panel menu action and other fixes and tests
* fix e2e spec
* Fix url
* fixing test
2024-01-25 07:32:07 +01:00
Ivan Ortega Alba
3b401d0d4d
CustomVariable: Be able to edit them using scenes ( #80193 )
...
---------
Co-authored-by: Alexandra Vargas <alexa1866@gmail.com >
2024-01-17 19:14:01 +02:00
Ezequiel Victorero
25ff4baa76
UI: New share button and toolbar reorganize ( #77563 )
2024-01-08 10:42:24 -03:00
Todd Treece
b6d95889e1
Live: Add dashboard E2E smoke test ( #79880 )
2023-12-27 13:31:09 -05:00
renovate[bot]
9ad26e4f39
Update dependency @grafana/scenes to v1.20.0 ( #77261 )
...
* Update dependency @grafana/scenes to v1.20.0
* update e2e test
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Ashley Harrison <ashley.harrison@grafana.com >
2023-10-27 11:33:13 +01:00
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
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
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
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
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
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
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
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
Ivan Ortega Alba
8415dd40d7
DSPicker: Use new DS picker everywhere in Grafana ( #70609 )
2023-07-26 18:40:51 +02: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
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
Juan Cabanas
9890ff7c92
PublicDashboards: Audit table redesign ( #68137 )
2023-05-29 12:59:29 -03:00
Ashley Harrison
4abe0249ba
Chore: Clean up old navigation ( #66287 )
...
* remove code outside of the topnav feature flag
* delete NavBar folder
* remove topnav toggle from backend
* restructure AppChrome folder
* fix utils mock
* fix applinks tests
* remove tests since they're covered in e2e
* fix 1 of the approotpage tests
* Fix another dashboardpage test
* remove reverse portalling + test for plugins using deprecated onNavChanged method
* kick drone
* handle correlations
2023-04-14 09:43:11 +01:00