[7.x] Fix flights sample data dashboard visualization (#89460) (#89724)

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
This commit is contained in:
Christiane (Tina) Heiligers 2021-01-29 11:05:56 -07:00 committed by GitHub
parent 4a9744e428
commit 7e401830d5
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');
});
after(async function () {
log.debug('reset uiSettings');
await kibanaServer.uiSettings.replace({});
});
it('should show the first 50 rows by default', async function () {
// with the default range the number of hits is ~14000
const rows = await dataGrid.getDocTableRows();

View file

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