grafana/e2e
Erik Sundell db0cc24f2b
Plugin extensions: Introduce new registry for added links (#92343)
* add added component registry

* fix broken test

* add tests for usePluginComponents hook

* readd expose components

* add type assertion exceptions to betterer results

* use new addedComponent registry in legacy endpoints

* remove unused code

* cleanup

* revert test code

* remove commented code

* initial commit

* refactor sync method and hook

* fix tests

* subscribe to the correct registry

* remove old registry

* cleanup types

* add use usePluginLinks hook

* add more tests

* fix import order

* fix typo

* fix and temporarly skip failing tests

* wip

* add hook tests

* add more tests

* remove old hook

* fix versioning

* add version to all extension point ids

* remove cleanup

* remove unused imports

* revert touched file

* fix test

* test: remove hook creation

* catch init error

* send error to faro

* fix broken hook

* comment out call hook initialization

* use the right import ofr isString

* remove unused import

* remove registryState type

* pr feedback

* Update public/app/features/plugins/extensions/validators.test.tsx

Co-authored-by: Levente Balogh <balogh.levente.hu@gmail.com>

* Update public/app/features/plugins/extensions/validators.test.tsx

Co-authored-by: Levente Balogh <balogh.levente.hu@gmail.com>

* remove no longer relevant comment

* fix broken tests

* Fixed test to verify that the memotization works properly.

* simplify hooks

---------

Co-authored-by: Levente Balogh <balogh.levente.hu@gmail.com>
Co-authored-by: Marcus Andersson <marcus.andersson@grafana.com>
2024-08-30 10:09:01 +02:00
..
benchmarks Chore: consolidate e2e scripts in package.json (#74906) 2023-09-14 15:00:29 +01:00
cloud-plugins-suite Select: Revert "preserving custom value" changes (#88856) 2024-06-06 17:33:31 +01:00
cypress E2E: Add SMTP tester (#88392) 2024-06-18 14:32:19 +02:00
dashboards Live: Add dashboard E2E smoke test (#79880) 2023-12-27 13:31:09 -05:00
dashboards-suite DashboardScene: Support bodyScrolling (#91888) 2024-08-19 15:42:45 +02:00
panels-suite Datasource: Change query filtering (#84656) 2024-03-21 13:39:39 +01:00
plugin-e2e Plugin Extensions: E2E test addLink and legacy APIs (#92394) 2024-08-26 16:01:32 +02:00
scenes ImportDashboard: adjust flaky e2e test (#92705) 2024-08-29 16:21:05 -04:00
shared Chore: Remove more stuff from the e2e object (#75513) 2023-09-27 11:33:00 +01:00
smoke-tests-suite Chore: Remove some hardcoded waits from e2e tests (#75515) 2023-09-27 14:25:04 +01:00
storybook Storybook: Add basic e2e verification test (#89779) 2024-06-27 16:43:43 +01:00
test-plugins Plugin extensions: Introduce new registry for added links (#92343) 2024-08-30 10:09:01 +02:00
utils Monaco Editor: Load via ESM (#78261) 2024-02-22 12:31:40 +01:00
various-suite Chore: Fix flaky frontend e2e tests with the explore page (#90184) 2024-07-09 18:56:11 +02:00
verify/specs Chore: remove scenario wrapping in cypress tests (#74674) 2023-09-13 13:24:20 +01:00
log-reporter.js Fix: Report E2E result stack trace (#60596) 2022-12-20 20:36:18 +02:00
run-suite DashboardScene: Include scenes e2e in pr checks (#89297) 2024-06-24 17:57:50 +03:00
start-and-run-suite Revert "Chore: Wrap custom configuration in development environment check" (#70831) 2023-06-28 15:23:45 +03:00
tsconfig.json Chore: Move to Cypress 12 and decouple cypress from @grafana/e2e (#74084) 2023-09-08 16:51:59 +01:00
verify-release Update verify-release script (#58812) 2022-11-18 16:47:13 +00:00