mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 09:48:58 -04:00
# Backport This will backport the following commits from `main` to `9.0`: - [[ES|QL] Small changes to help potential flakiness (#216982)](https://github.com/elastic/kibana/pull/216982) <!--- Backport version: 9.6.6 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sorenlouv/backport) <!--BACKPORT [{"author":{"name":"Stratoula Kalafateli","email":"efstratia.kalafateli@elastic.co"},"sourceCommit":{"committedDate":"2025-04-03T14:00:32Z","message":"[ES|QL] Small changes to help potential flakiness (#216982)\n\n## Summary\n\nCloses https://github.com/elastic/kibana/issues/216398\n\nAnother small change to ensure flakiness. 100 times run\n\n### Checklist\n- [ ] [Unit or functional\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\nwere updated or added to match the most common scenarios","sha":"eaf467f53c6bdfdfeba7249aaf03576aacf975af","branchLabelMapping":{"^v9.1.0$":"main","^v8.19.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","v9.0.0","Feature:ES|QL","backport:version","v9.1.0","v8.19.0"],"title":"[ES|QL] Small changes to help potential flakiness","number":216982,"url":"https://github.com/elastic/kibana/pull/216982","mergeCommit":{"message":"[ES|QL] Small changes to help potential flakiness (#216982)\n\n## Summary\n\nCloses https://github.com/elastic/kibana/issues/216398\n\nAnother small change to ensure flakiness. 100 times run\n\n### Checklist\n- [ ] [Unit or functional\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\nwere updated or added to match the most common scenarios","sha":"eaf467f53c6bdfdfeba7249aaf03576aacf975af"}},"sourceBranch":"main","suggestedTargetBranches":["9.0"],"targetPullRequestStates":[{"branch":"9.0","label":"v9.0.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v9.1.0","branchLabelMappingKey":"^v9.1.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/216982","number":216982,"mergeCommit":{"message":"[ES|QL] Small changes to help potential flakiness (#216982)\n\n## Summary\n\nCloses https://github.com/elastic/kibana/issues/216398\n\nAnother small change to ensure flakiness. 100 times run\n\n### Checklist\n- [ ] [Unit or functional\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\nwere updated or added to match the most common scenarios","sha":"eaf467f53c6bdfdfeba7249aaf03576aacf975af"}},{"branch":"8.x","label":"v8.19.0","branchLabelMappingKey":"^v8.19.0$","isSourceBranch":false,"url":"https://github.com/elastic/kibana/pull/217027","number":217027,"state":"OPEN"}]}] BACKPORT-->
This commit is contained in:
parent
cfb4879f63
commit
66e6f03b52
1 changed files with 11 additions and 1 deletions
|
@ -14,7 +14,12 @@ import { FtrProviderContext } from '../../../ftr_provider_context';
|
|||
export default function ({ getService, getPageObjects }: FtrProviderContext) {
|
||||
const retry = getService('retry');
|
||||
const kibanaServer = getService('kibanaServer');
|
||||
const { dashboard, timePicker, common } = getPageObjects(['dashboard', 'timePicker', 'common']);
|
||||
const { dashboard, timePicker, common, header } = getPageObjects([
|
||||
'dashboard',
|
||||
'timePicker',
|
||||
'common',
|
||||
'header',
|
||||
]);
|
||||
const testSubjects = getService('testSubjects');
|
||||
const esql = getService('esql');
|
||||
const dashboardAddPanel = getService('dashboardAddPanel');
|
||||
|
@ -85,6 +90,11 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) {
|
|||
// Check Lens editor has been updated accordingly
|
||||
const editorValue = await esql.getEsqlEditorQuery();
|
||||
expect(editorValue).to.contain('FROM logstash* | STATS COUNT(*) BY ?field');
|
||||
|
||||
// run the query to make sure the chart is updated
|
||||
await testSubjects.click('ESQLEditor-run-query-button');
|
||||
await dashboard.waitForRenderComplete();
|
||||
await header.waitUntilLoadingHasFinished();
|
||||
});
|
||||
|
||||
it('should update the Lens chart accordingly', async () => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue