@@ -179,7 +179,7 @@ export default function codeIntelligenceFunctionalTests({
179179 await testSubjects . click ( 'codeFindReferenceButton' ) ;
180180 await retry . tryForTime ( 5000 , async ( ) => {
181181 // Expect the find references panel show up and having highlights.
182- const highlightSpans = await find . allByCssSelector ( '.code-search-highlight ' , FIND_TIME ) ;
182+ const highlightSpans = await find . allByCssSelector ( '.codeSearch__highlight ' , FIND_TIME ) ;
183183 expect ( highlightSpans . length ) . to . greaterThan ( 0 ) ;
184184 const firstReference = highlightSpans [ 0 ] ;
185185 await firstReference . click ( ) ;
@@ -244,14 +244,14 @@ export default function codeIntelligenceFunctionalTests({
244244 // });
245245
246246 // it should goes back to controllers/user.ts
247- await browser . goBack ( ) ;
247+ // await browser.goBack();
248248
249- await retry . try ( async ( ) => {
250- const $spans = await find . allByCssSelector ( '.mtk31' , FIND_TIME ) ;
251- expect ( $spans . length ) . to . greaterThan ( 1 ) ;
252- const $userModelSpan = $spans [ 1 ] ;
253- expect ( await $userModelSpan . getVisibleText ( ) ) . to . equal ( 'UserModel' ) ;
254- } ) ;
249+ // await retry.try(async () => {
250+ // const $spans = await find.allByCssSelector('.mtk31', FIND_TIME);
251+ // expect($spans.length).to.greaterThan(1);
252+ // const $userModelSpan = $spans[1];
253+ // expect(await $userModelSpan.getVisibleText()).to.equal('UserModel');
254+ // });
255255 } ) ;
256256 } ) ;
257257 } ) ;
0 commit comments