mirror of https://github.com/grafana/grafana
Partner data sources smoke tests (#98446)
* Add smoke tests for remaining partner data sources * Fix test names and run them * Use text check for gcmpull/97914/head^2
parent
937e8dea2d
commit
deab83a958
@ -0,0 +1,8 @@ |
||||
import { test, expect } from '@grafana/plugin-e2e'; |
||||
|
||||
test('Smoke test: decoupled frontend plugin loads', async ({ createDataSourceConfigPage, page }) => { |
||||
await createDataSourceConfigPage({ type: 'grafana-azure-monitor-datasource' }); |
||||
|
||||
await expect(await page.getByText('Type: Azure Monitor', { exact: true })).toBeVisible(); |
||||
await expect(await page.getByRole('heading', { name: 'Authentication', exact: true })).toBeVisible(); |
||||
}); |
@ -0,0 +1,8 @@ |
||||
import { test, expect } from '@grafana/plugin-e2e'; |
||||
|
||||
test('Smoke test: decoupled frontend plugin loads', async ({ createDataSourceConfigPage, page }) => { |
||||
await createDataSourceConfigPage({ type: 'stackdriver' }); |
||||
|
||||
await expect(await page.getByText('Type: Google Cloud Monitoring', { exact: true })).toBeVisible(); |
||||
await expect(await page.getByText('Google JWT File', { exact: true })).toBeVisible(); |
||||
}); |
@ -0,0 +1,8 @@ |
||||
import { test, expect } from '@grafana/plugin-e2e'; |
||||
|
||||
test('Smoke test: decoupled frontend plugin loads', async ({ createDataSourceConfigPage, page }) => { |
||||
await createDataSourceConfigPage({ type: 'graphite' }); |
||||
|
||||
await expect(await page.getByText('Type: Graphite', { exact: true })).toBeVisible(); |
||||
await expect(await page.getByRole('heading', { name: 'HTTP', exact: true })).toBeVisible(); |
||||
}); |
@ -0,0 +1,8 @@ |
||||
import { test, expect } from '@grafana/plugin-e2e'; |
||||
|
||||
test('Smoke test: decoupled frontend plugin loads', async ({ createDataSourceConfigPage, page }) => { |
||||
await createDataSourceConfigPage({ type: 'influxdb' }); |
||||
|
||||
await expect(await page.getByText('Type: InfluxDB', { exact: true })).toBeVisible(); |
||||
await expect(await page.getByRole('heading', { name: 'HTTP', exact: true })).toBeVisible(); |
||||
}); |
@ -0,0 +1,8 @@ |
||||
import { test, expect } from '@grafana/plugin-e2e'; |
||||
|
||||
test('Smoke test: decoupled frontend plugin loads', async ({ createDataSourceConfigPage, page }) => { |
||||
await createDataSourceConfigPage({ type: 'opentsdb' }); |
||||
|
||||
await expect(await page.getByText('Type: OpenTSDB', { exact: true })).toBeVisible(); |
||||
await expect(await page.getByRole('heading', { name: 'HTTP', exact: true })).toBeVisible(); |
||||
}); |
Loading…
Reference in new issue