Chore: Remove flaky test (#85645)

remove flaky test
This commit is contained in:
Erik Sundell 2024-04-05 14:29:32 +02:00 committed by GitHub
parent b1fc0861f1
commit 6716276463
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -6,10 +6,3 @@ test('query data response should be OK when query is valid', async ({ explorePag
await explorePage.datasource.set('gdev-testdata');
await expect(explorePage.runQuery(), formatExpectError('Expected Explore query to execute successfully')).toBeOK();
});
test('query data response should not be OK when query is invalid', async ({ explorePage }) => {
await explorePage.datasource.set('gdev-testdata');
const queryEditorRow = await explorePage.getQueryEditorRow('A');
await queryEditorRow.getByLabel('Labels').fill('invalid-label-format');
await expect(explorePage.runQuery(), formatExpectError('Expected Explore query to fail')).not.toBeOK();
});