mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 17:59:23 -04:00
Fix flights sample data dashboard visualization (#89460)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
This commit is contained in:
parent
e8e8f78b39
commit
a29d4d3b1b
2 changed files with 6 additions and 2 deletions
|
@ -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();
|
||||||
|
|
|
@ -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', {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue