mirror of
https://github.com/elastic/kibana.git
synced 2025-06-27 10:40:07 -04:00
## Summary disables features under Application for serverless-essentials. ### Checklist Check the PR satisfies following conditions. Reviewers should verify this PR satisfies this list as well. - [x] The PR description includes the appropriate Release Notes section, and the correct `release_note:*` label is applied per the [guidelines](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process) --------- Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
32 lines
1.1 KiB
TypeScript
32 lines
1.1 KiB
TypeScript
/*
|
|
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
|
|
* or more contributor license agreements. Licensed under the Elastic License
|
|
* 2.0; you may not use this file except in compliance with the Elastic License
|
|
* 2.0.
|
|
*/
|
|
|
|
import { FtrProviderContext } from '../ftr_provider_context';
|
|
|
|
export function SvlObltNavigationServiceProvider({
|
|
getService,
|
|
getPageObjects,
|
|
}: FtrProviderContext) {
|
|
const retry = getService('retry');
|
|
const testSubjects = getService('testSubjects');
|
|
const PageObjects = getPageObjects(['common', 'header']);
|
|
|
|
return {
|
|
async navigateToLandingPage() {
|
|
await retry.tryForTime(60 * 1000, async () => {
|
|
await PageObjects.common.navigateToApp('landingPage');
|
|
await testSubjects.existOrFail('obltOnboardingHomeTitle', { timeout: 2000 });
|
|
});
|
|
},
|
|
async navigateToDiscoverPage() {
|
|
await retry.tryForTime(60 * 1000, async () => {
|
|
await PageObjects.common.navigateToApp('discover');
|
|
await testSubjects.exists('discoverQueryTotalHits', { timeout: 20_000 });
|
|
});
|
|
},
|
|
};
|
|
}
|