@@ -171,29 +171,26 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) {
171171 } ) ;
172172 } ) ;
173173
174- // FLAKY: https://github.com/elastic/kibana/issues/135914
175- describe . skip ( 'with folded/unfolded lines in request body' , ( ) => {
174+ describe ( 'with folded/unfolded lines in request body' , ( ) => {
176175 const enterRequestWithBody = async ( ) => {
177176 await PageObjects . console . enterRequest ( ) ;
178177 await PageObjects . console . pressEnter ( ) ;
179178 await PageObjects . console . enterText ( '{\n\t\t"_source": []' ) ;
180179 } ;
181180
182- it ( 'should save the state of folding/unfolding when navigating back to Console' , async ( ) => {
181+ it ( 'should restore the state of folding/unfolding when navigating back to Console' , async ( ) => {
183182 await PageObjects . console . clearTextArea ( ) ;
184183 await enterRequestWithBody ( ) ;
185184 await PageObjects . console . clickFoldWidget ( ) ;
186185 await PageObjects . common . navigateToApp ( 'home' ) ;
187186 await PageObjects . header . waitUntilLoadingHasFinished ( ) ;
188187 await PageObjects . common . navigateToApp ( 'console' ) ;
188+ await PageObjects . header . waitUntilLoadingHasFinished ( ) ;
189+ await PageObjects . console . dismissTutorial ( ) ;
189190 expect ( await PageObjects . console . hasFolds ( ) ) . to . be ( true ) ;
190191 } ) ;
191192
192- it ( 'should save the state of folding/unfolding when the page reloads' , async ( ) => {
193- // blocks the close help button for several seconds so just retry until we can click it.
194- await retry . try ( async ( ) => {
195- await PageObjects . console . collapseHelp ( ) ;
196- } ) ;
193+ it ( 'should restore the state of folding/unfolding when the page reloads' , async ( ) => {
197194 await PageObjects . console . clearTextArea ( ) ;
198195 await enterRequestWithBody ( ) ;
199196 await PageObjects . console . clickFoldWidget ( ) ;
0 commit comments