Skip to content

Commit

Permalink
test: Add GrafanaDatasource assert
Browse files Browse the repository at this point in the history
  • Loading branch information
Baarsgaard committed Jan 18, 2025
1 parent 3b4ae3f commit 3821453
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 2 deletions.
9 changes: 9 additions & 0 deletions tests/e2e/example-test/01-assert.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,12 @@ metadata:
name: grafana-deployment
status:
availableReplicas: 1
---
apiVersion: grafana.integreatly.org/v1beta1
kind: GrafanaDatasource
metadata:
name: grafanadatasource-sample
status:
conditions:
- type: DatasourceSynchronized
status: "True"
2 changes: 1 addition & 1 deletion tests/e2e/example-test/06-assert.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@ binaryData:
apiVersion: grafana.integreatly.org/v1beta1
kind: GrafanaDashboard
metadata:
name: grafana-dashboard-secret-envs
name: grafana-dashboard-secret-envs
2 changes: 1 addition & 1 deletion tests/e2e/example-test/07-assert.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
apiVersion: grafana.integreatly.org/v1beta1
kind: GrafanaDashboard
metadata:
name: grafana-dashboard-jsonnet-project
name: grafana-dashboard-jsonnet-project

0 comments on commit 3821453

Please sign in to comment.