Commit c75ae63 1 parent 2188013 commit c75ae63 Copy full SHA for c75ae63
File tree 1 file changed +10
-5
lines changed
x-pack/test/upgrade_assistant_integration/upgrade_assistant
1 file changed +10
-5
lines changed Original file line number Diff line number Diff line change @@ -17,9 +17,15 @@ import type {
17
17
import { FtrProviderContext } from '../../common/ftr_provider_context' ;
18
18
19
19
const getApiDeprecations = ( allDeprecations : DomainDeprecationDetails [ ] ) => {
20
- return allDeprecations . filter (
21
- ( deprecation ) => deprecation . deprecationType === 'api'
22
- ) as unknown as Array < DomainDeprecationDetails < ApiDeprecationDetails > > ;
20
+ return (
21
+ allDeprecations
22
+ . filter (
23
+ ( deprecation ) : deprecation is DomainDeprecationDetails < ApiDeprecationDetails > =>
24
+ deprecation . deprecationType === 'api'
25
+ )
26
+ // Ensure consistent sorting
27
+ . sort ( ( a , b ) => a . title . localeCompare ( b . title ) )
28
+ ) ;
23
29
} ;
24
30
25
31
export default function ( { getService } : FtrProviderContext ) {
@@ -28,8 +34,7 @@ export default function ({ getService }: FtrProviderContext) {
28
34
const retry = getService ( 'retry' ) ;
29
35
const es = getService ( 'es' ) ;
30
36
31
- // FLAKY: https://github.com/elastic/kibana/issues/199782
32
- describe . skip ( 'Kibana API Deprecations' , function ( ) {
37
+ describe ( 'Kibana API Deprecations' , function ( ) {
33
38
// bail on first error in this suite since cases sequentially depend on each other
34
39
this . bail ( true ) ;
35
40
You can’t perform that action at this time.
0 commit comments