Skip to content

Commit

Permalink
analytics test
Browse files Browse the repository at this point in the history
  • Loading branch information
nreese committed Nov 22, 2024
1 parent 5cf0301 commit 6a0a7ec
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
2 changes: 1 addition & 1 deletion test/functional/apps/dashboard/group5/embed_mode.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ export default function ({
const screenshot = getService('screenshots');
const log = getService('log');

describe.only('embed mode', () => {
describe('embed mode', () => {
/*
* Note: The baseline images used in all of the screenshot tests in this test suite were taken directly from the CI environment
* in order to overcome a known issue with the pixel density of fonts being significantly different when running locally versus
Expand Down
9 changes: 6 additions & 3 deletions test/functional/apps/kibana_overview/_analytics.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,15 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) {
const kibanaServer = getService('kibanaServer');
const PageObjects = getPageObjects(['common', 'header']);

// Fails in chrome 128+: See https://github.com/elastic/kibana/issues/192509
describe.skip('overview page - Analytics apps', function describeIndexTests() {
describe('overview page - Analytics apps', function describeIndexTests() {
before(async () => {
await esArchiver.load('test/functional/fixtures/es_archiver/logstash_functional');
await kibanaServer.importExport.load(
'test/functional/fixtures/kbn_archiver/kibana_sample_data_flights_index_pattern'
);
});

this.beforeEach(async () => {
await PageObjects.common.navigateToUrl('kibana_overview', '', { useActualUrl: true });
await PageObjects.header.waitUntilLoadingHasFinished();
});
Expand All @@ -35,10 +37,11 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) {
);
});

const apps = ['dashboards', 'discover', 'canvas', 'maps', 'ml'];
const apps = ['dashboards', 'discover', 'maps', 'ml'];

describe('Analytics apps cards', function () {
this.tags('skipFIPS');

it('should display ', async () => {
const kbnOverviewAppsCards = await find.allByCssSelector('.kbnOverviewApps__item');
expect(kbnOverviewAppsCards.length).to.be(apps.length);
Expand Down

0 comments on commit 6a0a7ec

Please sign in to comment.