Skip to content

Commit f9c44f5

Browse files
committed
Just trying out stuff
1 parent 0bd9abc commit f9c44f5

File tree

1 file changed

+3
-10
lines changed

1 file changed

+3
-10
lines changed

e2e/query-editor.spec.ts

Lines changed: 3 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,6 @@ import { PromOptions } from '@grafana/prometheus';
55

66
const codeEditorProvFile = 'code-editor.yml';
77

8-
test.use({
9-
featureToggles: {
10-
prometheusUsesCombobox: true,
11-
},
12-
});
13-
148
test.describe('Prometheus query editor', () => {
159
test(`should have the following components:
1610
kickstart component
@@ -234,7 +228,6 @@ test.describe('Prometheus query editor', () => {
234228
test('it navigates to the query builder with default editor type as builder', async ({
235229
readProvisionedDataSource,
236230
explorePage,
237-
page,
238231
}) => {
239232
const ds = await readProvisionedDataSource<DataSourcePluginOptionsEditorProps<PromOptions>>({
240233
fileName: 'datasources.yml',
@@ -250,9 +243,9 @@ test.describe('Prometheus query editor', () => {
250243
.getByGrafanaSelector(selectors.components.DataSource.Prometheus.queryEditor.builder.metricSelect)
251244
.focus();
252245

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();
256249

257250
await expect(
258251
explorePage.getByGrafanaSelector(selectors.components.DataSource.Prometheus.queryEditor.builder.metricSelect)

0 commit comments

Comments
 (0)