mirror of
https://github.com/grafana/grafana.git
synced 2025-07-29 12:22:15 +08:00
add support for screenshots in plugins.
Allow plugin creators to include screenshots of their plugin in action. Primarily for use in Grafana.net info pages.
This commit is contained in:
@ -34,6 +34,7 @@ func TestPluginScans(t *testing.T) {
|
||||
So(err, ShouldBeNil)
|
||||
So(len(Apps), ShouldBeGreaterThan, 0)
|
||||
So(Apps["app-example"].Info.Logos.Large, ShouldEqual, "public/plugins/app-example/img/logo_large.png")
|
||||
So(Apps["app-example"].Info.Screenshots[1].Path, ShouldEqual, "public/plugins/app-example/img/screenshot2.png")
|
||||
})
|
||||
|
||||
}
|
||||
|
Reference in New Issue
Block a user