[Discover] Unskip and improve functional doc_table tests (#82430)
This commit is contained in:
parent
7d5fb8e83a
commit
7156a575d4
|
@ -43,14 +43,11 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) {
|
|||
// and load a set of makelogs data
|
||||
await esArchiver.loadIfNeeded('logstash_functional');
|
||||
await kibanaServer.uiSettings.replace(defaultSettings);
|
||||
await PageObjects.timePicker.setDefaultAbsoluteRangeViaUiSettings();
|
||||
log.debug('discover doc table');
|
||||
await PageObjects.common.navigateToApp('discover');
|
||||
});
|
||||
|
||||
beforeEach(async function () {
|
||||
await PageObjects.timePicker.setDefaultAbsoluteRange();
|
||||
});
|
||||
|
||||
it('should show the first 50 rows by default', async function () {
|
||||
// with the default range the number of hits is ~14000
|
||||
const rows = await PageObjects.discover.getDocTableRows();
|
||||
|
@ -68,6 +65,7 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) {
|
|||
|
||||
const finalRows = await PageObjects.discover.getDocTableRows();
|
||||
expect(finalRows.length).to.be.below(initialRows.length);
|
||||
await PageObjects.timePicker.setDefaultAbsoluteRange();
|
||||
});
|
||||
|
||||
it(`should load up to ${rowsHardLimit} rows when scrolling at the end of the table`, async function () {
|
||||
|
@ -89,8 +87,7 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) {
|
|||
expect(await footer.getVisibleText()).to.have.string(rowsHardLimit);
|
||||
});
|
||||
|
||||
// FLAKY: https://github.com/elastic/kibana/issues/81632
|
||||
describe.skip('expand a document row', function () {
|
||||
describe('expand a document row', function () {
|
||||
const rowToInspect = 1;
|
||||
beforeEach(async function () {
|
||||
// close the toggle if open
|
||||
|
|
Loading…
Reference in a new issue