You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
|[panel-flot](examples/panel-flot)| Shows how to use the [Flot](http://www.flotcharts.org) plotting library in a panel plugin. |
23
22
|[panel-frame-select](examples/panel-frame-select)| Shows how to update panel options with values from a data query response. |
24
-
|[panel-plotly](examples/panel-plotly)| Shows how to use the [Plotly](https://plotly.com/javascript/) graphing library in a panel plugin. |
25
-
|[panel-scatterplot](examples/panel-scatterplot)| Shows how to use D3 and SVG to create a scatter plot panel. |
26
-
|[panel-visx](examples/panel-visx)| Shows how to use [visx](https://github.com/airbnb/visx) to create a time series graph. |
27
23
|[panel-basic](examples/panel-basic)| Shows how to build a panel plugin that uses the time series graph from `@grafana/ui` to read and update the dashboard time range. |
28
24
|[panel-datalinks](examples/panel-datalinks)| Shows how to build a panel plugin that uses the datalinks functionality of Grafana. |
29
25
@@ -42,11 +38,9 @@ This repository contains example plugins to showcase different use cases.
42
38
43
39
## Integration tests
44
40
45
-
Some of the examples in this repository contain integration tests that make use of [`@grafana/e2e`](https://npmjs.com/package/@grafana/e2e) package. These tests can be run individually by navigating to the example plugin and running one of the following commands:
41
+
Some of the examples in this repository contain integration tests that make use of [`@grafana/plugin-e2e`](https://npmjs.com/package/@grafana/plugin-e2e) package. These tests can be run individually by navigating to the example plugin and running one of the following commands:
46
42
47
-
-`npm run e2e` - run integration tests
48
-
-`npm run e2e:open` - open cypress ui and run integration tests
49
-
-`npm run e2e:update` - run integration tests and update any screenshots
43
+
-`npm run e2e` - run Playwright e2e tests
50
44
51
45
### Testing against latest versions of Grafana
52
46
@@ -98,17 +92,17 @@ jobs:
98
92
- uses: actions/checkout@v3
99
93
- uses: actions/setup-node@v3
100
94
with:
101
-
node-version: "20"
95
+
node-version: '20'
102
96
- name: Install dependencies
103
97
run: npm install
104
98
- name: Build plugin
105
99
run: npm run build
106
100
- name: Compatibility check
107
101
uses: grafana/plugin-actions/is-compatible@v1
108
102
with:
109
-
module: "./src/module.ts"
110
-
comment-pr: "yes"
111
-
fail-if-incompatible: "no"
103
+
module: './src/module.ts'
104
+
comment-pr: 'yes'
105
+
fail-if-incompatible: 'no'
112
106
```
113
107
114
108
This runs a compatibility check for the latest release of Grafana plugins API in your project every time a new push or pull request is open. If it finds an error you will see a message indicating you have an incompatibility.
0 commit comments