The open and composable observability and data visualization platform. Visualize metrics, logs, and traces from multiple sources like Prometheus, Loki, Elasticsearch, InfluxDB, Postgres and many more.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
grafana/e2e/test-plugins/grafana-extensionstest-app
Kevin Minehart f7216db6bc
Chore: bump version to 12.1.0-pre (#104468)
4 weeks ago
..
components Plugin Extensions: Clean up the deprecated APIs (#102102) 1 month ago
img
pages Plugin Extensions: Clean up the deprecated APIs (#102102) 1 month ago
plugins Plugin Extensions: Clean up the deprecated APIs (#102102) 1 month ago
tests Plugin Extensions: Clean up the deprecated APIs (#102102) 1 month ago
utils
.gitignore
CHANGELOG.md
README.md Plugin Extensions: Only load app plugins when necessary (#86624) 6 months ago
constants.ts Plugin Extensions: E2E test addLink and legacy APIs (#92394) 9 months ago
module.tsx Plugin Extensions: Clean up the deprecated APIs (#102102) 1 month ago
package.json Chore: bump version to 12.1.0-pre (#104468) 4 weeks ago
plugin.json Plugin Extensions: Clean up the deprecated APIs (#102102) 1 month ago
testIds.ts Plugin Extensions: Require meta-data to be defined in `plugin.json` during development mode (#93429) 8 months ago
tsconfig.json
webpack.config.ts

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