mirror of
https://github.com/elastic/kibana.git
synced 2025-06-27 18:51:07 -04:00
re-enable tests. retry on fail (#72061)
This commit is contained in:
parent
ac9178ab9a
commit
260eb139f8
3 changed files with 7 additions and 3 deletions
|
@ -172,6 +172,7 @@ export const AnalysisFieldsTable: FC<{
|
||||||
return (
|
return (
|
||||||
<Fragment>
|
<Fragment>
|
||||||
<EuiFormRow
|
<EuiFormRow
|
||||||
|
data-test-subj="mlAnalyticsCreateJobWizardIncludesTable"
|
||||||
label={i18n.translate('xpack.ml.dataframe.analytics.create.includedFieldsLabel', {
|
label={i18n.translate('xpack.ml.dataframe.analytics.create.includedFieldsLabel', {
|
||||||
defaultMessage: 'Included fields',
|
defaultMessage: 'Included fields',
|
||||||
})}
|
})}
|
||||||
|
|
|
@ -6,8 +6,7 @@
|
||||||
import { FtrProviderContext } from '../../../ftr_provider_context';
|
import { FtrProviderContext } from '../../../ftr_provider_context';
|
||||||
|
|
||||||
export default function ({ loadTestFile }: FtrProviderContext) {
|
export default function ({ loadTestFile }: FtrProviderContext) {
|
||||||
// flaky tests
|
describe('data frame analytics', function () {
|
||||||
describe.skip('data frame analytics', function () {
|
|
||||||
this.tags(['mlqa', 'skipFirefox']);
|
this.tags(['mlqa', 'skipFirefox']);
|
||||||
|
|
||||||
loadTestFile(require.resolve('./outlier_detection_creation'));
|
loadTestFile(require.resolve('./outlier_detection_creation'));
|
||||||
|
|
|
@ -181,7 +181,11 @@ export function MachineLearningDataFrameAnalyticsCreationProvider(
|
||||||
},
|
},
|
||||||
|
|
||||||
async assertIncludeFieldsSelectionExists() {
|
async assertIncludeFieldsSelectionExists() {
|
||||||
await testSubjects.existOrFail('mlAnalyticsCreateJobWizardIncludesSelect', { timeout: 5000 });
|
await testSubjects.existOrFail('mlAnalyticsCreateJobWizardIncludesTable', { timeout: 8000 });
|
||||||
|
|
||||||
|
await retry.tryForTime(8000, async () => {
|
||||||
|
await testSubjects.existOrFail('mlAnalyticsCreateJobWizardIncludesSelect');
|
||||||
|
});
|
||||||
},
|
},
|
||||||
|
|
||||||
// async assertIncludedFieldsSelection(expectedSelection: string[]) {
|
// async assertIncludedFieldsSelection(expectedSelection: string[]) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue