Skip to content

Commit

Permalink
[8.x] [Dataset Quality] Fix failing test (elastic#199763) (elastic#19…
Browse files Browse the repository at this point in the history
…9884)

# Backport

This will backport the following commits from `main` to `8.x`:
- [[Dataset Quality] Fix failing test
(elastic#199763)](elastic#199763)

<!--- Backport version: 9.4.3 -->

### Questions ?
Please refer to the [Backport tool
documentation](https://github.com/sqren/backport)

<!--BACKPORT
[{"author":{"name":"mohamedhamed-ahmed","email":"[email protected]"},"sourceCommit":{"committedDate":"2024-11-12T22:26:03Z","message":"[Dataset
Quality] Fix failing test (elastic#199763)\n\ncloses
https://github.com/elastic/kibana/issues/198849","sha":"07c218d0208db17e76a21cb9e1bc7f844ef5c609","branchLabelMapping":{"^v9.0.0$":"main","^v8.17.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","v9.0.0","backport:prev-minor","Team:obs-ux-logs"],"title":"[Dataset
Quality] Fix failing
test","number":199763,"url":"https://github.com/elastic/kibana/pull/199763","mergeCommit":{"message":"[Dataset
Quality] Fix failing test (elastic#199763)\n\ncloses
https://github.com/elastic/kibana/issues/198849","sha":"07c218d0208db17e76a21cb9e1bc7f844ef5c609"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","branchLabelMappingKey":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/199763","number":199763,"mergeCommit":{"message":"[Dataset
Quality] Fix failing test (elastic#199763)\n\ncloses
https://github.com/elastic/kibana/issues/198849","sha":"07c218d0208db17e76a21cb9e1bc7f844ef5c609"}}]}]
BACKPORT-->

Co-authored-by: mohamedhamed-ahmed <[email protected]>
  • Loading branch information
kibanamachine and mohamedhamed-ahmed authored Nov 13, 2024
1 parent 7a39e33 commit db3f6f2
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 db3f6f2

Please sign in to comment.