@@ -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();
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user