Skip to content

Commit

Permalink
[Dataset Quality] Fix flaky serverless test (elastic#192198)
Browse files Browse the repository at this point in the history
## Summary

closes - elastic#192172

Fixes a flaky test introduced recently

1. Forgot to uncomment the after block
2. Missed to remove a code which was remove from stateful, but not in
serverless
  • Loading branch information
achyutjhunjhunwala authored Sep 5, 2024
1 parent b9c526a commit 1a8bbc5
Showing 1 changed file with 1 addition and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) {
});

after(async () => {
// await synthtrace.clean();
await synthtrace.clean();
});

describe('degraded field flyout open-close', () => {
Expand All @@ -63,10 +63,6 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) {
);

await PageObjects.datasetQuality.closeFlyout();

await testSubjects.missingOrFail(
PageObjects.datasetQuality.testSubjectSelectors.datasetQualityDetailsDegradedFieldFlyout
);
});

it('should open the flyout when navigating to the page with degradedField in URL State', async () => {
Expand Down

0 comments on commit 1a8bbc5

Please sign in to comment.