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 Nov 12, 2024
1 parent efcc2ab commit 07c218d
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 07c218d

Please sign in to comment.