grafana/e2e/test-plugins/grafana-extensionstest-app
grafana-delivery-bot[bot] 20c14c48f4
[release-12.1.2] Plugin Configs: Fix Env types (#110281)
Plugin Configs: Fix Env types (#107908)

(cherry picked from commit 21f305c6a0)

Co-authored-by: Matt Cowley <me@mattcowley.co.uk>
2025-09-05 10:17:55 +02:00
..
components
img
pages
plugins
tests
utils
.gitignore
CHANGELOG.md
README.md
constants.ts
module.tsx
package.json
plugin.json
testIds.ts
tsconfig.json
webpack.config.ts [release-12.1.2] Plugin Configs: Fix Env types (#110281) 2025-09-05 10:17:55 +02:00

README.md

Extensions test plugins

This is an app plugin containing nested app plugins that are used for testing the plugins ui extensions APIs.

Further reading:

Build

To build this plugin run yarn e2e:plugin:build.

Development

1: Install frontend dependencies: yarn install --immutable

2: Build and watch the core frontend yarn start

3: Build and watch the test plugins yarn e2e:plugin:build:dev

4: Build the backend make build-go

5: Start the Grafana e2e test server with the provisioned test plugin PORT=3000 ./scripts/grafana-server/start-server

Note that this plugin extends the @grafana/plugin-configs configs which is why it has no src directory and uses a custom webpack config to copy necessary files.

Run Playwright tests

  • yarn playwright test --project extensions-test-app