From d3add2040b71153559c66a7dfb8b8ec2741859bf Mon Sep 17 00:00:00 2001 From: Dominik Date: Thu, 6 Jun 2024 15:49:26 +0200 Subject: [PATCH] update --- .../grafana-oncall-app-provisioning.yaml | 1 + .../initialization.test.ts | 35 ------------------- 2 files changed, 1 insertion(+), 35 deletions(-) diff --git a/dev/grafana/provisioning/plugins/grafana-oncall-app-provisioning.yaml b/dev/grafana/provisioning/plugins/grafana-oncall-app-provisioning.yaml index 47b8e1d7ee..c2a5f7048e 100644 --- a/dev/grafana/provisioning/plugins/grafana-oncall-app-provisioning.yaml +++ b/dev/grafana/provisioning/plugins/grafana-oncall-app-provisioning.yaml @@ -5,4 +5,5 @@ apps: jsonData: stackId: 5 orgId: 100 + license: OpenSource onCallApiUrl: http://oncall-dev-engine:8080 diff --git a/grafana-plugin/e2e-tests/pluginInitialization/initialization.test.ts b/grafana-plugin/e2e-tests/pluginInitialization/initialization.test.ts index 68263442b5..c0f95d0ec8 100644 --- a/grafana-plugin/e2e-tests/pluginInitialization/initialization.test.ts +++ b/grafana-plugin/e2e-tests/pluginInitialization/initialization.test.ts @@ -1,38 +1,3 @@ -/* -Scenario: User reconfigures plugin successfully -Given user goes to plugin configuration page -When user enters valid URL of OnCall Engine -And OnCall Engine is up and running -And user clicks “Test & Save” -Then user is informed about successful test -And new configuration is saved - -Scenario: User reconfigures plugin unsuccessfully -Given user goes to plugin configuration page -When user enters URL of OnCall Engine -And OnCall Engine is down or wrong URL is provided -And user clicks “Test & Save” -Then user is informed about unsuccessful test -And new configuration is not saved - -Scenario: New viewer user goes to OnCall -Given OSS viewer user has just been created -When viewer user goes to OnCall page -Then OnCall loads as usual - -Scenario: New viewer user goes to OnCall extension -Given OSS viewer user has been just created -When viewer user goes directly to OnCall plugin extension registered in Grafana -Then user sees loading page saying that his/her OnCall data is being synchronized right now -And once sync process is completed user is informed that his/her data has been synced -And OnCall extension is loaded so that user can proceed - -Scenario: Existing user goes to OnCall page or extension -Given OSS user that has already used OnCall before -When user goes to OnCall -Then OnCall loads as usual -*/ - import { test, expect } from '../fixtures'; import { OrgRole } from '../utils/constants'; import { goToGrafanaPage, goToOnCallPage } from '../utils/navigation';