Julia Rechkunova 2024-10-18 10:29:55 +02:00 committed by GitHub
parent 6bb2d77b59
commit f8c4b9ad7b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 5 additions and 2 deletions

View file

@ -268,6 +268,8 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) {
it('should not show switch modal when switching to a data view while a saved search is open', async () => {
await discover.selectTextBaseLang();
await header.waitUntilLoadingHasFinished();
await discover.waitUntilSearchingHasFinished();
const testQuery = 'from logstash-* | limit 100 | drop @timestamp';
await monacoEditor.setCodeEditorValue(testQuery);
await testSubjects.click('querySubmitButton');

View file

@ -35,8 +35,7 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) {
defaultIndex: 'logstash-*',
};
// Failing: See https://github.com/elastic/kibana/issues/194305
describe.skip('discover esql view', function () {
describe('discover esql view', function () {
// see details: https://github.com/elastic/kibana/issues/188816
this.tags(['failsOnMKI']);
@ -275,6 +274,8 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) {
it('should not show switch modal when switching to a data view while a saved search is open', async () => {
await PageObjects.discover.selectTextBaseLang();
await PageObjects.header.waitUntilLoadingHasFinished();
await PageObjects.discover.waitUntilSearchingHasFinished();
const testQuery = 'from logstash-* | limit 100 | drop @timestamp';
await monacoEditor.setCodeEditorValue(testQuery);
await testSubjects.click('querySubmitButton');