Skip to content

Commit

Permalink
[Search] [Playground] [Bug] Fix flaky test (#198126)
Browse files Browse the repository at this point in the history
Fix Flaky FTR test. The reason for flaky issue was related to getting
state from the session
  • Loading branch information
yansavitski authored Nov 4, 2024
1 parent 76f6ec0 commit 185bbf7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,7 @@ export default function (ftrContext: FtrProviderContext) {
before(async () => {
await createConnector();
await createIndex();
await pageObjects.searchPlayground.session.setSession();
await browser.refresh();
});

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -117,11 +117,11 @@ export default function ({ getPageObjects, getService }: FtrProviderContext) {
});
});

// FLAKY: https://github.com/elastic/kibana/issues/189314
describe.skip('with existing indices', () => {
describe('with existing indices', () => {
before(async () => {
await createConnector();
await createIndex();
await pageObjects.searchPlayground.session.setSession();
await browser.refresh();
});

Expand Down

0 comments on commit 185bbf7

Please sign in to comment.