mirror of
https://github.com/grafana/grafana.git
synced 2024-11-24 09:50:29 -06:00
Alerting: re-enable recording rule editor test (#60639)
This commit is contained in:
parent
f3f043e097
commit
cb1ca92419
@ -38,6 +38,8 @@ jest.mock('app/features/query/components/QueryEditorRow', () => ({
|
|||||||
|
|
||||||
jest.spyOn(config, 'getAllDataSources');
|
jest.spyOn(config, 'getAllDataSources');
|
||||||
|
|
||||||
|
jest.setTimeout(60 * 1000);
|
||||||
|
|
||||||
const mocks = {
|
const mocks = {
|
||||||
getAllDataSources: jest.mocked(config.getAllDataSources),
|
getAllDataSources: jest.mocked(config.getAllDataSources),
|
||||||
searchFolders: jest.mocked(searchFolders),
|
searchFolders: jest.mocked(searchFolders),
|
||||||
@ -61,7 +63,7 @@ describe('RuleEditor recording rules', () => {
|
|||||||
});
|
});
|
||||||
|
|
||||||
disableRBAC();
|
disableRBAC();
|
||||||
it.skip('can create a new cloud recording rule', async () => {
|
it('can create a new cloud recording rule', async () => {
|
||||||
const dataSources = {
|
const dataSources = {
|
||||||
default: mockDataSource(
|
default: mockDataSource(
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user