Skip to content

Commit

Permalink
[Dataset Quality] Fix failing test (elastic#199763)
Browse files Browse the repository at this point in the history
  • Loading branch information
mohamedhamed-ahmed authored and CAWilson94 committed Nov 18, 2024
1 parent 2831b58 commit f78925d
Showing 1 changed file with 5 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -816,13 +816,12 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) {
expandedDegradedField: 'cloud.project.id',
});

const applyButton = await testSubjects.find(
'datasetQualityIncreaseFieldMappingLimitButtonButton'
);

await applyButton.click();

await retry.tryForTime(5000, async () => {
const applyButton = await testSubjects.find(
'datasetQualityIncreaseFieldMappingLimitButtonButton'
);
await applyButton.click();

// Should display the error callout
await testSubjects.existOrFail('datasetQualityDetailsNewFieldLimitErrorCallout');
});
Expand Down

0 comments on commit f78925d

Please sign in to comment.