Skip to content

Commit

Permalink
[Dataset Quality] Fix failing test (elastic#199763)
Browse files Browse the repository at this point in the history
closes elastic#198849

(cherry picked from commit 07c218d)
  • Loading branch information
mohamedhamed-ahmed committed Nov 12, 2024
1 parent 1456012 commit 5143ea8
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 5143ea8

Please sign in to comment.