Skip to content

Commit

Permalink
[ML] Unskip Data frame analytics feature importance tests (#162601)
Browse files Browse the repository at this point in the history
  • Loading branch information
qn895 authored Jul 27, 2023
1 parent c82b679 commit a3c0914
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,9 @@ export const ClassificationDecisionPath: FC<ClassificationDecisionPathProps> = (
baseline,
}) => {
const [currentClass, setCurrentClass] = useState<string>(
getStringBasedClassName(topClasses[0].class_name)
Array.isArray(topClasses) && topClasses.length > 0
? getStringBasedClassName(topClasses[0].class_name)
: ''
);
const selectedClass = topClasses.find(
(t) => getStringBasedClassName(t.class_name) === getStringBasedClassName(currentClass)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -268,8 +268,7 @@ export default function ({ getService }: FtrProviderContext) {
});

for (const testData of testDataList) {
// FAILING ES PROMOTION: https://github.com/elastic/kibana/issues/162427
describe.skip(`${testData.suiteTitle}`, function () {
describe(`${testData.suiteTitle}`, function () {
before(async () => {
await ml.navigation.navigateToMl();
await ml.navigation.navigateToDataFrameAnalytics();
Expand Down

0 comments on commit a3c0914

Please sign in to comment.