Add e2e test for exemplars flow (#33972)

* Add e2e test for exemplars flow

* Check if data source is created

* Lets see what is going on

* Try again

* Updating the image maybe?

* Revert "Updating the image maybe?"

This reverts commit 968b44b0d9.

* Try with force

* Use electron

* Wait for new url?

* Wait?????

* Should be good now

* Revert e2e recording
This commit is contained in:
Zoltán Bedi
2021-05-13 14:17:09 +02:00
committed by GitHub
parent 72cd593194
commit 32030f3929
11 changed files with 1035 additions and 17 deletions

View File

@@ -1,5 +1,6 @@
import { Button } from '@grafana/ui';
import { css } from '@emotion/css';
import { selectors } from '@grafana/e2e-selectors';
import { Button } from '@grafana/ui';
import React from 'react';
import { ExemplarTraceIdDestination } from '../types';
import ExemplarSetting from './ExemplarSetting';
@@ -36,6 +37,7 @@ export function ExemplarsSettings({ options, onChange }: Props) {
<Button
variant="secondary"
aria-label={selectors.components.DataSource.Prometheus.configPage.exemplarsAddButton}
className={css`
margin-bottom: 10px;
`}