File tree 1 file changed +3
-10
lines changed
1 file changed +3
-10
lines changed Original file line number Diff line number Diff line change @@ -5,12 +5,6 @@ import { PromOptions } from '@grafana/prometheus';
5
5
6
6
const codeEditorProvFile = 'code-editor.yml' ;
7
7
8
- test . use ( {
9
- featureToggles : {
10
- prometheusUsesCombobox : true ,
11
- } ,
12
- } ) ;
13
-
14
8
test . describe ( 'Prometheus query editor' , ( ) => {
15
9
test ( `should have the following components:
16
10
kickstart component
@@ -234,7 +228,6 @@ test.describe('Prometheus query editor', () => {
234
228
test ( 'it navigates to the query builder with default editor type as builder' , async ( {
235
229
readProvisionedDataSource,
236
230
explorePage,
237
- page,
238
231
} ) => {
239
232
const ds = await readProvisionedDataSource < DataSourcePluginOptionsEditorProps < PromOptions > > ( {
240
233
fileName : 'datasources.yml' ,
@@ -250,9 +243,9 @@ test.describe('Prometheus query editor', () => {
250
243
. getByGrafanaSelector ( selectors . components . DataSource . Prometheus . queryEditor . builder . metricSelect )
251
244
. focus ( ) ;
252
245
253
- await explorePage
254
- . getByGrafanaSelector ( selectors . components . DataSource . Prometheus . queryEditor . builder . metricSelect )
255
- . isEnabled ( ) ;
246
+ expect (
247
+ explorePage . getByGrafanaSelector ( selectors . components . DataSource . Prometheus . queryEditor . builder . metricSelect )
248
+ ) . toBeEnabled ( ) ;
256
249
257
250
await expect (
258
251
explorePage . getByGrafanaSelector ( selectors . components . DataSource . Prometheus . queryEditor . builder . metricSelect )
You can’t perform that action at this time.
0 commit comments