Skip to content

Commit

Permalink
[Discover] Unskip esql view tests (elastic#196677)
Browse files Browse the repository at this point in the history
- Closes elastic#194305
- Closes elastic#194425
- Closes elastic#194482

(cherry picked from commit f8c4b9a)
  • Loading branch information
jughosta committed Oct 18, 2024
1 parent e323bce commit b8486bd
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions test/functional/apps/discover/esql/_esql_view.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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');
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -274,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');
Expand Down

0 comments on commit b8486bd

Please sign in to comment.