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
Jev Forsberg 88c62cd828
Chore: Manually update versions and update `grafana-test-datasource` to "workspace:*" (#99999)
6 months ago
..
components Plugin Extensions: E2E test addLink and legacy APIs (#92394) 11 months ago
img E2E: Add support for building test plugins (#91873) 11 months ago
pages Plugin Extensions: Require meta-data to be defined in `plugin.json` during development mode (#93429) 10 months ago
plugins Plugin Extensions: Require meta-data to be defined in `plugin.json` during development mode (#93429) 10 months ago
tests Plugin Extensions: Require meta-data to be defined in `plugin.json` during development mode (#93429) 10 months ago
utils E2E: Add support for building test plugins (#91873) 11 months ago
.gitignore E2E: Add support for building test plugins (#91873) 11 months ago
CHANGELOG.md E2E: Add support for building test plugins (#91873) 11 months ago
README.md Plugin Extensions: Only load app plugins when necessary (#86624) 8 months ago
constants.ts Plugin Extensions: E2E test addLink and legacy APIs (#92394) 11 months ago
module.tsx E2E: Add support for building test plugins (#91873) 11 months ago
package.json Chore: Manually update versions and update `grafana-test-datasource` to "workspace:*" (#99999) 6 months ago
plugin.json Plugin Extensions: Require meta-data to be defined in `plugin.json` during development mode (#93429) 10 months ago
testIds.ts Plugin Extensions: Require meta-data to be defined in `plugin.json` during development mode (#93429) 10 months ago
tsconfig.json E2E: Add support for building test plugins (#91873) 11 months ago
webpack.config.ts E2E: Add support for building test plugins (#91873) 11 months ago

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