[Discover] Unskip context navigation flaky tests (#188811)

- Closes https://github.com/elastic/kibana/issues/188396
This commit is contained in:
Julia Rechkunova 2024-07-23 07:56:38 +02:00 committed by GitHub
parent 6cfa2c0f15
commit 9a44464df3
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 3 additions and 4 deletions

View file

@ -36,8 +36,7 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) {
});
};
// FLAKY: https://github.com/elastic/kibana/issues/188396
describe.skip('discover - context - back navigation', function contextSize() {
describe('discover - context - back navigation', function contextSize() {
before(async () => {
await PageObjects.timePicker.setDefaultAbsoluteRangeViaUiSettings();
await kibanaServer.uiSettings.update({

View file

@ -324,9 +324,9 @@ export class DataGridService extends FtrService {
});
if (toggle) {
await toggle.scrollIntoViewIfNecessary();
await toggle.click();
await this.retry.waitFor('doc viewer to open', async () => {
await toggle!.scrollIntoViewIfNecessary();
await toggle!.click();
return this.isShowingDocViewer();
});
} else {