mirror of
https://github.com/elastic/kibana.git
synced 2025-04-25 02:09:32 -04:00
[Discover] fix flaky test (#184180)
## Summary Fix https://github.com/elastic/kibana/issues/183493 Fix https://github.com/elastic/kibana/issues/183479 Flaky test runner: https://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/6079
This commit is contained in:
parent
12f35c9a31
commit
58f1c67a50
2 changed files with 4 additions and 3 deletions
|
@ -509,7 +509,9 @@ export class DiscoverPageObject extends FtrService {
|
||||||
}
|
}
|
||||||
|
|
||||||
public showsErrorCallout() {
|
public showsErrorCallout() {
|
||||||
return this.testSubjects.existOrFail('discoverErrorCalloutTitle');
|
this.retry.try(async () => {
|
||||||
|
await this.testSubjects.existOrFail('discoverErrorCalloutTitle');
|
||||||
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
public getDiscoverErrorMessage() {
|
public getDiscoverErrorMessage() {
|
||||||
|
|
|
@ -35,8 +35,7 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) {
|
||||||
defaultIndex: 'logstash-*',
|
defaultIndex: 'logstash-*',
|
||||||
};
|
};
|
||||||
|
|
||||||
// Failing: See https://github.com/elastic/kibana/issues/183493
|
describe('discover esql view', async function () {
|
||||||
describe.skip('discover esql view', async function () {
|
|
||||||
before(async () => {
|
before(async () => {
|
||||||
await kibanaServer.savedObjects.cleanStandardList();
|
await kibanaServer.savedObjects.cleanStandardList();
|
||||||
log.debug('load kibana index with default index pattern');
|
log.debug('load kibana index with default index pattern');
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue