From 011c656d1874beb1d096d1757845297e6a812e50 Mon Sep 17 00:00:00 2001 From: Quentin MOUTY Date: Fri, 27 Sep 2024 13:55:28 +0200 Subject: [PATCH] Change e2e test --- tests/configEditor.spec.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/configEditor.spec.ts b/tests/configEditor.spec.ts index b74eca8..3e96148 100644 --- a/tests/configEditor.spec.ts +++ b/tests/configEditor.spec.ts @@ -1,5 +1,4 @@ import { test, expect } from '@grafana/plugin-e2e'; -import { MyDataSourceOptions, MySecureJsonData } from '../src/types'; test('"Save & test" should be successful when configuration is valid', async ({ createDataSourceConfigPage, @@ -28,6 +27,7 @@ test('"Save & test" should display success alert box when config is valid', asyn configPage.datasource.uid, configPage.datasource.id.toString() )}/health`; + console.log("healthCheckPath: " +healthCheckPath) await expect(configPage.saveAndTest({ path: healthCheckPath })).not.toBeOK(); - await expect(configPage).toHaveAlert('error'); + expect(configPage).toHaveAlert('error'); });