Skip to content

Commit b1f33c4

Browse files
mibragimovMuhammad Ibragimov
andauthored
[Console] Unskip flaky test (#136195)
* [Console] Unskip flaky test * Wait until loading finishes Co-authored-by: Muhammad Ibragimov <[email protected]>
1 parent 974c286 commit b1f33c4

File tree

1 file changed

+5
-8
lines changed

1 file changed

+5
-8
lines changed

test/functional/apps/console/_console.ts

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -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

Comments
 (0)