Fix flights sample data dashboard visualization (#89460)

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
This commit is contained in:
Christiane (Tina) Heiligers 2021-01-29 07:10:12 -07:00 committed by GitHub
parent e8e8f78b39
commit a29d4d3b1b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 2 deletions

View file

@ -33,6 +33,11 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) {
await PageObjects.common.navigateToApp('discover'); await PageObjects.common.navigateToApp('discover');
}); });
after(async function () {
log.debug('reset uiSettings');
await kibanaServer.uiSettings.replace({});
});
it('should show the first 50 rows by default', async function () { it('should show the first 50 rows by default', async function () {
// with the default range the number of hits is ~14000 // with the default range the number of hits is ~14000
const rows = await dataGrid.getDocTableRows(); const rows = await dataGrid.getDocTableRows();

View file

@ -20,8 +20,7 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) {
const dashboardExpect = getService('dashboardExpect'); const dashboardExpect = getService('dashboardExpect');
const PageObjects = getPageObjects(['common', 'header', 'home', 'dashboard', 'timePicker']); const PageObjects = getPageObjects(['common', 'header', 'home', 'dashboard', 'timePicker']);
// Failing: See https://github.com/elastic/kibana/issues/89379 describe('sample data', function describeIndexTests() {
describe.skip('sample data', function describeIndexTests() {
before(async () => { before(async () => {
await security.testUser.setRoles(['kibana_admin', 'kibana_sample_admin']); await security.testUser.setRoles(['kibana_admin', 'kibana_sample_admin']);
await PageObjects.common.navigateToUrl('home', '/tutorial_directory/sampleData', { await PageObjects.common.navigateToUrl('home', '/tutorial_directory/sampleData', {